Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fa7a34b9
Commit
fa7a34b9
authored
Aug 15, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Forward GdipDrawImage to GdipDrawImagePointRect.
parent
3b8f437f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
graphics.c
dlls/gdiplus/graphics.c
+2
-10
No files found.
dlls/gdiplus/graphics.c
View file @
fa7a34b9
...
...
@@ -2943,7 +2943,6 @@ GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics *graphics, GpPen *pen, INT x,
GpStatus
WINGDIPAPI
GdipDrawImage
(
GpGraphics
*
graphics
,
GpImage
*
image
,
REAL
x
,
REAL
y
)
{
UINT
width
,
height
;
GpPointF
points
[
3
];
TRACE
(
"(%p, %p, %.2f, %.2f)
\n
"
,
graphics
,
image
,
x
,
y
);
...
...
@@ -2953,15 +2952,8 @@ GpStatus WINGDIPAPI GdipDrawImage(GpGraphics *graphics, GpImage *image, REAL x,
GdipGetImageWidth
(
image
,
&
width
);
GdipGetImageHeight
(
image
,
&
height
);
/* FIXME: we should use the graphics and image dpi, somehow */
points
[
0
].
X
=
points
[
2
].
X
=
x
;
points
[
0
].
Y
=
points
[
1
].
Y
=
y
;
points
[
1
].
X
=
x
+
width
;
points
[
2
].
Y
=
y
+
height
;
return
GdipDrawImagePointsRect
(
graphics
,
image
,
points
,
3
,
0
,
0
,
width
,
height
,
UnitPixel
,
NULL
,
NULL
,
NULL
);
return
GdipDrawImagePointRect
(
graphics
,
image
,
x
,
y
,
0
.
0
,
0
.
0
,
(
REAL
)
width
,
(
REAL
)
height
,
UnitPixel
);
}
GpStatus
WINGDIPAPI
GdipDrawImageI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
INT
x
,
...
...
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