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
12f1ed2b
Commit
12f1ed2b
authored
Jul 11, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Accept a transformation matrix in GdipFlattenPath.
parent
cbfc79aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
graphicspath.c
dlls/gdiplus/graphicspath.c
+7
-5
No files found.
dlls/gdiplus/graphicspath.c
View file @
12f1ed2b
...
...
@@ -1189,20 +1189,22 @@ GpStatus WINGDIPAPI GdipFlattenPath(GpPath *path, GpMatrix* matrix, REAL flatnes
GpPointF
pt
;
INT
i
=
1
;
INT
startidx
=
0
;
GpStatus
stat
;
TRACE
(
"(%p, %p, %.2f)
\n
"
,
path
,
matrix
,
flatness
);
if
(
!
path
)
return
InvalidParameter
;
if
(
matrix
){
WARN
(
"transformation not supported yet!
\n
"
);
return
NotImplemented
;
}
if
(
path
->
pathdata
.
Count
==
0
)
return
Ok
;
if
(
matrix
){
stat
=
GdipTransformPath
(
path
,
matrix
);
if
(
stat
!=
Ok
)
return
stat
;
}
pt
=
path
->
pathdata
.
Points
[
0
];
if
(
!
init_path_list
(
&
list
,
pt
.
X
,
pt
.
Y
))
return
OutOfMemory
;
...
...
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