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
dd1f9a39
Commit
dd1f9a39
authored
Jul 24, 2008
by
Adam Petaccia
Committed by
Alexandre Julliard
Jul 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipSetEmpty.
parent
8a9438d5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
region.c
dlls/gdiplus/region.c
+9
-4
region.c
dlls/gdiplus/tests/region.c
+3
-0
No files found.
dlls/gdiplus/region.c
View file @
dd1f9a39
...
...
@@ -304,12 +304,17 @@ GpStatus WINGDIPAPI GdipIsInfiniteRegion(GpRegion *region, GpGraphics *graphics,
GpStatus
WINGDIPAPI
GdipSetEmpty
(
GpRegion
*
region
)
{
static
int
calls
;
GpStatus
stat
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
TRACE
(
"%p
\n
"
,
region
);
return
NotImplemented
;
if
(
!
region
)
return
InvalidParameter
;
delete_element
(
&
region
->
node
);
stat
=
init_region
(
region
,
RegionDataEmptyRect
);
return
stat
;
}
GpStatus
WINGDIPAPI
GdipSetInfinite
(
GpRegion
*
region
)
...
...
dlls/gdiplus/tests/region.c
View file @
dd1f9a39
...
...
@@ -82,7 +82,10 @@ todo_wine
expect_dword
(
buf
+
4
,
RGNDATA_INFINITE_RECT
);
status
=
GdipSetEmpty
(
region
);
}
ok
(
status
==
Ok
,
"status %08x
\n
"
,
status
);
todo_wine
{
status
=
GdipGetRegionDataSize
(
region
,
&
needed
);
ok
(
status
==
Ok
,
"status %08x
\n
"
,
status
);
expect
(
20
,
needed
);
...
...
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