Move MS DDK files to DDK
[reactos.git] / reactos / w32api / include / 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 #if __GNUC__ >= 3
23 #pragma GCC system_header
24 #endif
25
26 inline
27 CustomLineCap::CustomLineCap(const GraphicsPath *fillPath,
28 const GraphicsPath *strokePath, LineCap baseCap, REAL baseInset)
29 {
30 }
31
32 inline CustomLineCap *
33 CustomLineCap::Clone(VOID)
34 {
35 return NULL;
36 }
37
38 inline LineCap
39 CustomLineCap::GetBaseCap(VOID)
40 {
41 return LineCapFlat;
42 }
43
44 inline REAL
45 CustomLineCap::GetBaseInset(VOID)
46 {
47 return 0;
48 }
49
50 inline Status
51 CustomLineCap::GetLastStatus(VOID)
52 {
53 return Ok;
54 }
55
56 inline Status
57 CustomLineCap::GetStrokeCaps(LineCap *startCap, LineCap *endCap)
58 {
59 return Ok;
60 }
61
62 inline LineJoin
63 CustomLineCap::GetStrokeJoin(VOID)
64 {
65 return LineJoinMiter;
66 }
67
68 inline REAL
69 CustomLineCap::GetWidthScale(VOID)
70 {
71 return 0;
72 }
73
74 inline Status
75 CustomLineCap::SetBaseCap(LineCap baseCap)
76 {
77 return Ok;
78 }
79
80 inline Status
81 CustomLineCap::SetBaseInset(REAL inset)
82 {
83 return Ok;
84 }
85
86 inline Status
87 CustomLineCap::SetStrokeCap(LineCap strokeCap)
88 {
89 return Ok;
90 }
91
92 inline Status
93 CustomLineCap::SetStrokeCaps(LineCap startCap, LineCap endCap)
94 {
95 return Ok;
96 }
97
98 inline Status
99 CustomLineCap::SetStrokeJoin(LineJoin lineJoin)
100 {
101 return Ok;
102 }
103
104 inline Status
105 CustomLineCap::SetWidthScale(IN REAL widthScale)
106 {
107 return Ok;
108 }
109
110
111 class AdjustableArrowCap : public CustomLineCap
112 {
113 public:
114 AdjustableArrowCap(REAL height, REAL width, BOOL isFilled)
115 {
116 }
117
118 REAL GetHeight(VOID)
119 {
120 return 0;
121 }
122
123 REAL GetMiddleInset(VOID)
124 {
125 return 0;
126 }
127
128 REAL GetWidth(VOID)
129 {
130 return 0;
131 }
132
133 BOOL IsFilled(VOID)
134 {
135 return FALSE;
136 }
137
138 Status SetFillState(BOOL isFilled)
139 {
140 return Ok;
141 }
142
143 Status SetHeight(REAL height)
144 {
145 return Ok;
146 }
147
148 Status SetMiddleInset(REAL middleInset)
149 {
150 return Ok;
151 }
152
153 Status SetWidth(REAL width)
154 {
155 return Ok;
156 }
157 };
158
159 #endif /* _GDIPLUSLINECAPS_H */