Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengdipluseffects.h
Go to the documentation of this file.
00001 /* 00002 * GdiPlusEffects.h 00003 * 00004 * Windows GDI+ 00005 * 00006 * This file is part of the w32api package. 00007 * 00008 * THIS SOFTWARE IS NOT COPYRIGHTED 00009 * 00010 * This source code is offered for use in the public domain. You may 00011 * use, modify or distribute it freely. 00012 * 00013 * This code is distributed in the hope that it will be useful but 00014 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00015 * DISCLAIMED. This includes but is not limited to warranties of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00017 */ 00018 00019 #ifndef _GDIPLUSEFFECTS_H 00020 #define _GDIPLUSEFFECTS_H 00021 00022 typedef struct { 00023 float radius; 00024 BOOL expandEdge; 00025 } BlurParams; 00026 00027 typedef struct { 00028 INT brightnessLevel; 00029 INT contrastLevel; 00030 } BrightnessContrastParams; 00031 00032 typedef struct { 00033 INT cyanRed; 00034 INT magentaGreen; 00035 INT yellowBlue; 00036 } ColorBalanceParams; 00037 00038 typedef struct { 00039 CurveAdjustments adjustment; 00040 CurveChannel channel; 00041 INT adjustValue; 00042 } ColorCurveParams; 00043 00044 typedef struct { 00045 INT hueLevel; 00046 INT saturationLevel; 00047 INT lightnessLevel; 00048 } HueSaturationLightnessParams; 00049 00050 typedef struct { 00051 INT highlight; 00052 INT midtone; 00053 INT shadow; 00054 } LevelsParams; 00055 00056 typedef struct { 00057 UINT numberOfAreas; 00058 RECT *areas; 00059 } RedEyeCorrectionParams; 00060 00061 typedef struct { 00062 REAL radius; 00063 REAL amount; 00064 } SharpenParams; 00065 00066 typedef struct { 00067 INT hue; 00068 INT amount; 00069 } TintParams; 00070 00071 00072 class Effect 00073 { 00074 public: 00075 Effect(VOID) 00076 { 00077 } 00078 00079 VOID *GetAuxData(VOID) const 00080 { 00081 return NULL; 00082 } 00083 00084 INT GetAuxDataSize(VOID) 00085 { 00086 return 0; 00087 } 00088 00089 Status GetParameterSize(UINT *size) 00090 { 00091 return NotImplemented; 00092 } 00093 00094 VOID UseAuxData(const BOOL useAuxDataFlag) 00095 { 00096 } 00097 }; 00098 00099 00100 class Blur : public Effect 00101 { 00102 public: 00103 Blur(VOID) 00104 { 00105 } 00106 00107 Status GetParameters(UINT *size, BlurParams *parameters) 00108 { 00109 return NotImplemented; 00110 } 00111 00112 Status SetParameters(const BlurParams *parameters) 00113 { 00114 return NotImplemented; 00115 } 00116 }; 00117 00118 00119 class BrightnessContrast : public Effect 00120 { 00121 public: 00122 BrightnessContrast(VOID) 00123 { 00124 } 00125 00126 Status GetParameters(UINT *size, BrightnessContrastParams *parameters) 00127 { 00128 return NotImplemented; 00129 } 00130 00131 Status SetParameters(const BrightnessContrastParams *parameters) 00132 { 00133 return NotImplemented; 00134 } 00135 }; 00136 00137 00138 class ColorBalance : public Effect 00139 { 00140 public: 00141 ColorBalance(VOID) 00142 { 00143 } 00144 00145 Status GetParameters(UINT *size, ColorBalanceParams *parameters) 00146 { 00147 return NotImplemented; 00148 } 00149 00150 Status SetParameters(ColorBalanceParams *parameters) 00151 { 00152 return NotImplemented; 00153 } 00154 }; 00155 00156 00157 class ColorCurve : public Effect 00158 { 00159 public: 00160 ColorCurve(VOID) 00161 { 00162 } 00163 00164 Status GetParameters(UINT *size, ColorCurveParams *parameters) 00165 { 00166 return NotImplemented; 00167 } 00168 00169 Status SetParameters(const ColorCurveParams *parameters) 00170 { 00171 return NotImplemented; 00172 } 00173 }; 00174 00175 00176 class ColorMatrixEffect : public Effect 00177 { 00178 public: 00179 ColorMatrixEffect(VOID) 00180 { 00181 } 00182 00183 Status GetParameters(UINT *size, ColorMatrix *matrix) 00184 { 00185 return NotImplemented; 00186 } 00187 00188 Status SetParameters(const ColorMatrix *matrix) 00189 { 00190 return NotImplemented; 00191 } 00192 }; 00193 00194 00195 class HueSaturationLightness : public Effect 00196 { 00197 public: 00198 HueSaturationLightness(VOID) 00199 { 00200 } 00201 00202 Status GetParameters(UINT *size, HueSaturationLightnessParams *parameters) 00203 { 00204 return NotImplemented; 00205 } 00206 00207 Status SetParameters(const HueSaturationLightnessParams *parameters) 00208 { 00209 return NotImplemented; 00210 } 00211 }; 00212 00213 00214 class Levels : public Effect 00215 { 00216 public: 00217 Levels(VOID) 00218 { 00219 } 00220 00221 Status GetParameters(UINT *size, LevelsParams *parameters) 00222 { 00223 return NotImplemented; 00224 } 00225 00226 Status SetParameters(const LevelsParams *parameters) 00227 { 00228 return NotImplemented; 00229 } 00230 }; 00231 00232 class RedEyeCorrection : public Effect 00233 { 00234 public: 00235 RedEyeCorrection(VOID) 00236 { 00237 } 00238 00239 Status GetParameters(UINT *size, RedEyeCorrectionParams *parameters) 00240 { 00241 return NotImplemented; 00242 } 00243 00244 Status SetParameters(const RedEyeCorrectionParams *parameters) 00245 { 00246 return NotImplemented; 00247 } 00248 }; 00249 00250 00251 class Sharpen 00252 { 00253 public: 00254 Sharpen(VOID) 00255 { 00256 } 00257 00258 Status GetParameters(UINT *size, SharpenParams *parameters) 00259 { 00260 return NotImplemented; 00261 } 00262 00263 Status SetParameters(const SharpenParams *parameters) 00264 { 00265 return NotImplemented; 00266 } 00267 }; 00268 00269 00270 class Tint : Effect 00271 { 00272 public: 00273 Tint(VOID) 00274 { 00275 } 00276 00277 Status GetParameters(UINT *size, TintParams *parameters) 00278 { 00279 return NotImplemented; 00280 } 00281 00282 Status SetParameters(const TintParams *parameters) 00283 { 00284 return NotImplemented; 00285 } 00286 }; 00287 00288 #endif /* _GDIPLUSEFFECTS_H */ Generated on Sun May 27 2012 04:31:28 for ReactOS by
1.7.6.1
|