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
aba9ddc4
Commit
aba9ddc4
authored
Jan 11, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Jan 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipDrawImagePoints.
parent
2329f919
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
graphics.c
dlls/gdiplus/graphics.c
+27
-4
No files found.
dlls/gdiplus/graphics.c
View file @
aba9ddc4
...
@@ -2528,15 +2528,38 @@ GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics *graphics, GpImage *image
...
@@ -2528,15 +2528,38 @@ GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics *graphics, GpImage *image
GpStatus
WINGDIPAPI
GdipDrawImagePoints
(
GpGraphics
*
graphics
,
GpImage
*
image
,
GpStatus
WINGDIPAPI
GdipDrawImagePoints
(
GpGraphics
*
graphics
,
GpImage
*
image
,
GDIPCONST
GpPointF
*
dstpoints
,
INT
count
)
GDIPCONST
GpPointF
*
dstpoints
,
INT
count
)
{
{
FIXME
(
"(%p, %p, %p, %d): stub
\n
"
,
graphics
,
image
,
dstpoints
,
count
);
UINT
width
,
height
;
return
NotImplemented
;
TRACE
(
"(%p, %p, %p, %d)
\n
"
,
graphics
,
image
,
dstpoints
,
count
);
if
(
!
image
)
return
InvalidParameter
;
GdipGetImageWidth
(
image
,
&
width
);
GdipGetImageHeight
(
image
,
&
height
);
return
GdipDrawImagePointsRect
(
graphics
,
image
,
dstpoints
,
count
,
0
,
0
,
width
,
height
,
UnitPixel
,
NULL
,
NULL
,
NULL
);
}
}
GpStatus
WINGDIPAPI
GdipDrawImagePointsI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
GpStatus
WINGDIPAPI
GdipDrawImagePointsI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
GDIPCONST
GpPoint
*
dstpoints
,
INT
count
)
GDIPCONST
GpPoint
*
dstpoints
,
INT
count
)
{
{
FIXME
(
"(%p, %p, %p, %d): stub
\n
"
,
graphics
,
image
,
dstpoints
,
count
);
GpPointF
ptf
[
3
];
return
NotImplemented
;
TRACE
(
"(%p, %p, %p, %d)
\n
"
,
graphics
,
image
,
dstpoints
,
count
);
if
(
count
!=
3
||
!
dstpoints
)
return
InvalidParameter
;
ptf
[
0
].
X
=
(
REAL
)
dstpoints
[
0
].
X
;
ptf
[
0
].
Y
=
(
REAL
)
dstpoints
[
0
].
Y
;
ptf
[
1
].
X
=
(
REAL
)
dstpoints
[
1
].
X
;
ptf
[
1
].
Y
=
(
REAL
)
dstpoints
[
1
].
Y
;
ptf
[
2
].
X
=
(
REAL
)
dstpoints
[
2
].
X
;
ptf
[
2
].
Y
=
(
REAL
)
dstpoints
[
2
].
Y
;
return
GdipDrawImagePoints
(
graphics
,
image
,
ptf
,
count
);
}
}
GpStatus
WINGDIPAPI
GdipDrawImagePointsRect
(
GpGraphics
*
graphics
,
GpImage
*
image
,
GpStatus
WINGDIPAPI
GdipDrawImagePointsRect
(
GpGraphics
*
graphics
,
GpImage
*
image
,
...
...
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