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
314396ae
Commit
314396ae
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 GdipGetPenWidth.
parent
c4b7281f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
pen.c
dlls/gdiplus/pen.c
+10
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
314396ae
...
...
@@ -367,7 +367,7 @@
@ stdcall GdipGetPenStartCap(ptr ptr)
@ stub GdipGetPenTransform
@ stdcall GdipGetPenUnit(ptr ptr)
@ st
ub GdipGetPenWidth
@ st
dcall GdipGetPenWidth(ptr ptr)
@ stdcall GdipGetPixelOffsetMode(ptr ptr)
@ stdcall GdipGetPointCount(ptr ptr)
@ stub GdipGetPropertyCount
...
...
dlls/gdiplus/pen.c
View file @
314396ae
...
...
@@ -247,6 +247,16 @@ GpStatus WINGDIPAPI GdipGetPenUnit(GpPen *pen, GpUnit *unit)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPenWidth
(
GpPen
*
pen
,
REAL
*
width
)
{
if
(
!
pen
||
!
width
)
return
InvalidParameter
;
*
width
=
pen
->
width
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenBrushFill
(
GpPen
*
pen
,
GpBrush
*
brush
)
{
if
(
!
pen
||
!
brush
)
...
...
include/gdiplusflat.h
View file @
314396ae
...
...
@@ -54,6 +54,7 @@ GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen*,GpLineJoin*);
GpStatus
WINGDIPAPI
GdipGetPenMiterLimit
(
GpPen
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetPenStartCap
(
GpPen
*
,
GpLineCap
*
);
GpStatus
WINGDIPAPI
GdipGetPenUnit
(
GpPen
*
,
GpUnit
*
);
GpStatus
WINGDIPAPI
GdipGetPenWidth
(
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