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
172389e1
Commit
172389e1
authored
Apr 20, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipDrawRectangle.
parent
1f8f5578
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
graphics.c
dlls/gdiplus/graphics.c
+8
-2
No files found.
dlls/gdiplus/gdiplus.spec
View file @
172389e1
...
...
@@ -194,7 +194,7 @@
@ stub GdipDrawPieI
@ stub GdipDrawPolygon
@ stub GdipDrawPolygonI
@ st
ub GdipDrawRectangle
@ st
dcall GdipDrawRectangle(ptr ptr long long long long)
@ stdcall GdipDrawRectangleI(ptr ptr long long long long)
@ stdcall GdipDrawRectangles(ptr ptr ptr long)
@ stub GdipDrawRectanglesI
...
...
dlls/gdiplus/graphics.c
View file @
172389e1
...
...
@@ -1308,8 +1308,8 @@ GpStatus WINGDIPAPI GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipDrawRectangle
I
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
INT
x
,
INT
y
,
INT
width
,
INT
height
)
GpStatus
WINGDIPAPI
GdipDrawRectangle
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
REAL
x
,
REAL
y
,
REAL
width
,
REAL
height
)
{
INT
save_state
;
GpPointF
ptf
[
4
];
...
...
@@ -1338,6 +1338,12 @@ GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipDrawRectangleI
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
INT
x
,
INT
y
,
INT
width
,
INT
height
)
{
return
GdipDrawRectangle
(
graphics
,
pen
,(
REAL
)
x
,(
REAL
)
y
,(
REAL
)
width
,(
REAL
)
height
);
}
GpStatus
WINGDIPAPI
GdipDrawRectangles
(
GpGraphics
*
graphics
,
GpPen
*
pen
,
GDIPCONST
GpRectF
*
rects
,
INT
count
)
{
...
...
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