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
1ac79128
Commit
1ac79128
authored
Jul 31, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implemented Gdip[Get/Set]PenMode.
parent
daa59e00
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+1
-0
pen.c
dlls/gdiplus/pen.c
+12
-3
gdiplusflat.h
include/gdiplusflat.h
+2
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
1ac79128
...
...
@@ -363,7 +363,7 @@
@ stub GdipGetPenFillType
@ stdcall GdipGetPenLineJoin(ptr ptr)
@ stdcall GdipGetPenMiterLimit(ptr ptr)
@ st
ub GdipGetPenMode
@ st
dcall GdipGetPenMode(ptr ptr)
@ stdcall GdipGetPenStartCap(ptr ptr)
@ stub GdipGetPenTransform
@ stdcall GdipGetPenUnit(ptr ptr)
...
...
dlls/gdiplus/gdiplus_private.h
View file @
1ac79128
...
...
@@ -72,6 +72,7 @@ struct GpPen{
INT
numdashes
;
REAL
offset
;
/* dash offset */
GpBrush
*
brush
;
GpPenAlignment
align
;
};
struct
GpGraphics
{
...
...
dlls/gdiplus/pen.c
View file @
1ac79128
...
...
@@ -237,6 +237,16 @@ GpStatus WINGDIPAPI GdipGetPenLineJoin(GpPen *pen, GpLineJoin *lineJoin)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPenMode
(
GpPen
*
pen
,
GpPenAlignment
*
mode
)
{
if
(
!
pen
||
!
mode
)
return
InvalidParameter
;
*
mode
=
pen
->
align
;
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipGetPenMiterLimit
(
GpPen
*
pen
,
REAL
*
miterLimit
)
{
if
(
!
pen
||
!
miterLimit
)
...
...
@@ -481,12 +491,11 @@ GpStatus WINGDIPAPI GdipSetPenWidth(GpPen *pen, REAL width)
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetPenMode
(
GpPen
*
pen
,
GpPenAlignment
penAlignment
)
GpStatus
WINGDIPAPI
GdipSetPenMode
(
GpPen
*
pen
,
GpPenAlignment
mode
)
{
if
(
!
pen
)
return
InvalidParameter
;
FIXME
(
"stub (%d)
\n
"
,
penAlignment
)
;
pen
->
align
=
mode
;
return
Ok
;
}
include/gdiplusflat.h
View file @
1ac79128
...
...
@@ -37,6 +37,7 @@ GpStatus WINGDIPAPI GdipGetPenDashArray(GpPen*,REAL*,INT);
GpStatus
WINGDIPAPI
GdipGetPenDashCount
(
GpPen
*
,
INT
*
);
GpStatus
WINGDIPAPI
GdipGetPenDashOffset
(
GpPen
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetPenDashStyle
(
GpPen
*
,
GpDashStyle
*
);
GpStatus
WINGDIPAPI
GdipGetPenMode
(
GpPen
*
,
GpPenAlignment
*
);
GpStatus
WINGDIPAPI
GdipSetPenBrushFill
(
GpPen
*
,
GpBrush
*
);
GpStatus
WINGDIPAPI
GdipSetPenColor
(
GpPen
*
,
ARGB
);
GpStatus
WINGDIPAPI
GdipSetPenCustomEndCap
(
GpPen
*
,
GpCustomLineCap
*
);
...
...
@@ -48,6 +49,7 @@ GpStatus WINGDIPAPI GdipSetPenDashStyle(GpPen*,GpDashStyle);
GpStatus
WINGDIPAPI
GdipSetPenEndCap
(
GpPen
*
,
GpLineCap
);
GpStatus
WINGDIPAPI
GdipSetPenLineCap197819
(
GpPen
*
,
GpLineCap
,
GpLineCap
,
GpDashCap
);
GpStatus
WINGDIPAPI
GdipSetPenLineJoin
(
GpPen
*
,
GpLineJoin
);
GpStatus
WINGDIPAPI
GdipSetPenMode
(
GpPen
*
,
GpPenAlignment
);
GpStatus
WINGDIPAPI
GdipSetPenMiterLimit
(
GpPen
*
,
REAL
);
GpStatus
WINGDIPAPI
GdipSetPenStartCap
(
GpPen
*
,
GpLineCap
);
GpStatus
WINGDIPAPI
GdipSetPenWidth
(
GpPen
*
,
REAL
);
...
...
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