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
8babdc86
Commit
8babdc86
authored
Nov 20, 2013
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Forward GdipFillRectangle to GdipFillRectangles.
parent
ef2a8be6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
21 deletions
+14
-21
graphics.c
dlls/gdiplus/graphics.c
+14
-21
No files found.
dlls/gdiplus/graphics.c
View file @
8babdc86
...
...
@@ -3820,38 +3820,31 @@ GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics *graphics, GpBrush *brush,
GpStatus
WINGDIPAPI
GdipFillRectangle
(
GpGraphics
*
graphics
,
GpBrush
*
brush
,
REAL
x
,
REAL
y
,
REAL
width
,
REAL
height
)
{
GpStatus
stat
;
GpPath
*
path
;
GpRectF
rect
;
TRACE
(
"(%p, %p, %.2f, %.2f, %.2f, %.2f)
\n
"
,
graphics
,
brush
,
x
,
y
,
width
,
height
);
if
(
!
graphics
||
!
brush
)
return
InvalidParameter
;
if
(
graphics
->
busy
)
return
ObjectBusy
;
stat
=
GdipCreatePath
(
FillModeAlternate
,
&
path
);
if
(
stat
==
Ok
)
{
stat
=
GdipAddPathRectangle
(
path
,
x
,
y
,
width
,
height
);
if
(
stat
==
Ok
)
stat
=
GdipFillPath
(
graphics
,
brush
,
path
);
GdipDeletePath
(
path
);
}
rect
.
X
=
x
;
rect
.
Y
=
y
;
rect
.
Width
=
width
;
rect
.
Height
=
height
;
return
stat
;
return
GdipFillRectangles
(
graphics
,
brush
,
&
rect
,
1
)
;
}
GpStatus
WINGDIPAPI
GdipFillRectangleI
(
GpGraphics
*
graphics
,
GpBrush
*
brush
,
INT
x
,
INT
y
,
INT
width
,
INT
height
)
{
GpRectF
rect
;
TRACE
(
"(%p, %p, %d, %d, %d, %d)
\n
"
,
graphics
,
brush
,
x
,
y
,
width
,
height
);
return
GdipFillRectangle
(
graphics
,
brush
,
x
,
y
,
width
,
height
);
rect
.
X
=
(
REAL
)
x
;
rect
.
Y
=
(
REAL
)
y
;
rect
.
Width
=
(
REAL
)
width
;
rect
.
Height
=
(
REAL
)
height
;
return
GdipFillRectangles
(
graphics
,
brush
,
&
rect
,
1
);
}
GpStatus
WINGDIPAPI
GdipFillRectangles
(
GpGraphics
*
graphics
,
GpBrush
*
brush
,
GDIPCONST
GpRectF
*
rects
,
...
...
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