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
726253d7
Commit
726253d7
authored
Apr 30, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipGetPathWorldBoundsI.
parent
d93062f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphicspath.c
dlls/gdiplus/graphicspath.c
+18
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
726253d7
...
...
@@ -347,7 +347,7 @@
@ stdcall GdipGetPathPointsI(ptr ptr long)
@ stdcall GdipGetPathTypes(ptr ptr long)
@ stdcall GdipGetPathWorldBounds(ptr ptr ptr ptr)
@ st
ub GdipGetPathWorldBoundsI
@ st
dcall GdipGetPathWorldBoundsI(ptr ptr ptr ptr)
@ stdcall GdipGetPenBrushFill(ptr ptr)
@ stdcall GdipGetPenColor(ptr ptr)
@ stub GdipGetPenCompoundArray
...
...
dlls/gdiplus/graphicspath.c
View file @
726253d7
...
...
@@ -623,6 +623,24 @@ GpStatus WINGDIPAPI GdipGetPathWorldBounds(GpPath* path, GpRectF* bounds,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPathWorldBoundsI
(
GpPath
*
path
,
GpRect
*
bounds
,
GDIPCONST
GpMatrix
*
matrix
,
GDIPCONST
GpPen
*
pen
)
{
GpStatus
ret
;
GpRectF
boundsF
;
ret
=
GdipGetPathWorldBounds
(
path
,
&
boundsF
,
matrix
,
pen
);
if
(
ret
==
Ok
){
bounds
->
X
=
roundr
(
boundsF
.
X
);
bounds
->
Y
=
roundr
(
boundsF
.
Y
);
bounds
->
Width
=
roundr
(
boundsF
.
Width
);
bounds
->
Height
=
roundr
(
boundsF
.
Height
);
}
return
ret
;
}
GpStatus
WINGDIPAPI
GdipGetPointCount
(
GpPath
*
path
,
INT
*
count
)
{
if
(
!
path
)
...
...
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