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
88168d4b
Commit
88168d4b
authored
Oct 20, 2016
by
Vincent Povirk
Committed by
Alexandre Julliard
Oct 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipIsOutlineVisiblePathPoint.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ced2a82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
4 deletions
+36
-4
graphicspath.c
dlls/gdiplus/graphicspath.c
+36
-4
No files found.
dlls/gdiplus/graphicspath.c
View file @
88168d4b
...
...
@@ -1581,17 +1581,49 @@ GpStatus WINGDIPAPI GdipIsOutlineVisiblePathPointI(GpPath* path, INT x, INT y,
GpStatus
WINGDIPAPI
GdipIsOutlineVisiblePathPoint
(
GpPath
*
path
,
REAL
x
,
REAL
y
,
GpPen
*
pen
,
GpGraphics
*
graphics
,
BOOL
*
result
)
{
static
int
calls
;
GpStatus
stat
;
GpPath
*
wide_path
;
GpMatrix
*
transform
=
NULL
;
TRACE
(
"(%p,%0.2f,%0.2f,%p,%p,%p)
\n
"
,
path
,
x
,
y
,
pen
,
graphics
,
result
);
if
(
!
path
||
!
pen
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
stat
=
GdipClonePath
(
path
,
&
wide_path
);
return
NotImplemented
;
if
(
stat
!=
Ok
)
return
stat
;
if
(
pen
->
unit
==
UnitPixel
&&
graphics
!=
NULL
)
{
stat
=
GdipCreateMatrix
(
&
transform
);
if
(
stat
==
Ok
)
stat
=
get_graphics_transform
(
graphics
,
CoordinateSpaceDevice
,
CoordinateSpaceWorld
,
transform
);
}
if
(
stat
==
Ok
)
stat
=
GdipWidenPath
(
wide_path
,
pen
,
transform
,
1
.
0
);
if
(
pen
->
unit
==
UnitPixel
&&
graphics
!=
NULL
)
{
if
(
stat
==
Ok
)
stat
=
GdipInvertMatrix
(
transform
);
if
(
stat
==
Ok
)
stat
=
GdipTransformPath
(
wide_path
,
transform
);
}
if
(
stat
==
Ok
)
stat
=
GdipIsVisiblePathPoint
(
wide_path
,
x
,
y
,
graphics
,
result
);
GdipDeleteMatrix
(
transform
);
GdipDeletePath
(
wide_path
);
return
stat
;
}
GpStatus
WINGDIPAPI
GdipIsVisiblePathPointI
(
GpPath
*
path
,
INT
x
,
INT
y
,
GpGraphics
*
graphics
,
BOOL
*
result
)
...
...
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