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
29bc9ba1
Commit
29bc9ba1
authored
Feb 28, 2008
by
Jon Yang
Committed by
Alexandre Julliard
Mar 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipDrawImageRectRectI.
parent
0c3ecefb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+19
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
29bc9ba1
...
...
@@ -184,7 +184,7 @@
@ stub GdipDrawImageRect
@ stub GdipDrawImageRectI
@ stdcall GdipDrawImageRectRect(ptr ptr long long long long long long long long long ptr long ptr)
@ st
ub GdipDrawImageRectRectI
@ st
dcall GdipDrawImageRectRectI(ptr ptr long long long long long long long long long ptr long ptr)
@ stdcall GdipDrawLine(ptr ptr long long long long)
@ stdcall GdipDrawLineI(ptr ptr long long long long)
@ stdcall GdipDrawLines(ptr ptr ptr long)
...
...
dlls/gdiplus/graphics.c
View file @
29bc9ba1
...
...
@@ -1158,6 +1158,25 @@ GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics *graphics, GpImage *image,
srcwidth
,
srcheight
,
srcUnit
,
imageattr
,
callback
,
callbackData
);
}
GpStatus
WINGDIPAPI
GdipDrawImageRectRectI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
INT
dstx
,
INT
dsty
,
INT
dstwidth
,
INT
dstheight
,
INT
srcx
,
INT
srcy
,
INT
srcwidth
,
INT
srcheight
,
GpUnit
srcUnit
,
GDIPCONST
GpImageAttributes
*
imageAttributes
,
DrawImageAbort
callback
,
VOID
*
callbackData
)
{
GpPointF
points
[
3
];
points
[
0
].
X
=
dstx
;
points
[
0
].
Y
=
dsty
;
points
[
1
].
X
=
dstx
+
dstwidth
;
points
[
1
].
Y
=
dsty
;
points
[
2
].
X
=
dstx
;
points
[
2
].
Y
=
dsty
+
dstheight
;
return
GdipDrawImagePointsRect
(
graphics
,
image
,
points
,
3
,
srcx
,
srcy
,
srcwidth
,
srcheight
,
srcUnit
,
imageAttributes
,
callback
,
callbackData
);
}
GpStatus
WINGDIPAPI
GdipDrawLine
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
REAL
x1
,
REAL
y1
,
REAL
x2
,
REAL
y2
)
{
...
...
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