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
cf55dba6
Commit
cf55dba6
authored
Jun 27, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented GdipGetPenLineJoin, GdipGetPenMiterLimit.
parent
6eadf3da
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+2
-2
pen.c
dlls/gdiplus/pen.c
+20
-0
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
cf55dba6
...
...
@@ -361,8 +361,8 @@
@ stdcall GdipGetPenDashStyle(ptr ptr)
@ stdcall GdipGetPenEndCap(ptr ptr)
@ stub GdipGetPenFillType
@ st
ub GdipGetPenLineJoin
@ st
ub GdipGetPenMiterLimit
@ st
dcall GdipGetPenLineJoin(ptr ptr)
@ st
dcall GdipGetPenMiterLimit(ptr ptr)
@ stub GdipGetPenMode
@ stub GdipGetPenStartCap
@ stub GdipGetPenTransform
...
...
dlls/gdiplus/pen.c
View file @
cf55dba6
...
...
@@ -207,6 +207,26 @@ GpStatus WINGDIPAPI GdipGetPenEndCap(GpPen *pen, GpLineCap *endCap)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPenLineJoin
(
GpPen
*
pen
,
GpLineJoin
*
lineJoin
)
{
if
(
!
pen
||
!
lineJoin
)
return
InvalidParameter
;
*
lineJoin
=
pen
->
join
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPenMiterLimit
(
GpPen
*
pen
,
REAL
*
miterLimit
)
{
if
(
!
pen
||
!
miterLimit
)
return
InvalidParameter
;
*
miterLimit
=
pen
->
miterlimit
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenBrushFill
(
GpPen
*
pen
,
GpBrush
*
brush
)
{
if
(
!
pen
||
!
brush
)
...
...
include/gdiplusflat.h
View file @
cf55dba6
...
...
@@ -50,6 +50,8 @@ GpStatus WINGDIPAPI GdipSetPenMiterLimit(GpPen*,REAL);
GpStatus
WINGDIPAPI
GdipSetPenStartCap
(
GpPen
*
,
GpLineCap
);
GpStatus
WINGDIPAPI
GdipSetPenWidth
(
GpPen
*
,
REAL
);
GpStatus
WINGDIPAPI
GdipGetPenEndCap
(
GpPen
*
,
GpLineCap
*
);
GpStatus
WINGDIPAPI
GdipGetPenLineJoin
(
GpPen
*
,
GpLineJoin
*
);
GpStatus
WINGDIPAPI
GdipGetPenMiterLimit
(
GpPen
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipCreateFromHDC
(
HDC
,
GpGraphics
**
);
GpStatus
WINGDIPAPI
GdipCreateFromHDC2
(
HDC
,
HANDLE
,
GpGraphics
**
);
...
...
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