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
5da52e06
Commit
5da52e06
authored
Jan 31, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipTranslateClip/GdipTranslateClipI.
parent
dc3908a3
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 @
5da52e06
...
...
@@ -609,8 +609,8 @@
@ stdcall GdipTransformPoints(ptr long long ptr long)
@ stdcall GdipTransformPointsI(ptr long long ptr long)
@ stdcall GdipTransformRegion(ptr ptr)
@ st
ub GdipTranslateClip
@ st
ub GdipTranslateClipI
@ st
dcall GdipTranslateClip(ptr long long)
@ st
dcall GdipTranslateClipI(ptr long long)
@ stdcall GdipTranslateLineTransform(ptr long long long)
@ stdcall GdipTranslateMatrix(ptr long long long)
@ stub GdipTranslatePathGradientTransform
...
...
dlls/gdiplus/graphics.c
View file @
5da52e06
...
...
@@ -3318,3 +3318,29 @@ HPALETTE WINGDIPAPI GdipCreateHalftonePalette(void)
return
NULL
;
}
/*****************************************************************************
* GdipTranslateClip [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipTranslateClip
(
GpGraphics
*
graphics
,
REAL
dx
,
REAL
dy
)
{
TRACE
(
"(%p, %.2f, %.2f)
\n
"
,
graphics
,
dx
,
dy
);
if
(
!
graphics
)
return
InvalidParameter
;
return
GdipTranslateRegion
(
graphics
->
clip
,
dx
,
dy
);
}
/*****************************************************************************
* GdipTranslateClipI [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipTranslateClipI
(
GpGraphics
*
graphics
,
INT
dx
,
INT
dy
)
{
TRACE
(
"(%p, %d, %d)
\n
"
,
graphics
,
dx
,
dy
);
if
(
!
graphics
)
return
InvalidParameter
;
return
GdipTranslateRegion
(
graphics
->
clip
,
(
REAL
)
dx
,
(
REAL
)
dy
);
}
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