Fix RtlIpv4StringToAddressW prototype and its caller in ws2_32.
[reactos.git] / include / psdk / gdipluslinecaps.h
1 /*
2 * GdiPlusLineCaps.h
3 *
4 * Windows GDI+
5 *
6 * This file is part of the w32api package.
7 *
8 * THIS SOFTWARE IS NOT COPYRIGHTED
9 *
10 * This source code is offered for use in the public domain. You may
11 * use, modify or distribute it freely.
12 *
13 * This code is distributed in the hope that it will be useful but
14 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
15 * DISCLAIMED. This includes but is not limited to warranties of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 */
18
19 #ifndef _GDIPLUSLINECAPS_H
20 #define _GDIPLUSLINECAPS_H
21
22 inline
23 CustomLineCap::CustomLineCap(const GraphicsPath *fillPath,
24 const GraphicsPath *strokePath, LineCap baseCap, REAL baseInset)
25 {
26 }
27
28 inline CustomLineCap *
29 CustomLineCap::Clone(VOID)
30 {
31 return NULL;
32 }
33
34 inline LineCap
35 CustomLineCap::GetBaseCap(VOID)
36 {
37 return LineCapFlat;
38 }
39
40 inline REAL
41 CustomLineCap::GetBaseInset(VOID)
42 {
43 return 0;
44 }
45
46 inline Status
47 CustomLineCap::GetLastStatus(VOID)
48 {
49 return Ok;
50 }
51
52 inline Status
53 CustomLineCap::GetStrokeCaps(LineCap *startCap, LineCap *endCap)
54 {
55 return Ok;
56 }
57
58 inline LineJoin
59 CustomLineCap::GetStrokeJoin(VOID)
60 {
61 return LineJoinMiter;
62 }
63
64 inline REAL
65 CustomLineCap::GetWidthScale(VOID)
66 {
67 return 0;
68 }
69
70 inline Status
71 CustomLineCap::SetBaseCap(LineCap baseCap)
72 {
73 return Ok;
74 }
75
76 inline Status
77 CustomLineCap::SetBaseInset(REAL inset)
78 {
79 return Ok;
80 }
81
82 inline Status
83 CustomLineCap::SetStrokeCap(LineCap strokeCap)
84 {
85 return Ok;
86 }
87
88 inline Status
89 CustomLineCap::SetStrokeCaps(LineCap startCap, LineCap endCap)
90 {
91 return Ok;
92 }
93
94 inline Status
95 CustomLineCap::SetStrokeJoin(LineJoin lineJoin)
96 {
97 return Ok;
98 }
99
100 inline Status
101 CustomLineCap::SetWidthScale(IN REAL widthScale)
102 {
103 return Ok;
104 }
105
106
107 class AdjustableArrowCap : public CustomLineCap
108 {
109 public:
110 AdjustableArrowCap(REAL height, REAL width, BOOL isFilled)
111 {
112 }
113
114 REAL GetHeight(VOID)
115 {
116 return 0;
117 }
118
119 REAL GetMiddleInset(VOID)
120 {
121 return 0;
122 }
123
124 REAL GetWidth(VOID)
125 {
126 return 0;
127 }
128
129 BOOL IsFilled(VOID)
130 {
131 return FALSE;
132 }
133
134 Status SetFillState(BOOL isFilled)
135 {
136 return Ok;
137 }
138
139 Status SetHeight(REAL height)
140 {
141 return Ok;
142 }
143
144 Status SetMiddleInset(REAL middleInset)
145 {
146 return Ok;
147 }
148
149 Status SetWidth(REAL width)
150 {
151 return Ok;
152 }
153 };
154
155 #endif /* _GDIPLUSLINECAPS_H */