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
bcfe4e7e
Commit
bcfe4e7e
authored
Feb 02, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipGetClipBounds/GdipGetClipBoundsI.
parent
5bc54ed9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
graphics.c
dlls/gdiplus/graphics.c
+26
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
bcfe4e7e
...
...
@@ -245,8 +245,8 @@
@ stdcall GdipGetCellAscent(ptr long ptr)
@ stdcall GdipGetCellDescent(ptr long ptr)
@ stdcall GdipGetClip(ptr ptr)
@ st
ub GdipGetClipBounds
@ st
ub GdipGetClipBoundsI
@ st
dcall GdipGetClipBounds(ptr ptr)
@ st
dcall GdipGetClipBoundsI(ptr ptr)
@ stdcall GdipGetCompositingMode(ptr ptr)
@ stdcall GdipGetCompositingQuality(ptr ptr)
@ stdcall GdipGetCustomLineCapBaseCap(ptr ptr)
...
...
dlls/gdiplus/graphics.c
View file @
bcfe4e7e
...
...
@@ -2405,6 +2405,32 @@ GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
return
NotImplemented
;
}
/*****************************************************************************
* GdipGetClipBounds [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipGetClipBounds
(
GpGraphics
*
graphics
,
GpRectF
*
rect
)
{
TRACE
(
"(%p, %p)
\n
"
,
graphics
,
rect
);
if
(
!
graphics
)
return
InvalidParameter
;
return
GdipGetRegionBounds
(
graphics
->
clip
,
graphics
,
rect
);
}
/*****************************************************************************
* GdipGetClipBoundsI [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipGetClipBoundsI
(
GpGraphics
*
graphics
,
GpRect
*
rect
)
{
TRACE
(
"(%p, %p)
\n
"
,
graphics
,
rect
);
if
(
!
graphics
)
return
InvalidParameter
;
return
GdipGetRegionBoundsI
(
graphics
->
clip
,
graphics
,
rect
);
}
/* FIXME: Compositing mode is not used anywhere except the getter/setter. */
GpStatus
WINGDIPAPI
GdipGetCompositingMode
(
GpGraphics
*
graphics
,
CompositingMode
*
mode
)
...
...
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