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
6893ef39
Commit
6893ef39
authored
Jul 16, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Jul 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetPenLineCap197819.
parent
f2ae3100
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
1 deletion
+27
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+2
-0
pen.c
dlls/gdiplus/pen.c
+14
-0
gdiplusenums.h
include/gdiplusenums.h
+8
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
6893ef39
...
...
@@ -551,7 +551,7 @@
@ stub GdipSetPenDashOffset
@ stub GdipSetPenDashStyle
@ stdcall GdipSetPenEndCap(ptr long)
@ st
ub GdipSetPenLineCap197819
@ st
dcall GdipSetPenLineCap197819(ptr long long long)
@ stub GdipSetPenLineJoin
@ stub GdipSetPenMiterLimit
@ stub GdipSetPenMode
...
...
dlls/gdiplus/gdiplus_private.h
View file @
6893ef39
...
...
@@ -47,6 +47,8 @@ struct GpPen{
REAL
width
;
HPEN
gdipen
;
GpLineCap
endcap
;
GpLineCap
startcap
;
GpDashCap
dashcap
;
GpLineJoin
join
;
REAL
miterlimit
;
};
...
...
dlls/gdiplus/pen.c
View file @
6893ef39
...
...
@@ -100,6 +100,20 @@ GpStatus WINGDIPAPI GdipSetPenEndCap(GpPen *pen, GpLineCap cap)
return
Ok
;
}
/* FIXME: startcap, dashcap not used. */
GpStatus
WINGDIPAPI
GdipSetPenLineCap197819
(
GpPen
*
pen
,
GpLineCap
start
,
GpLineCap
end
,
GpDashCap
dash
)
{
if
(
!
pen
)
return
InvalidParameter
;
pen
->
startcap
=
start
;
pen
->
endcap
=
end
;
pen
->
dashcap
=
dash
;
return
Ok
;
}
/* FIXME: Miter line joins behave a bit differently than they do in windows.
* Both kinds of miter joins clip if the angle is less than 11 degrees. */
GpStatus
WINGDIPAPI
GdipSetPenLineJoin
(
GpPen
*
pen
,
GpLineJoin
join
)
...
...
include/gdiplusenums.h
View file @
6893ef39
...
...
@@ -134,6 +134,13 @@ enum PixelOffsetMode
PixelOffsetModeHalf
};
enum
DashCap
{
DashCapFlat
=
0
,
DashCapRound
=
2
,
DashCapTriangle
=
3
};
#ifndef __cplusplus
typedef
enum
Unit
Unit
;
...
...
@@ -147,6 +154,7 @@ typedef enum SmoothingMode SmoothingMode;
typedef
enum
CompositingQuality
CompositingQuality
;
typedef
enum
InterpolationMode
InterpolationMode
;
typedef
enum
PixelOffsetMode
PixelOffsetMode
;
typedef
enum
DashCap
DashCap
;
#endif
/* end of c typedefs */
...
...
include/gdiplusflat.h
View file @
6893ef39
...
...
@@ -30,6 +30,7 @@ extern "C" {
GpStatus
WINGDIPAPI
GdipCreatePen1
(
ARGB
,
REAL
,
GpUnit
,
GpPen
**
);
GpStatus
WINGDIPAPI
GdipDeletePen
(
GpPen
*
);
GpStatus
WINGDIPAPI
GdipSetPenEndCap
(
GpPen
*
,
GpLineCap
);
GpStatus
WINGDIPAPI
GdipSetPenLineCap197819
(
GpPen
*
,
GpLineCap
,
GpLineCap
,
GpDashCap
);
GpStatus
WINGDIPAPI
GdipSetPenLineJoin
(
GpPen
*
,
GpLineJoin
);
GpStatus
WINGDIPAPI
GdipCreateFromHDC
(
HDC
,
GpGraphics
**
);
...
...
include/gdiplusgpstubs.h
View file @
6893ef39
...
...
@@ -48,5 +48,6 @@ typedef PathData GpPathData;
typedef
LineCap
GpLineCap
;
typedef
RectF
GpRectF
;
typedef
LineJoin
GpLineJoin
;
typedef
DashCap
GpDashCap
;
#endif
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