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
9f0edc5e
Commit
9f0edc5e
authored
Feb 03, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipFillRegion.
parent
929aadf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
graphics.c
dlls/gdiplus/graphics.c
+23
-2
No files found.
dlls/gdiplus/graphics.c
View file @
9f0edc5e
...
...
@@ -2375,18 +2375,39 @@ GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics *graphics, GpBrush *brush, GD
return
ret
;
}
/*****************************************************************************
* GdipFillRegion [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipFillRegion
(
GpGraphics
*
graphics
,
GpBrush
*
brush
,
GpRegion
*
region
)
{
INT
save_state
;
GpStatus
status
;
HRGN
hrgn
;
TRACE
(
"(%p, %p, %p)
\n
"
,
graphics
,
brush
,
region
);
if
(
!
(
graphics
&&
brush
&&
region
))
return
InvalidParameter
;
if
(
graphics
->
busy
)
return
ObjectBusy
;
FIXME
(
"(%p, %p, %p): stub
\n
"
,
graphics
,
brush
,
region
);
status
=
GdipGetRegionHRgn
(
region
,
graphics
,
&
hrgn
);
if
(
status
!=
Ok
)
return
status
;
return
NotImplemented
;
save_state
=
SaveDC
(
graphics
->
hdc
);
EndPath
(
graphics
->
hdc
);
SelectObject
(
graphics
->
hdc
,
GetStockObject
(
NULL_PEN
));
FillRgn
(
graphics
->
hdc
,
hrgn
,
brush
->
gdibrush
);
RestoreDC
(
graphics
->
hdc
,
save_state
);
DeleteObject
(
hrgn
);
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipFlush
(
GpGraphics
*
graphics
,
GpFlushIntention
intention
)
...
...
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