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
d215b474
Commit
d215b474
authored
Aug 04, 2008
by
Adam Petaccia
Committed by
Alexandre Julliard
Aug 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipCreateRegionRect.
parent
af74f4d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
region.c
dlls/gdiplus/region.c
+22
-4
No files found.
dlls/gdiplus/region.c
View file @
d215b474
...
...
@@ -332,12 +332,30 @@ GpStatus WINGDIPAPI GdipCreateRegionPath(GpPath *path, GpRegion **region)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateRegionRect
(
GDIPCONST
GpRectF
*
rect
,
GpRegion
**
region
)
GpStatus
WINGDIPAPI
GdipCreateRegionRect
(
GDIPCONST
GpRectF
*
rect
,
GpRegion
**
region
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
rect
,
region
)
;
GpStatus
stat
;
*
region
=
NULL
;
return
NotImplemented
;
TRACE
(
"%p, %p
\n
"
,
rect
,
region
);
if
(
!
(
rect
&&
region
))
return
InvalidParameter
;
*
region
=
GdipAlloc
(
sizeof
(
GpRegion
));
stat
=
init_region
(
*
region
,
RegionDataRect
);
if
(
stat
!=
Ok
)
{
GdipDeleteRegion
(
*
region
);
return
stat
;
}
(
*
region
)
->
node
.
elementdata
.
rect
.
X
=
rect
->
X
;
(
*
region
)
->
node
.
elementdata
.
rect
.
Y
=
rect
->
Y
;
(
*
region
)
->
node
.
elementdata
.
rect
.
Width
=
rect
->
Width
;
(
*
region
)
->
node
.
elementdata
.
rect
.
Height
=
rect
->
Height
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipCreateRegionRectI
(
GDIPCONST
GpRect
*
rect
,
GpRegion
**
region
)
...
...
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