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
79b49a8f
Commit
79b49a8f
authored
Apr 29, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipDrawImagePointsRectI.
parent
49247049
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
2 deletions
+23
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+21
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-1
No files found.
dlls/gdiplus/gdiplus.spec
View file @
79b49a8f
...
...
@@ -180,7 +180,7 @@
@ stub GdipDrawImagePoints
@ stub GdipDrawImagePointsI
@ stdcall GdipDrawImagePointsRect(ptr ptr ptr long long long long long long ptr ptr ptr)
@ st
ub GdipDrawImagePointsRectI
@ st
dcall GdipDrawImagePointsRectI(ptr ptr ptr long long long long long long ptr ptr ptr)
@ stdcall GdipDrawImageRect(ptr ptr long long long long)
@ stdcall GdipDrawImageRectI(ptr ptr long long long long)
@ stdcall GdipDrawImageRectRect(ptr ptr long long long long long long long long long ptr long ptr)
...
...
dlls/gdiplus/graphics.c
View file @
79b49a8f
...
...
@@ -1201,6 +1201,27 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipDrawImagePointsRectI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
GDIPCONST
GpPoint
*
points
,
INT
count
,
INT
srcx
,
INT
srcy
,
INT
srcwidth
,
INT
srcheight
,
GpUnit
srcUnit
,
GDIPCONST
GpImageAttributes
*
imageAttributes
,
DrawImageAbort
callback
,
VOID
*
callbackData
)
{
GpPointF
pointsF
[
3
];
INT
i
;
if
(
!
points
||
count
!=
3
)
return
InvalidParameter
;
for
(
i
=
0
;
i
<
count
;
i
++
){
pointsF
[
i
].
X
=
(
REAL
)
points
[
i
].
X
;
pointsF
[
i
].
Y
=
(
REAL
)
points
[
i
].
Y
;
}
return
GdipDrawImagePointsRect
(
graphics
,
image
,
pointsF
,
count
,
(
REAL
)
srcx
,
(
REAL
)
srcy
,
(
REAL
)
srcwidth
,
(
REAL
)
srcheight
,
srcUnit
,
imageAttributes
,
callback
,
callbackData
);
}
GpStatus
WINGDIPAPI
GdipDrawImageRectRect
(
GpGraphics
*
graphics
,
GpImage
*
image
,
REAL
dstx
,
REAL
dsty
,
REAL
dstwidth
,
REAL
dstheight
,
REAL
srcx
,
REAL
srcy
,
REAL
srcwidth
,
REAL
srcheight
,
GpUnit
srcUnit
,
...
...
include/gdiplusflat.h
View file @
79b49a8f
...
...
@@ -80,7 +80,7 @@ GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,
GDIPCONST
GpPointF
*
,
INT
,
REAL
,
REAL
,
REAL
,
REAL
,
GpUnit
,
GDIPCONST
GpImageAttributes
*
,
DrawImageAbort
,
VOID
*
);
GpStatus
WINGDIPAPI
GdipDrawImagePointsRectI
(
GpGraphics
*
,
GpImage
*
,
GDIPCONST
GpPoint
F
*
,
INT
,
INT
,
INT
,
INT
,
INT
,
GpUnit
,
GDIPCONST
GpPoint
*
,
INT
,
INT
,
INT
,
INT
,
INT
,
GpUnit
,
GDIPCONST
GpImageAttributes
*
,
DrawImageAbort
,
VOID
*
);
GpStatus
WINGDIPAPI
GdipDrawImageRectRect
(
GpGraphics
*
,
GpImage
*
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
REAL
,
GpUnit
,
GDIPCONST
GpImageAttributes
*
,
DrawImageAbort
,
...
...
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