mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement create_similar_draw_target
This commit is contained in:
parent
4c73e4bb3f
commit
0a3c6637bb
1 changed files with 2 additions and 2 deletions
|
@ -241,10 +241,10 @@ impl GenericDrawTarget for raqote::DrawTarget {
|
||||||
}
|
}
|
||||||
fn create_similar_draw_target(
|
fn create_similar_draw_target(
|
||||||
&self,
|
&self,
|
||||||
_size: &Size2D<i32>,
|
size: &Size2D<i32>,
|
||||||
_format: SurfaceFormat,
|
_format: SurfaceFormat,
|
||||||
) -> Box<dyn GenericDrawTarget> {
|
) -> Box<dyn GenericDrawTarget> {
|
||||||
unimplemented!();
|
Box::new(raqote::DrawTarget::new(size.width, size.height))
|
||||||
}
|
}
|
||||||
fn create_source_surface_from_data(
|
fn create_source_surface_from_data(
|
||||||
&self,
|
&self,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue