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
0c777a7d
Commit
0c777a7d
authored
Sep 12, 2023
by
Jeff Smith
Committed by
Alexandre Julliard
Sep 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: GdipIsVisiblePathPoint is not affected by world transform.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=38823
parent
c9f2f1c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
graphicspath.c
dlls/gdiplus/graphicspath.c
+1
-1
graphicspath.c
dlls/gdiplus/tests/graphicspath.c
+12
-0
No files found.
dlls/gdiplus/graphicspath.c
View file @
0c777a7d
...
...
@@ -1793,7 +1793,7 @@ GpStatus WINGDIPAPI GdipIsVisiblePathPoint(GpPath* path, REAL x, REAL y, GpGraph
if
(
status
!=
Ok
)
return
status
;
status
=
GdipGetRegionHRgn
(
region
,
graphics
,
&
hrgn
);
status
=
GdipGetRegionHRgn
(
region
,
NULL
,
&
hrgn
);
if
(
status
!=
Ok
){
GdipDeleteRegion
(
region
);
return
status
;
...
...
dlls/gdiplus/tests/graphicspath.c
View file @
0c777a7d
...
...
@@ -1865,6 +1865,18 @@ static void test_isvisible(void)
status
=
GdipIsVisiblePathPoint
(
path
,
0
.
0
,
0
.
0
,
graphics
,
&
result
);
expect
(
Ok
,
status
);
expect
(
TRUE
,
result
);
/* not affected by world transform */
status
=
GdipScaleWorldTransform
(
graphics
,
2
.
0
,
2
.
0
,
MatrixOrderPrepend
);
expect
(
Ok
,
status
);
result
=
FALSE
;
status
=
GdipIsVisiblePathPoint
(
path
,
9
.
0
,
9
.
0
,
graphics
,
&
result
);
expect
(
Ok
,
status
);
expect
(
TRUE
,
result
);
result
=
TRUE
;
status
=
GdipIsVisiblePathPoint
(
path
,
11
.
0
,
11
.
0
,
graphics
,
&
result
);
expect
(
Ok
,
status
);
expect
(
FALSE
,
result
);
GdipResetWorldTransform
(
graphics
);
GdipDeletePath
(
path
);
GdipDeleteGraphics
(
graphics
);
...
...
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