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
024800cb
Commit
024800cb
authored
Jul 17, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipGetPenDashStyle.
parent
628c9a69
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
pen.c
dlls/gdiplus/pen.c
+11
-1
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
024800cb
...
...
@@ -342,7 +342,7 @@
@ stub GdipGetPenDashCap197819
@ stub GdipGetPenDashCount
@ stub GdipGetPenDashOffset
@ st
ub GdipGetPenDashStyle
@ st
dcall GdipGetPenDashStyle(ptr ptr)
@ stub GdipGetPenEndCap
@ stub GdipGetPenFillType
@ stub GdipGetPenLineJoin
...
...
dlls/gdiplus/pen.c
View file @
024800cb
...
...
@@ -106,8 +106,8 @@ GpStatus WINGDIPAPI GdipCreatePen1(ARGB color, FLOAT width, GpUnit unit,
gp_pen
->
endcap
=
LineCapFlat
;
gp_pen
->
join
=
LineJoinMiter
;
gp_pen
->
miterlimit
=
10
.
0
;
gp_pen
->
dash
=
DashStyleSolid
;
/* FIXME: Currently only solid lines supported. */
lb
.
lbStyle
=
BS_SOLID
;
lb
.
lbColor
=
gp_pen
->
color
;
lb
.
lbHatch
=
0
;
...
...
@@ -135,6 +135,16 @@ GpStatus WINGDIPAPI GdipDeletePen(GpPen *pen)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPenDashStyle
(
GpPen
*
pen
,
GpDashStyle
*
dash
)
{
if
(
!
pen
||
!
dash
)
return
InvalidParameter
;
*
dash
=
pen
->
dash
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenDashStyle
(
GpPen
*
pen
,
GpDashStyle
dash
)
{
LOGBRUSH
lb
;
...
...
include/gdiplusflat.h
View file @
024800cb
...
...
@@ -30,6 +30,7 @@ extern "C" {
GpStatus
WINGDIPAPI
GdipClonePen
(
GpPen
*
,
GpPen
**
);
GpStatus
WINGDIPAPI
GdipCreatePen1
(
ARGB
,
REAL
,
GpUnit
,
GpPen
**
);
GpStatus
WINGDIPAPI
GdipDeletePen
(
GpPen
*
);
GpStatus
WINGDIPAPI
GdipGetPenDashStyle
(
GpPen
*
,
GpDashStyle
*
);
GpStatus
WINGDIPAPI
GdipSetPenDashStyle
(
GpPen
*
,
GpDashStyle
);
GpStatus
WINGDIPAPI
GdipSetPenEndCap
(
GpPen
*
,
GpLineCap
);
GpStatus
WINGDIPAPI
GdipSetPenLineCap197819
(
GpPen
*
,
GpLineCap
,
GpLineCap
,
GpDashCap
);
...
...
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