Navigation Menu

Skip to content

Commit

Permalink
Implement DrawTarget::snapshot()
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Oct 11, 2019
1 parent 772f2bc commit fa2de68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/canvas/raqote_backend.rs
Expand Up @@ -357,7 +357,7 @@ impl GenericDrawTarget for raqote::DrawTarget {
self.set_transform(matrix);
}
fn snapshot(&self) -> SourceSurface {
unimplemented!();
SourceSurface::Raqote(self.snapshot_data_owned())
}
fn stroke(
&mut self,
Expand Down

0 comments on commit fa2de68

Please sign in to comment.