Commit 2697b74d authored by Haoyang Chen's avatar Haoyang Chen Committed by Alexandre Julliard

gdiplus: Fix texture brush rotation.

parent 535cf25f
......@@ -1374,7 +1374,7 @@ static GpStatus brush_fill_pixels(GpGraphics *graphics, GpBrush *brush,
{
GpPointF point;
point.X = draw_points[0].X + x * x_dx + y * y_dx;
point.Y = draw_points[0].Y + y * x_dy + y * y_dy;
point.Y = draw_points[0].Y + x * x_dy + y * y_dy;
argb_pixels[x + y*cdwStride] = resample_bitmap_pixel(
&src_area, fill->bitmap_bits, bitmap->width, bitmap->height,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment