Implement DrawTarget::snapshot()

This commit is contained in:
pylbrecht 2019-10-11 17:05:40 +02:00
parent 772f2bc2ee
commit fa2de68919

View file

@ -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,