Skip to content

Commit ce3e020

Browse files
committed
Playback WIP
1 parent 47c317d commit ce3e020

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/anyrender/src/recording.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ use peniko::{BlendMode, Blob, BrushRef, Color, Fill, Font, Gradient, Style, Styl
66

77
const DEFAULT_TOLERANCE: f64 = 0.1;
88

9+
pub trait Drawable {
10+
fn draw(&self, scene: &mut impl Scene);
11+
}
12+
913
#[derive(Clone)]
1014
pub struct ResourceId(pub u64);
1115

0 commit comments

Comments
 (0)