gfx: Use a pattern instead of tiling images manually.

This commit is contained in:
Patrick Walton 2015-06-26 14:39:59 -07:00
parent a3821bf240
commit 3500af37d0
7 changed files with 77 additions and 40 deletions

View file

@ -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()))
}
}
}