Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengdiplusheaders.h
Go to the documentation of this file.
00001 /* 00002 * GdiPlusHeaders.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 _GDIPLUSHEADERS_H 00020 #define _GDIPLUSHEADERS_H 00021 00022 class Image : public GdiplusBase 00023 { 00024 public: 00025 friend class Graphics; 00026 00027 Image(IStream *stream, BOOL useEmbeddedColorManagement) 00028 { 00029 } 00030 00031 Image(const WCHAR *filename, BOOL useEmbeddedColorManagement) 00032 { 00033 } 00034 00035 Image *Clone(VOID) 00036 { 00037 return NULL; 00038 } 00039 00040 static Image *FromFile(const WCHAR *filename, BOOL useEmbeddedColorManagement) 00041 { 00042 return NULL; 00043 } 00044 00045 static Image *FromStream(IStream *stream, BOOL useEmbeddedColorManagement) 00046 { 00047 return NULL; 00048 } 00049 00050 Status GetAllPropertyItems(UINT totalBufferSize, UINT numProperties, PropertyItem *allItems) 00051 { 00052 return NotImplemented; 00053 } 00054 00055 Status GetBounds(RectF *srcRect, Unit *srcUnit) 00056 { 00057 return NotImplemented; 00058 } 00059 00060 Status GetEncoderParameterList(const CLSID *clsidEncoder, UINT size, EncoderParameters *buffer) 00061 { 00062 return NotImplemented; 00063 } 00064 00065 UINT GetEncoderParameterListSize(const CLSID *clsidEncoder) 00066 { 00067 return 0; 00068 } 00069 00070 UINT GetFlags(VOID) 00071 { 00072 return 0; 00073 } 00074 00075 UINT GetFrameCount(const GUID *dimensionID) 00076 { 00077 return 0; 00078 } 00079 00080 UINT GetFrameDimensionsCount(VOID) 00081 { 00082 return 0; 00083 } 00084 00085 Status GetFrameDimensionsList(GUID *dimensionIDs, UINT count) 00086 { 00087 return NotImplemented; 00088 } 00089 00090 UINT GetHeight(VOID) 00091 { 00092 return 0; 00093 } 00094 00095 REAL GetHorizontalResolution(VOID) 00096 { 00097 return 0; 00098 } 00099 00100 Status GetLastStatus(VOID) 00101 { 00102 return NotImplemented; 00103 } 00104 00105 Status GetPalette(ColorPalette *palette, INT size) 00106 { 00107 return NotImplemented; 00108 } 00109 00110 INT GetPaletteSize(VOID) 00111 { 00112 return 0; 00113 } 00114 00115 Status GetPhysicalDimension(SizeF *size) 00116 { 00117 return NotImplemented; 00118 } 00119 00120 PixelFormat GetPixelFormat(VOID) 00121 { 00122 return PixelFormatUndefined; 00123 } 00124 00125 UINT GetPropertyCount(VOID) 00126 { 00127 return 0; 00128 } 00129 00130 Status GetPropertyIdList(UINT numOfProperty, PROPID *list) 00131 { 00132 return NotImplemented; 00133 } 00134 00135 Status GetPropertyItem(PROPID propId, UINT propSize, PropertyItem *buffer) 00136 { 00137 return NotImplemented; 00138 } 00139 00140 UINT GetPropertyItemSize(PROPID propId) 00141 { 00142 return 0; 00143 } 00144 00145 Status GetPropertySize(UINT *totalBufferSize, UINT *numProperties) 00146 { 00147 return NotImplemented; 00148 } 00149 00150 Status GetRawFormat(GUID *format) 00151 { 00152 return NotImplemented; 00153 } 00154 00155 Image *GetThumbnailImage(UINT thumbWidth, UINT thumbHeight, GetThumbnailImageAbort callback, VOID *callbackData) 00156 { 00157 return NULL; 00158 } 00159 00160 ImageType GetType(VOID) 00161 { 00162 return ImageTypeUnknown; 00163 } 00164 00165 REAL GetVerticalResolution(VOID) 00166 { 00167 return 0; 00168 } 00169 00170 UINT GetWidth(VOID) 00171 { 00172 return 0; 00173 } 00174 00175 Status RemovePropertyItem(PROPID propId) 00176 { 00177 return NotImplemented; 00178 } 00179 00180 Status RotateFlip(RotateFlipType rotateFlipType) 00181 { 00182 return NotImplemented; 00183 } 00184 00185 Status Save(IStream *stream, const CLSID *clsidEncoder, const EncoderParameters *encoderParams) 00186 { 00187 return NotImplemented; 00188 } 00189 00190 Status Save(const WCHAR *filename, const CLSID *clsidEncoder, const EncoderParameters *encoderParams) 00191 { 00192 return NotImplemented; 00193 } 00194 00195 Status SaveAdd(const EncoderParameters* encoderParams) 00196 { 00197 return NotImplemented; 00198 } 00199 00200 Status SaveAdd(Image *newImage, const EncoderParameters *encoderParams) 00201 { 00202 return NotImplemented; 00203 } 00204 00205 Status SelectActiveFrame(const GUID *dimensionID, UINT frameIndex) 00206 { 00207 return NotImplemented; 00208 } 00209 00210 Status SetPalette(const ColorPalette* palette) 00211 { 00212 return NotImplemented; 00213 } 00214 00215 Status SetPropertyItem(const PropertyItem* item) 00216 { 00217 return NotImplemented; 00218 } 00219 00220 protected: 00221 Image() 00222 { 00223 } 00224 }; 00225 00226 00227 class Bitmap : public Image 00228 { 00229 public: 00230 Bitmap(IDirectDrawSurface7 *surface) 00231 { 00232 } 00233 00234 Bitmap(INT width, INT height, Graphics *target) 00235 { 00236 } 00237 00238 Bitmap(const BITMAPINFO *gdiBitmapInfo, VOID *gdiBitmapData) 00239 { 00240 } 00241 00242 Bitmap(INT width, INT height, PixelFormat format) 00243 { 00244 } 00245 00246 Bitmap(HBITMAP hbm, HPALETTE hpal) 00247 { 00248 } 00249 00250 Bitmap(INT width, INT height, INT stride, PixelFormat format, BYTE *scan0) 00251 { 00252 } 00253 00254 Bitmap(const WCHAR *filename, BOOL useIcm) 00255 { 00256 } 00257 00258 Bitmap(HINSTANCE hInstance, const WCHAR *bitmapName) 00259 { 00260 } 00261 00262 Bitmap(HICON hicon) 00263 { 00264 } 00265 00266 Bitmap(IStream *stream, BOOL useIcm) 00267 { 00268 } 00269 00270 Bitmap *Clone(const Rect &rect, PixelFormat format) 00271 { 00272 return NULL; 00273 } 00274 00275 Bitmap *Clone(const RectF &rect, PixelFormat format) 00276 { 00277 return NULL; 00278 } 00279 00280 Bitmap *Clone(REAL x, REAL y, REAL width, REAL height, PixelFormat format) 00281 { 00282 return NULL; 00283 } 00284 00285 Bitmap *Clone(INT x, INT y, INT width, INT height, PixelFormat format) 00286 { 00287 return NULL; 00288 } 00289 00290 static Bitmap *FromBITMAPINFO(const BITMAPINFO *gdiBitmapInfo, VOID *gdiBitmapData) 00291 { 00292 return NULL; 00293 } 00294 00295 static Bitmap *FromDirectDrawSurface7(IDirectDrawSurface7 *surface) 00296 { 00297 return NULL; 00298 } 00299 00300 static Bitmap *FromFile(const WCHAR *filename, BOOL useEmbeddedColorManagement) 00301 { 00302 return NULL; 00303 } 00304 00305 static Bitmap *FromHBITMAP(HBITMAP hbm, HPALETTE hpal) 00306 { 00307 return NULL; 00308 } 00309 00310 static Bitmap *FromHICON(HICON hicon) 00311 { 00312 return NULL; 00313 } 00314 00315 static Bitmap *FromResource(HINSTANCE hInstance, const WCHAR *bitmapName) 00316 { 00317 return NULL; 00318 } 00319 00320 static Bitmap *FromStream(IStream *stream, BOOL useEmbeddedColorManagement) 00321 { 00322 return NULL; 00323 } 00324 00325 Status GetHBITMAP(const Color &colorBackground, HBITMAP *hbmReturn) 00326 { 00327 return NotImplemented; 00328 } 00329 00330 Status GetHICON(HICON *hicon) 00331 { 00332 return NotImplemented; 00333 } 00334 00335 Status GetPixel(INT x, INT y, Color *color) 00336 { 00337 return NotImplemented; 00338 } 00339 00340 Status LockBits(const Rect *rect, UINT flags, PixelFormat format, BitmapData *lockedBitmapData) 00341 { 00342 return NotImplemented; 00343 } 00344 00345 Status SetPixel(INT x, INT y, const Color &color) 00346 { 00347 return NotImplemented; 00348 } 00349 00350 Status SetResolution(REAL xdpi, REAL ydpi) 00351 { 00352 return NotImplemented; 00353 } 00354 00355 Status UnlockBits(BitmapData *lockedBitmapData) 00356 { 00357 return NotImplemented; 00358 } 00359 }; 00360 00361 00362 class CachedBitmap : public GdiplusBase 00363 { 00364 public: 00365 CachedBitmap(Bitmap *bitmap, Graphics *graphics) 00366 { 00367 } 00368 00369 Status GetLastStatus(VOID) 00370 { 00371 return NotImplemented; 00372 } 00373 }; 00374 00375 00376 class Font : public GdiplusBase 00377 { 00378 public: 00379 friend class FontFamily; 00380 friend class FontCollection; 00381 00382 Font(const FontFamily *family, REAL emSize, INT style, Unit unit) 00383 { 00384 } 00385 00386 Font(HDC hdc, const HFONT hfont) 00387 { 00388 } 00389 00390 Font(HDC hdc, const LOGFONTA *logfont) 00391 { 00392 } 00393 00394 Font(HDC hdc, const LOGFONTW *logfont) 00395 { 00396 } 00397 00398 Font(const WCHAR *familyName, REAL emSize, INT style, Unit unit, const FontCollection *fontCollection) 00399 { 00400 } 00401 00402 Font(HDC hdc) 00403 { 00404 } 00405 00406 Font *Clone(VOID) const 00407 { 00408 return NULL; 00409 } 00410 00411 Status GetFamily(FontFamily* family) const 00412 { 00413 return NotImplemented; 00414 } 00415 00416 REAL GetHeight(const Graphics* graphics) const 00417 { 00418 return 0; 00419 } 00420 00421 REAL GetHeight(REAL dpi) const 00422 { 00423 return 0; 00424 } 00425 00426 Status GetLastStatus(VOID) const 00427 { 00428 return NotImplemented; 00429 } 00430 00431 Status GetLogFontA(const Graphics *g, LOGFONTA *logfontA) const 00432 { 00433 return NotImplemented; 00434 } 00435 00436 Status GetLogFontW(const Graphics *g, LOGFONTW *logfontW) const 00437 { 00438 return NotImplemented; 00439 } 00440 00441 REAL GetSize(VOID) const 00442 { 00443 return 0; 00444 } 00445 00446 INT GetStyle(VOID) const 00447 { 00448 return 0; 00449 } 00450 00451 Unit GetUnit(VOID) const 00452 { 00453 return UnitWorld; 00454 } 00455 00456 BOOL IsAvailable(VOID) const 00457 { 00458 return FALSE; 00459 } 00460 }; 00461 00462 00463 class FontCollection : public GdiplusBase 00464 { 00465 public: 00466 FontCollection(VOID) 00467 { 00468 } 00469 00470 Status GetFamilies(INT numSought, FontFamily *gpfamilies, INT *numFound) const 00471 { 00472 return NotImplemented; 00473 } 00474 00475 INT GetFamilyCount(VOID) const 00476 { 00477 return 0; 00478 } 00479 00480 Status GetLastStatus(VOID) 00481 { 00482 return NotImplemented; 00483 } 00484 }; 00485 00486 00487 class FontFamily : public GdiplusBase 00488 { 00489 public: 00490 FontFamily(VOID) 00491 { 00492 } 00493 00494 FontFamily(const WCHAR *name, const FontCollection *fontCollection) 00495 { 00496 } 00497 00498 FontFamily *Clone(VOID) 00499 { 00500 return NULL; 00501 } 00502 00503 static const FontFamily *GenericMonospace(VOID) 00504 { 00505 return NULL; 00506 } 00507 00508 static const FontFamily *GenericSansSerif(VOID) 00509 { 00510 return NULL; 00511 } 00512 00513 static const FontFamily *GenericSerif(VOID) 00514 { 00515 return NULL; 00516 } 00517 00518 UINT16 GetCellAscent(INT style) const 00519 { 00520 return 0; 00521 } 00522 00523 UINT16 GetCellDescent(INT style) const 00524 { 00525 return 0; 00526 } 00527 00528 UINT16 GetEmHeight(INT style) 00529 { 00530 return 0; 00531 } 00532 00533 Status GetFamilyName(WCHAR name[LF_FACESIZE], WCHAR language) const 00534 { 00535 return NotImplemented; 00536 } 00537 00538 Status GetLastStatus(VOID) const 00539 { 00540 return NotImplemented; 00541 } 00542 00543 UINT16 GetLineSpacing(INT style) const 00544 { 00545 return 0; 00546 } 00547 00548 BOOL IsAvailable(VOID) const 00549 { 00550 return FALSE; 00551 } 00552 00553 BOOL IsStyleAvailable(INT style) const 00554 { 00555 return FALSE; 00556 } 00557 }; 00558 00559 00560 class InstalledFontFamily : public FontFamily 00561 { 00562 public: 00563 InstalledFontFamily(VOID) 00564 { 00565 } 00566 }; 00567 00568 00569 class PrivateFontCollection : public FontCollection 00570 { 00571 public: 00572 PrivateFontCollection(VOID) 00573 { 00574 } 00575 00576 Status AddFontFile(const WCHAR* filename) 00577 { 00578 return NotImplemented; 00579 } 00580 00581 Status AddMemoryFont(const VOID *memory, INT length) 00582 { 00583 return NotImplemented; 00584 } 00585 }; 00586 00587 00588 class Region : public GdiplusBase 00589 { 00590 public: 00591 friend class GraphicsPath; 00592 friend class Matrix; 00593 00594 Region(const Rect &rect) 00595 { 00596 } 00597 00598 Region(VOID) 00599 { 00600 } 00601 00602 Region(const BYTE *regionData, INT size) 00603 { 00604 } 00605 00606 Region(const GraphicsPath *path) 00607 { 00608 } 00609 00610 Region(HRGN hRgn) 00611 { 00612 } 00613 00614 Region(const RectF &rect) 00615 { 00616 } 00617 00618 Region *Clone(VOID) 00619 { 00620 return NULL; 00621 } 00622 00623 Status Complement(const GraphicsPath *path) 00624 { 00625 return NotImplemented; 00626 } 00627 00628 Status Complement(const Region *region) 00629 { 00630 return NotImplemented; 00631 } 00632 00633 Status Complement(const Rect &rect) 00634 { 00635 return NotImplemented; 00636 } 00637 00638 Status Complement(const RectF &rect) 00639 { 00640 return NotImplemented; 00641 } 00642 00643 BOOL Equals(const Region *region, const Graphics *g) const 00644 { 00645 return FALSE; 00646 } 00647 00648 Status Exclude(const GraphicsPath *path) 00649 { 00650 return NotImplemented; 00651 } 00652 00653 Status Exclude(const RectF &rect) 00654 { 00655 return NotImplemented; 00656 } 00657 00658 Status Exclude(const Rect &rect) 00659 { 00660 return NotImplemented; 00661 } 00662 00663 Status Exclude(const Region *region) 00664 { 00665 return NotImplemented; 00666 } 00667 00668 static Region *FromHRGN(HRGN hRgn) 00669 { 00670 return NULL; 00671 } 00672 00673 Status GetBounds(Rect *rect, const Graphics *g) const 00674 { 00675 return NotImplemented; 00676 } 00677 00678 Status GetBounds(RectF *rect, const Graphics *g) const 00679 { 00680 return NotImplemented; 00681 } 00682 00683 Status GetData(BYTE *buffer, UINT bufferSize, UINT *sizeFilled) const 00684 { 00685 return NotImplemented; 00686 } 00687 00688 UINT GetDataSize(VOID) const 00689 { 00690 return 0; 00691 } 00692 00693 HRGN GetHRGN(const Graphics *g) const 00694 { 00695 return NULL; 00696 } 00697 00698 Status GetLastStatus(VOID) 00699 { 00700 return NotImplemented; 00701 } 00702 00703 Status GetRegionScans(const Matrix *matrix, Rect *rects, INT *count) const 00704 { 00705 return NotImplemented; 00706 } 00707 00708 Status GetRegionScans(const Matrix *matrix, RectF *rects, INT *count) const 00709 { 00710 return NotImplemented; 00711 } 00712 00713 UINT GetRegionScansCount(const Matrix *matrix) const 00714 { 00715 return 0; 00716 } 00717 00718 Status Intersect(const Rect &rect) 00719 { 00720 return NotImplemented; 00721 } 00722 00723 Status Intersect(const GraphicsPath *path) 00724 { 00725 return NotImplemented; 00726 } 00727 00728 Status Intersect(const RectF &rect) 00729 { 00730 return NotImplemented; 00731 } 00732 00733 Status Intersect(const Region *region) 00734 { 00735 return NotImplemented; 00736 } 00737 00738 BOOL IsEmpty(const Graphics *g) const 00739 { 00740 return NotImplemented; 00741 } 00742 00743 BOOL IsInfinite(const Graphics *g) const 00744 { 00745 return FALSE; 00746 } 00747 00748 BOOL IsVisible(const PointF &point, const Graphics *g) const 00749 { 00750 return FALSE; 00751 } 00752 00753 BOOL IsVisible(const RectF &rect, const Graphics *g) const 00754 { 00755 return FALSE; 00756 } 00757 00758 BOOL IsVisible(const Rect &rect, const Graphics *g) const 00759 { 00760 return FALSE; 00761 } 00762 00763 BOOL IsVisible(INT x, INT y, const Graphics *g) const 00764 { 00765 return FALSE; 00766 } 00767 00768 BOOL IsVisible(REAL x, REAL y, const Graphics *g) const 00769 { 00770 return FALSE; 00771 } 00772 00773 BOOL IsVisible(INT x, INT y, INT width, INT height, const Graphics *g) const 00774 { 00775 return FALSE; 00776 } 00777 00778 BOOL IsVisible(const Point &point, const Graphics *g) const 00779 { 00780 return FALSE; 00781 } 00782 00783 BOOL IsVisible(REAL x, REAL y, REAL width, REAL height, const Graphics *g) const 00784 { 00785 return FALSE; 00786 } 00787 00788 Status MakeEmpty(VOID) 00789 { 00790 return NotImplemented; 00791 } 00792 00793 Status MakeInfinite(VOID) 00794 { 00795 return NotImplemented; 00796 } 00797 00798 Status Transform(const Matrix *matrix) 00799 { 00800 return NotImplemented; 00801 } 00802 00803 Status Translate(REAL dx, REAL dy) 00804 { 00805 return NotImplemented; 00806 } 00807 00808 Status Translate(INT dx, INT dy) 00809 { 00810 return NotImplemented; 00811 } 00812 00813 Status Union(const Rect &rect) 00814 { 00815 return NotImplemented; 00816 } 00817 00818 Status Union(const Region *region) 00819 { 00820 return NotImplemented; 00821 } 00822 00823 Status Union(const RectF &rect) 00824 { 00825 return NotImplemented; 00826 } 00827 00828 Status Union(const GraphicsPath *path) 00829 { 00830 return NotImplemented; 00831 } 00832 00833 Status Xor(const GraphicsPath *path) 00834 { 00835 return NotImplemented; 00836 } 00837 00838 Status Xor(const RectF &rect) 00839 { 00840 return NotImplemented; 00841 } 00842 00843 Status Xor(const Rect &rect) 00844 { 00845 return NotImplemented; 00846 } 00847 00848 Status Xor(const Region *region) 00849 { 00850 return NotImplemented; 00851 } 00852 }; 00853 00854 00855 class CustomLineCap : public GdiplusBase 00856 { 00857 public: 00858 CustomLineCap(const GraphicsPath *fillPath, const GraphicsPath *strokePath, LineCap baseCap, REAL baseInset); 00859 CustomLineCap *Clone(VOID); 00860 LineCap GetBaseCap(VOID); 00861 REAL GetBaseInset(VOID); 00862 Status GetLastStatus(VOID); 00863 Status GetStrokeCaps(LineCap *startCap, LineCap *endCap); 00864 LineJoin GetStrokeJoin(VOID); 00865 REAL GetWidthScale(VOID); 00866 Status SetBaseCap(LineCap baseCap); 00867 Status SetBaseInset(REAL inset); 00868 Status SetStrokeCap(LineCap strokeCap); 00869 Status SetStrokeCaps(LineCap startCap, LineCap endCap); 00870 Status SetStrokeJoin(LineJoin lineJoin); 00871 Status SetWidthScale(IN REAL widthScale); 00872 protected: 00873 CustomLineCap(); 00874 }; 00875 00876 #endif /* _GDIPLUSHEADERS_H */ Generated on Sun May 27 2012 04:31:29 for ReactOS by
1.7.6.1
|