Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2e086998
Commit
2e086998
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 GdipSetInfinite.
parent
dd1f9a39
Hide 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 @
2e086998
...
...
@@ -319,12 +319,17 @@ GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *region)
GpStatus
WINGDIPAPI
GdipSetInfinite
(
GpRegion
*
region
)
{
static
int
calls
;
GpStatus
stat
;
if
(
!
(
calls
++
)
)
FIXME
(
"not implemented
\n
"
)
;
if
(
!
region
)
return
InvalidParameter
;
return
NotImplemented
;
TRACE
(
"%p"
,
region
);
delete_element
(
&
region
->
node
);
stat
=
init_region
(
region
,
RegionDataInfiniteRect
);
return
stat
;
}
GpStatus
WINGDIPAPI
GdipTransformRegion
(
GpRegion
*
region
,
GpMatrix
*
matrix
)
...
...
dlls/gdiplus/tests/region.c
View file @
2e086998
...
...
@@ -97,10 +97,13 @@ todo_wine
expect_magic
((
DWORD
*
)(
buf
+
2
));
expect_dword
(
buf
+
3
,
0
);
expect_dword
(
buf
+
4
,
RGNDATA_EMPTY_RECT
);
}
status
=
GdipSetInfinite
(
region
);
ok
(
status
==
Ok
,
"status %08x
\n
"
,
status
);
status
=
GdipGetRegionDataSize
(
region
,
&
needed
);
todo_wine
{
ok
(
status
==
Ok
,
"status %08x
\n
"
,
status
);
expect
(
20
,
needed
);
status
=
GdipGetRegionData
(
region
,
(
BYTE
*
)
buf
,
sizeof
(
buf
),
&
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