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
49247049
Commit
49247049
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 GdipDrawImage.
parent
fe1782ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+6
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
49247049
...
...
@@ -172,7 +172,7 @@
@ stub GdipDrawDriverString
@ stub GdipDrawEllipse
@ stub GdipDrawEllipseI
@ st
ub GdipDrawImage
@ st
dcall GdipDrawImage(ptr ptr long long)
@ stub GdipDrawImageFX
@ stdcall GdipDrawImageI(ptr ptr long long)
@ stub GdipDrawImagePointRect
...
...
dlls/gdiplus/graphics.c
View file @
49247049
...
...
@@ -1115,6 +1115,12 @@ GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics *graphics, GpPen *pen,
return
ret
;
}
GpStatus
WINGDIPAPI
GdipDrawImage
(
GpGraphics
*
graphics
,
GpImage
*
image
,
REAL
x
,
REAL
y
)
{
/* IPicture::Render uses LONG coords */
return
GdipDrawImageI
(
graphics
,
image
,
roundr
(
x
),
roundr
(
y
));
}
GpStatus
WINGDIPAPI
GdipDrawImageI
(
GpGraphics
*
graphics
,
GpImage
*
image
,
INT
x
,
INT
y
)
{
...
...
include/gdiplusflat.h
View file @
49247049
...
...
@@ -74,6 +74,7 @@ GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics*,GpPen*,GDIPCONST GpPointF*,INT);
GpStatus
WINGDIPAPI
GdipDrawCurveI
(
GpGraphics
*
,
GpPen
*
,
GDIPCONST
GpPoint
*
,
INT
);
GpStatus
WINGDIPAPI
GdipDrawCurve2
(
GpGraphics
*
,
GpPen
*
,
GDIPCONST
GpPointF
*
,
INT
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawCurve2I
(
GpGraphics
*
,
GpPen
*
,
GDIPCONST
GpPoint
*
,
INT
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawImage
(
GpGraphics
*
,
GpImage
*
,
REAL
,
REAL
);
GpStatus
WINGDIPAPI
GdipDrawImageI
(
GpGraphics
*
,
GpImage
*
,
INT
,
INT
);
GpStatus
WINGDIPAPI
GdipDrawImagePointsRect
(
GpGraphics
*
,
GpImage
*
,
GDIPCONST
GpPointF
*
,
INT
,
REAL
,
REAL
,
REAL
,
REAL
,
GpUnit
,
...
...
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