Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0914f626
Commit
0914f626
authored
Aug 31, 2017
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Account for gdi transform in brush_fill_pixels.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6c7c511a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
graphics.c
dlls/gdiplus/graphics.c
+5
-5
No files found.
dlls/gdiplus/graphics.c
View file @
0914f626
...
...
@@ -1169,8 +1169,8 @@ static GpStatus brush_fill_pixels(GpGraphics *graphics, GpBrush *brush,
/* Transform the points to a co-ordinate space where X is the point's
* position in the gradient, 0.0 being the start point and 1.0 the
* end point. */
stat
=
GdipTransformP
oints
(
graphics
,
CoordinateSpaceWorld
,
CoordinateSpace
Device
,
draw_points
,
3
);
stat
=
gdip_transform_p
oints
(
graphics
,
CoordinateSpaceWorld
,
WineCoordinateSpaceGdi
Device
,
draw_points
,
3
);
if
(
stat
==
Ok
)
{
...
...
@@ -1230,8 +1230,8 @@ static GpStatus brush_fill_pixels(GpGraphics *graphics, GpBrush *brush,
draw_points
[
2
].
Y
=
fill_area
->
Y
+
1
;
/* Transform the points to the co-ordinate space of the bitmap. */
stat
=
GdipTransformP
oints
(
graphics
,
CoordinateSpaceWorld
,
CoordinateSpace
Device
,
draw_points
,
3
);
stat
=
gdip_transform_p
oints
(
graphics
,
CoordinateSpaceWorld
,
WineCoordinateSpaceGdi
Device
,
draw_points
,
3
);
if
(
stat
==
Ok
)
{
...
...
@@ -1361,7 +1361,7 @@ static GpStatus brush_fill_pixels(GpGraphics *graphics, GpBrush *brush,
if
(
stat
!=
Ok
)
return
stat
;
stat
=
get_graphics_transform
(
graphics
,
CoordinateSpace
Device
,
stat
=
get_graphics_transform
(
graphics
,
WineCoordinateSpaceGdi
Device
,
CoordinateSpaceWorld
,
&
world_to_device
);
if
(
stat
==
Ok
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment