ReactOS 0.4.17-dev-243-g1369312
gdipluseffects.h
Go to the documentation of this file.
1/*
2 * GdiPlusEffects.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 _GDIPLUSEFFECTS_H
20#define _GDIPLUSEFFECTS_H
21
22DEFINE_GUID(BlurEffectGuid, 0x633c80a4, 0x1843, 0x482b, 0x9e, 0xf2, 0xbe, 0x28, 0x34, 0xc5, 0xfd, 0xd4);
23DEFINE_GUID(SharpenEffectGuid, 0x63cbf3ee, 0xc526, 0x402c, 0x8f, 0x71, 0x62, 0xc5, 0x40, 0xbf, 0x51, 0x42);
24DEFINE_GUID(ColorMatrixEffectGuid, 0x718f2615, 0x7933, 0x40e3, 0xa5, 0x11, 0x5f, 0x68, 0xfe, 0x14, 0xdd, 0x74);
25DEFINE_GUID(ColorLUTEffectGuid, 0xa7ce72a9, 0x0f7f, 0x40d7, 0xb3, 0xcc, 0xd0, 0xc0, 0x2d, 0x5c, 0x32, 0x12);
26DEFINE_GUID(BrightnessContrastEffectGuid, 0xd3a1dbe1, 0x8ec4, 0x4c17, 0x9f, 0x4c, 0xea, 0x97, 0xad, 0x1c, 0x34, 0x3d);
27DEFINE_GUID(HueSaturationLightnessEffectGuid, 0x8b2dd6c3, 0xeb07, 0x4d87, 0xa5, 0xf0, 0x71, 0x08, 0xe2, 0x6a, 0x9c, 0x5f);
28DEFINE_GUID(LevelsEffectGuid, 0x99c354ec, 0x2a31, 0x4f3a, 0x8c, 0x34, 0x17, 0xa8, 0x03, 0xb3, 0x3a, 0x25);
29DEFINE_GUID(TintEffectGuid, 0x1077af00, 0x2848, 0x4441, 0x94, 0x89, 0x44, 0xad, 0x4c, 0x2d, 0x7a, 0x2c);
30DEFINE_GUID(ColorBalanceEffectGuid, 0x537e597d, 0x251e, 0x48da, 0x96, 0x64, 0x29, 0xca, 0x49, 0x6b, 0x70, 0xf8);
31DEFINE_GUID(RedEyeCorrectionEffectGuid, 0x74d29d05, 0x69a4, 0x4266, 0x95, 0x49, 0x3c, 0xc5, 0x28, 0x36, 0xb6, 0x32);
32DEFINE_GUID(ColorCurveEffectGuid, 0xdd6a0022, 0x58e4, 0x4a67, 0x9d, 0x9b, 0xd4, 0x8e, 0xb8, 0x81, 0xa5, 0x3d);
33
34typedef enum CurveAdjustments
35{
45
46typedef enum CurveChannel
47{
53
54typedef struct BlurParams
55{
59
61{
65
66typedef struct ColorBalanceParams
67{
72
73typedef struct ColorCurveParams
74{
79
80typedef struct ColorLUTParams
81{
87
89{
94
95typedef struct LevelsParams
96{
101
103{
107
108typedef struct SharpenParams
109{
113
114typedef struct TintParams
115{
119
120#ifdef __cplusplus
121class Effect
122{
123 public:
124 Effect()
125 {
126 }
127
128 VOID *
129 GetAuxData() const
130 {
131 return NULL;
132 }
133
134 INT
135 GetAuxDataSize()
136 {
137 return 0;
138 }
139
140 Status
141 GetParameterSize(UINT *size)
142 {
143 return NotImplemented;
144 }
145
146 VOID
147 UseAuxData(const BOOL useAuxDataFlag)
148 {
149 }
150};
151
152class Blur : public Effect
153{
154 public:
155 Blur()
156 {
157 }
158
159 Status
161 {
162 return NotImplemented;
163 }
164
165 Status
167 {
168 return NotImplemented;
169 }
170};
171
172class BrightnessContrast : public Effect
173{
174 public:
175 BrightnessContrast()
176 {
177 }
178
179 Status
181 {
182 return NotImplemented;
183 }
184
185 Status
187 {
188 return NotImplemented;
189 }
190};
191
192class ColorBalance : public Effect
193{
194 public:
195 ColorBalance()
196 {
197 }
198
199 Status
201 {
202 return NotImplemented;
203 }
204
205 Status
207 {
208 return NotImplemented;
209 }
210};
211
212class ColorCurve : public Effect
213{
214 public:
215 ColorCurve()
216 {
217 }
218
219 Status
221 {
222 return NotImplemented;
223 }
224
225 Status
227 {
228 return NotImplemented;
229 }
230};
231
232class ColorMatrixEffect : public Effect
233{
234 public:
236 {
237 }
238
239 Status
241 {
242 return NotImplemented;
243 }
244
245 Status
247 {
248 return NotImplemented;
249 }
250};
251
252class HueSaturationLightness : public Effect
253{
254 public:
255 HueSaturationLightness()
256 {
257 }
258
259 Status
261 {
262 return NotImplemented;
263 }
264
265 Status
267 {
268 return NotImplemented;
269 }
270};
271
272class Levels : public Effect
273{
274 public:
275 Levels()
276 {
277 }
278
279 Status
281 {
282 return NotImplemented;
283 }
284
285 Status
287 {
288 return NotImplemented;
289 }
290};
291
292class RedEyeCorrection : public Effect
293{
294 public:
295 RedEyeCorrection()
296 {
297 }
298
299 Status
301 {
302 return NotImplemented;
303 }
304
305 Status
307 {
308 return NotImplemented;
309 }
310};
311
312class Sharpen
313{
314 public:
315 Sharpen()
316 {
317 }
318
319 Status
321 {
322 return NotImplemented;
323 }
324
325 Status
327 {
328 return NotImplemented;
329 }
330};
331
332class Tint : Effect
333{
334 public:
335 Tint()
336 {
337 }
338
339 Status
341 {
342 return NotImplemented;
343 }
344
345 Status
347 {
348 return NotImplemented;
349 }
350};
351#endif // __cplusplus
352
353#endif /* _GDIPLUSEFFECTS_H */
static VOID SetParameters(OUT PULONG_PTR Parameters, IN INT Count,...)
Definition: ExHardError.c:15
#define NULL
Definition: types.h:112
float REAL
Definition: types.h:41
unsigned int BOOL
Definition: ntddk_ex.h:94
VOID pRequest GetParameters(Parameters)
@ ColorMatrixEffect
BYTE ColorChannelLUT[256]
CurveChannel
@ CurveChannelAll
@ CurveChannelRed
@ CurveChannelGreen
@ CurveChannelBlue
CurveAdjustments
@ AdjustWhiteSaturation
@ AdjustExposure
@ AdjustHighlight
@ AdjustMidtone
@ AdjustDensity
@ AdjustContrast
@ AdjustShadow
@ AdjustBlackSaturation
Status
Definition: gdiplustypes.h:24
@ NotImplemented
Definition: gdiplustypes.h:31
GLsizeiptr size
Definition: glext.h:5919
GLuint GLenum matrix
Definition: glext.h:9407
static BYTE parameters[]
Definition: asn.c:558
unsigned int UINT
Definition: ndis.h:50
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
CurveChannel channel
CurveAdjustments adjustment
ColorChannelLUT lutR
ColorChannelLUT lutA
ColorChannelLUT lutB
ColorChannelLUT lutG
int32_t INT
Definition: typedefs.h:58