pub trait ClipPainter {
// Required method
fn paint(&mut self, painter: &Painter, clip: &ClipPaint<'_>);
}Expand description
How an application draws its clips’ content: a video’s thumbnails, an audio waveform, a data plot. The timeline draws a clip’s box, its selection and its trimming handles; the painter what is inside, clipped to the clip.