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
a72be4b1
Commit
a72be4b1
authored
Jul 23, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetPenBrushFill.
parent
7cc8b279
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
pen.c
dlls/gdiplus/pen.c
+19
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
a72be4b1
...
...
@@ -541,7 +541,7 @@
@ stub GdipSetPathGradientTransform
@ stub GdipSetPathGradientWrapMode
@ stub GdipSetPathMarker
@ st
ub GdipSetPenBrushFill
@ st
dcall GdipSetPenBrushFill(ptr ptr)
@ stub GdipSetPenColor
@ stub GdipSetPenCompoundArray
@ stdcall GdipSetPenCustomEndCap(ptr ptr)
...
...
dlls/gdiplus/pen.c
View file @
a72be4b1
...
...
@@ -144,6 +144,25 @@ GpStatus WINGDIPAPI GdipGetPenDashStyle(GpPen *pen, GpDashStyle *dash)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenBrushFill
(
GpPen
*
pen
,
GpBrush
*
brush
)
{
GpStatus
retval
;
if
(
!
pen
||
!
brush
)
return
InvalidParameter
;
GdipDeleteBrush
(
pen
->
brush
);
retval
=
GdipCloneBrush
(
brush
,
&
pen
->
brush
);
if
(
retval
!=
Ok
)
return
retval
;
DeleteObject
(
pen
->
gdipen
);
pen
->
gdipen
=
ExtCreatePen
(
pen
->
style
,
roundr
(
pen
->
width
),
&
pen
->
brush
->
lb
,
0
,
NULL
);
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenCustomEndCap
(
GpPen
*
pen
,
GpCustomLineCap
*
customCap
)
{
GpCustomLineCap
*
cap
;
...
...
include/gdiplusflat.h
View file @
a72be4b1
...
...
@@ -31,6 +31,7 @@ GpStatus WINGDIPAPI GdipClonePen(GpPen*,GpPen**);
GpStatus
WINGDIPAPI
GdipCreatePen1
(
ARGB
,
REAL
,
GpUnit
,
GpPen
**
);
GpStatus
WINGDIPAPI
GdipDeletePen
(
GpPen
*
);
GpStatus
WINGDIPAPI
GdipGetPenDashStyle
(
GpPen
*
,
GpDashStyle
*
);
GpStatus
WINGDIPAPI
GdipSetPenBrushFill
(
GpPen
*
,
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipSetPenCustomEndCap
(
GpPen
*
,
GpCustomLineCap
*
);
GpStatus
WINGDIPAPI
GdipSetPenCustomStartCap
(
GpPen
*
,
GpCustomLineCap
*
);
GpStatus
WINGDIPAPI
GdipSetPenDashStyle
(
GpPen
*
,
GpDashStyle
);
...
...
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