Skip to content

Conversation

@nicoburns
Copy link
Contributor

The ability to record drawing calls and play them back.

Comment on lines +32 to +39
pub enum RecordedPaint {
/// Solid color brush.
Solid(Color),
/// Gradient brush.
Gradient(Gradient),
/// Image brush.
Image(ResourceId),
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be implemented with peniko::Brush<ResourceId>

Signed-off-by: Nico Burns <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants