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
94ab2337
Commit
94ab2337
authored
Sep 04, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipDrawImagePointRect.
parent
52add2a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
graphics.c
dlls/gdiplus/graphics.c
+13
-4
No files found.
dlls/gdiplus/graphics.c
View file @
94ab2337
...
...
@@ -1795,16 +1795,25 @@ GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics *graphics, GpImage *image,
REAL
x
,
REAL
y
,
REAL
srcx
,
REAL
srcy
,
REAL
srcwidth
,
REAL
srcheight
,
GpUnit
srcUnit
)
{
FIXME
(
"(%p, %p, %f, %f, %f, %f, %f, %f, %d): stub
\n
"
,
graphics
,
image
,
x
,
y
,
srcx
,
srcy
,
srcwidth
,
srcheight
,
srcUnit
);
return
NotImplemented
;
GpPointF
points
[
3
];
TRACE
(
"(%p, %p, %f, %f, %f, %f, %f, %f, %d)
\n
"
,
graphics
,
image
,
x
,
y
,
srcx
,
srcy
,
srcwidth
,
srcheight
,
srcUnit
);
points
[
0
].
X
=
points
[
2
].
X
=
x
;
points
[
0
].
Y
=
points
[
1
].
Y
=
y
;
/* FIXME: convert image coordinates to Graphics coordinates? */
points
[
1
].
X
=
x
+
srcwidth
;
points
[
2
].
Y
=
y
+
srcheight
;
return
GdipDrawImagePointsRect
(
graphics
,
image
,
points
,
3
,
srcx
,
srcy
,
srcwidth
,
srcheight
,
srcUnit
,
NULL
,
NULL
,
NULL
);
}
GpStatus
WINGDIPAPI
GdipDrawImagePointRectI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
INT
x
,
INT
y
,
INT
srcx
,
INT
srcy
,
INT
srcwidth
,
INT
srcheight
,
GpUnit
srcUnit
)
{
FIXME
(
"(%p, %p, %d, %d, %d, %d, %d, %d, %d): stub
\n
"
,
graphics
,
image
,
x
,
y
,
srcx
,
srcy
,
srcwidth
,
srcheight
,
srcUnit
);
return
NotImplemented
;
return
GdipDrawImagePointRect
(
graphics
,
image
,
x
,
y
,
srcx
,
srcy
,
srcwidth
,
srcheight
,
srcUnit
);
}
GpStatus
WINGDIPAPI
GdipDrawImagePoints
(
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