Skip to content

Commit

Permalink
[quartz] initialize do_reflect field correctly for pattern draws
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Vukicevic authored and Vladimir Vukicevic committed Oct 7, 2008
1 parent 8cf399b commit 4ae37a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cairo-quartz-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,6 @@ SurfacePatternDrawFunc (void *ainfo, CGContextRef context)
/* Then unflip the Y-axis again, and draw the image above the point. */
CGContextScaleCTM (context, 1, -1);
CGContextDrawImage (context, info->imageBounds, info->image);

}
}

Expand Down Expand Up @@ -956,8 +955,8 @@ _cairo_quartz_cairo_repeating_surface_pattern_to_quartz (cairo_quartz_surface_t
* image surface that it's backed by.
*/
info->image = image;

info->imageBounds = CGRectMake (0, 0, extents.width, extents.height);
info->do_reflect = FALSE;

pbounds.origin.x = 0;
pbounds.origin.y = 0;
Expand Down

0 comments on commit 4ae37a9

Please sign in to comment.