diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-07-07 05:42:07 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-07-07 05:42:07 -0600 |
commit | ae01e97efa31a180374dc0fd623ff03a650f7878 (patch) | |
tree | 0bf739efae95b054dc2be1fb998338de4efd826a /components/canvas_traits/lib.rs | |
parent | 8b9f7d7764611ab0e6c81fe884f68fd274441c3d (diff) | |
parent | 3500af37d0817ac6ca22b09db0cb3c8b39c6226f (diff) | |
download | servo-ae01e97efa31a180374dc0fd623ff03a650f7878.tar.gz servo-ae01e97efa31a180374dc0fd623ff03a650f7878.zip |
Auto merge of #6487 - pcwalton:background-tiling, r=glennw
gfx: Use a pattern instead of tiling images manually.
r? @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6487)
<!-- Reviewable:end -->
Diffstat (limited to 'components/canvas_traits/lib.rs')
-rw-r--r-- | components/canvas_traits/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs index 6f5e73bb2c1..132b4b86a8a 100644 --- a/components/canvas_traits/lib.rs +++ b/components/canvas_traits/lib.rs @@ -284,7 +284,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())) } } } |