mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
gfx: Use a pattern instead of tiling images manually.
This commit is contained in:
parent
a3821bf240
commit
3500af37d0
7 changed files with 77 additions and 40 deletions
|
@ -261,7 +261,8 @@ impl FillOrStrokeStyle {
|
|||
Pattern::Surface(SurfacePattern::new(
|
||||
source_surface.azure_source_surface,
|
||||
surface_style.repeat_x,
|
||||
surface_style.repeat_y))
|
||||
surface_style.repeat_y,
|
||||
&Matrix2D::identity()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue