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
bb9c1878
Commit
bb9c1878
authored
Apr 15, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Apr 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Correct the coordinate transform for non-rectangular parallelograms.
Apparently matrices in gdiplus don't work the way I think they do.
parent
7791f02f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
graphics.c
dlls/gdiplus/graphics.c
+4
-4
No files found.
dlls/gdiplus/graphics.c
View file @
bb9c1878
...
...
@@ -2030,11 +2030,11 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
}
m11
=
(
ptf
[
1
].
X
-
ptf
[
0
].
X
)
/
srcwidth
;
m
12
=
(
ptf
[
2
].
X
-
ptf
[
0
].
X
)
/
srcheight
;
mdx
=
ptf
[
0
].
X
-
m11
*
srcx
-
m
12
*
srcy
;
m
21
=
(
ptf
[
1
].
Y
-
ptf
[
0
].
Y
)
/
srcwidth
;
m
21
=
(
ptf
[
2
].
X
-
ptf
[
0
].
X
)
/
srcheight
;
mdx
=
ptf
[
0
].
X
-
m11
*
srcx
-
m
21
*
srcy
;
m
12
=
(
ptf
[
1
].
Y
-
ptf
[
0
].
Y
)
/
srcwidth
;
m22
=
(
ptf
[
2
].
Y
-
ptf
[
0
].
Y
)
/
srcheight
;
mdy
=
ptf
[
0
].
Y
-
m
21
*
srcx
-
m22
*
srcy
;
mdy
=
ptf
[
0
].
Y
-
m
12
*
srcx
-
m22
*
srcy
;
stat
=
GdipCreateMatrix2
(
m11
,
m12
,
m21
,
m22
,
mdx
,
mdy
,
&
dst_to_src
);
if
(
stat
!=
Ok
)
return
stat
;
...
...
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