Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengdiplusgraphics.h
Go to the documentation of this file.
00001 /* 00002 * GdiPlusGraphics.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 _GDIPLUSGRAPHICS_H 00020 #define _GDIPLUSGRAPHICS_H 00021 00022 class Graphics : public GdiplusBase 00023 { 00024 public: 00025 Graphics(Image *image) 00026 { 00027 } 00028 00029 Graphics(HDC hdc) 00030 { 00031 GpGraphics *graphics = NULL; 00032 status = DllExports::GdipCreateFromHDC(hdc, &graphics); 00033 SetGraphics(graphics); 00034 } 00035 00036 Graphics(HDC hdc, HANDLE hdevice) 00037 { 00038 } 00039 00040 Graphics(HWND hwnd, BOOL icm) 00041 { 00042 } 00043 00044 Status AddMetafileComment(const BYTE *data, UINT sizeData) 00045 { 00046 return NotImplemented; 00047 } 00048 00049 GraphicsContainer BeginContainer(VOID) 00050 { 00051 return GraphicsContainer(); 00052 } 00053 00054 GraphicsContainer BeginContainer(const RectF &dstrect, const RectF &srcrect, Unit unit) 00055 { 00056 return GraphicsContainer(); 00057 } 00058 00059 GraphicsContainer BeginContainer(const Rect &dstrect, const Rect &srcrect, Unit unit) 00060 { 00061 return GraphicsContainer(); 00062 } 00063 00064 Status Clear(const Color &color) 00065 { 00066 return NotImplemented; 00067 } 00068 00069 Status DrawArc(const Pen *pen, const Rect &rect, REAL startAngle, REAL sweepAngle) 00070 { 00071 return NotImplemented; 00072 } 00073 00074 Status DrawArc(const Pen *pen, const RectF &rect, REAL startAngle, REAL sweepAngle) 00075 { 00076 return NotImplemented; 00077 } 00078 00079 Status DrawArc(const Pen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle) 00080 { 00081 return NotImplemented; 00082 } 00083 00084 Status DrawArc(const Pen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle) 00085 { 00086 return NotImplemented; 00087 } 00088 00089 Status DrawBezier(const Pen *pen, const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4) 00090 { 00091 return NotImplemented; 00092 } 00093 00094 Status DrawBezier(const Pen *pen, const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4) 00095 { 00096 return NotImplemented; 00097 } 00098 00099 Status DrawBezier(const Pen *pen, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4) 00100 { 00101 return NotImplemented; 00102 } 00103 00104 Status DrawBezier(const Pen *pen, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4) 00105 { 00106 return NotImplemented; 00107 } 00108 00109 Status DrawBeziers(const Pen *pen, const Point *points, INT count) 00110 { 00111 return NotImplemented; 00112 } 00113 00114 Status DrawBeziers(const Pen *pen, const PointF *points, INT count) 00115 { 00116 return NotImplemented; 00117 } 00118 00119 Status DrawCachedBitmap(CachedBitmap *cb, INT x, INT y) 00120 { 00121 return NotImplemented; 00122 } 00123 00124 Status DrawClosedCurve(const Pen *pen, const Point *points, INT count) 00125 { 00126 return NotImplemented; 00127 } 00128 00129 Status DrawClosedCurve(const Pen *pen, const PointF *points, INT count) 00130 { 00131 return NotImplemented; 00132 } 00133 00134 Status DrawClosedCurve(const Pen *pen, const PointF *points, INT count, REAL tension) 00135 { 00136 return NotImplemented; 00137 } 00138 00139 Status DrawClosedCurve(const Pen *pen, const Point *points, INT count, REAL tension) 00140 { 00141 return NotImplemented; 00142 } 00143 00144 Status DrawCurve(const Pen *pen, const Point *points, INT count) 00145 { 00146 return NotImplemented; 00147 } 00148 00149 Status DrawCurve(const Pen *pen, const PointF *points, INT count) 00150 { 00151 return NotImplemented; 00152 } 00153 00154 Status DrawCurve(const Pen *pen, const PointF *points, INT count, REAL tension) 00155 { 00156 return NotImplemented; 00157 } 00158 00159 Status DrawCurve(const Pen *pen, const Point *points, INT count, INT offset, INT numberOfSegments, REAL tension) 00160 { 00161 return NotImplemented; 00162 } 00163 00164 Status DrawCurve(const Pen *pen, const PointF *points, INT count, INT offset, INT numberOfSegments, REAL tension) 00165 { 00166 return NotImplemented; 00167 } 00168 00169 Status DrawCurve(const Pen *pen, const Point *points, INT count, REAL tension) 00170 { 00171 return NotImplemented; 00172 } 00173 00174 Status DrawDriverString(const UINT16 *text, INT length, const Font *font, const Brush *brush, const PointF *positions, INT flags, const Matrix *matrix) 00175 { 00176 return NotImplemented; 00177 } 00178 00179 Status DrawEllipse(const Pen *pen, const Rect &rect) 00180 { 00181 return NotImplemented; 00182 } 00183 00184 Status DrawEllipse(const Pen *pen, REAL x, REAL y, REAL width, REAL height) 00185 { 00186 return NotImplemented; 00187 } 00188 00189 Status DrawEllipse(const Pen *pen, const RectF &rect) 00190 { 00191 return NotImplemented; 00192 } 00193 00194 Status DrawEllipse(const Pen *pen, INT x, INT y, INT width, INT height) 00195 { 00196 return NotImplemented; 00197 } 00198 00199 Status DrawImage(Image *image, const Point *destPoints, INT count) 00200 { 00201 return NotImplemented; 00202 } 00203 00204 Status DrawImage(Image *image, INT x, INT y) 00205 { 00206 return NotImplemented; 00207 } 00208 00209 Status DrawImage(Image *image, const Point &point) 00210 { 00211 return NotImplemented; 00212 } 00213 00214 Status DrawImage(Image *image, REAL x, REAL y) 00215 { 00216 return NotImplemented; 00217 } 00218 00219 Status DrawImage(Image *image, const PointF &point) 00220 { 00221 return NotImplemented; 00222 } 00223 00224 Status DrawImage(Image *image, const PointF *destPoints, INT count) 00225 { 00226 return NotImplemented; 00227 } 00228 00229 Status DrawImage(Image *image, REAL x, REAL y, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, Unit srcUnit) 00230 { 00231 return NotImplemented; 00232 } 00233 00234 Status DrawImage(Image *image, const RectF &rect) 00235 { 00236 return NotImplemented; 00237 } 00238 00239 Status DrawImage(Image *image, INT x, INT y, INT width, INT height) 00240 { 00241 return NotImplemented; 00242 } 00243 00244 Status DrawImage(Image *image, const PointF *destPoints, INT count, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, Unit srcUnit, ImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData) 00245 { 00246 return NotImplemented; 00247 } 00248 00249 Status DrawImage(Image *image, const Rect &destRect, INT srcx, INT srcy, INT srcwidth, INT srcheight, Unit srcUnit, ImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData) 00250 { 00251 return NotImplemented; 00252 } 00253 00254 Status DrawImage(Image *image, const Point *destPoints, INT count, INT srcx, INT srcy, INT srcwidth, INT srcheight, Unit srcUnit, ImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData) 00255 { 00256 return NotImplemented; 00257 } 00258 00259 Status DrawImage(Image *image, REAL x, REAL y, REAL width, REAL height) 00260 { 00261 return NotImplemented; 00262 } 00263 00264 Status DrawImage(Image *image, const Rect &rect) 00265 { 00266 return NotImplemented; 00267 } 00268 00269 Status DrawImage(Image *image, INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight, Unit srcUnit) 00270 { 00271 return NotImplemented; 00272 } 00273 00274 Status DrawImage(Image *image, const RectF &destRect, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, Unit srcUnit, ImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData) 00275 { 00276 return NotImplemented; 00277 } 00278 00279 Status DrawLine(const Pen *pen, const Point &pt1, const Point &pt2) 00280 { 00281 return NotImplemented; 00282 } 00283 00284 Status DrawLine(const Pen *pen, const PointF &pt1, const Point &pt2) 00285 { 00286 return NotImplemented; 00287 } 00288 00289 Status DrawLine(const Pen *pen, REAL x1, REAL y1, REAL x2, REAL y2) 00290 { 00291 return NotImplemented; 00292 } 00293 00294 Status DrawLine(const Pen *pen, INT x1, INT y1, INT x2, INT y2) 00295 { 00296 return SetStatus(DllExports::GdipDrawLine(graphics, 00297 pen->pen, 00298 x1, 00299 y1, 00300 x2, 00301 y2)); 00302 } 00303 00304 Status DrawLines(const Pen *pen, const Point *points, INT count) 00305 { 00306 return NotImplemented; 00307 } 00308 00309 Status DrawLines(const Pen *pen, const PointF *points, INT count) 00310 { 00311 return NotImplemented; 00312 } 00313 00314 Status DrawPath(const Pen *pen, const GraphicsPath *path) 00315 { 00316 return NotImplemented; 00317 } 00318 00319 Status DrawPie(const Pen *pen, const Rect &rect, REAL startAngle, REAL sweepAngle) 00320 { 00321 return NotImplemented; 00322 } 00323 00324 Status DrawPie(const Pen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle) 00325 { 00326 return NotImplemented; 00327 } 00328 00329 Status DrawPie(const Pen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle) 00330 { 00331 return NotImplemented; 00332 } 00333 00334 Status DrawPie(const Pen *pen, const RectF &rect, REAL startAngle, REAL sweepAngle) 00335 { 00336 return NotImplemented; 00337 } 00338 00339 Status DrawPolygon(const Pen *pen, const Point *points, INT *count) 00340 { 00341 return NotImplemented; 00342 } 00343 00344 Status DrawPolygon(const Pen *pen, const PointF *points, INT *count) 00345 { 00346 return NotImplemented; 00347 } 00348 00349 Status DrawRectangle(const Pen *pen, const Rect &rect) 00350 { 00351 return NotImplemented; 00352 } 00353 00354 Status DrawRectangle(const Pen *pen, INT x, INT y, INT width, INT height) 00355 { 00356 return NotImplemented; 00357 } 00358 00359 Status DrawRectangle(const Pen *pen, REAL x, REAL y, REAL width, REAL height) 00360 { 00361 return NotImplemented; 00362 } 00363 00364 Status DrawRectangle(const Pen *pen, const RectF &rect) 00365 { 00366 return NotImplemented; 00367 } 00368 00369 Status DrawRectangles(const Pen *pen, const Rect *rects, INT count) 00370 { 00371 return NotImplemented; 00372 } 00373 00374 Status DrawRectangles(const Pen *pen, const RectF *rects, INT count) 00375 { 00376 return NotImplemented; 00377 } 00378 00379 Status DrawString(const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, const StringFormat *stringFormat, const Brush *brush) 00380 { 00381 return NotImplemented; 00382 } 00383 00384 Status DrawString(const WCHAR *string, INT length, const Font *font, const PointF &origin, const Brush *brush) 00385 { 00386 return NotImplemented; 00387 } 00388 00389 Status DrawString(const WCHAR *string, INT length, const Font *font, const PointF &origin, const StringFormat *stringFormat, const Brush *brush) 00390 { 00391 return NotImplemented; 00392 } 00393 00394 Status EndContainer(GraphicsContainer state) 00395 { 00396 return NotImplemented; 00397 } 00398 00399 Status EnumerateMetafile(const Metafile *metafile, const Metafile &destPoint, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00400 { 00401 return NotImplemented; 00402 } 00403 00404 Status EnumerateMetafile(const Metafile *metafile, const Point *destPoints, INT count, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00405 { 00406 return NotImplemented; 00407 } 00408 00409 Status EnumerateMetafile(const Metafile *metafile, const Point &destPoint, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00410 { 00411 return NotImplemented; 00412 } 00413 00414 Status EnumerateMetafile(const Metafile *metafile, const PointF *destPoints, INT count, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00415 { 00416 return NotImplemented; 00417 } 00418 00419 Status EnumerateMetafile(const Metafile *metafile, const Rect &destRect, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00420 { 00421 return NotImplemented; 00422 } 00423 00424 Status EnumerateMetafile(const Metafile *metafile, const RectF &destRect, const RectF &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00425 { 00426 return NotImplemented; 00427 } 00428 00429 Status EnumerateMetafile(const Metafile *metafile, const RectF &destRect, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00430 { 00431 return NotImplemented; 00432 } 00433 00434 Status EnumerateMetafile(const Metafile *metafile, const PointF &destPoint, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00435 { 00436 return NotImplemented; 00437 } 00438 00439 Status EnumerateMetafile(const Metafile *metafile, const Point *destPoints, INT count, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00440 { 00441 return NotImplemented; 00442 } 00443 00444 Status EnumerateMetafile(const Metafile *metafile, const Rect &destRect, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00445 { 00446 return NotImplemented; 00447 } 00448 00449 Status EnumerateMetafile(const Metafile *metafile, const Point *destPoints, INT count, const RectF &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00450 { 00451 return NotImplemented; 00452 } 00453 00454 Status EnumerateMetafile(const Metafile *metafile, const PointF &destPoint, EnumerateMetafileProc callback, VOID *callbackData, ImageAttributes *imageAttributes) 00455 { 00456 return NotImplemented; 00457 } 00458 00459 Status ExcludeClip(const Rect& rect) 00460 { 00461 return NotImplemented; 00462 } 00463 00464 Status ExcludeClip(const RectF &rect) 00465 { 00466 return NotImplemented; 00467 } 00468 00469 Status ExcludeClip(const Region *region) 00470 { 00471 return NotImplemented; 00472 } 00473 00474 Status FillClosedCurve(const Brush *brush, const Point *points, INT count) 00475 { 00476 return NotImplemented; 00477 } 00478 00479 Status FillClosedCurve(const Brush *brush, const Point *points, INT count, FillMode fillMode, REAL tension) 00480 { 00481 return NotImplemented; 00482 } 00483 00484 Status FillClosedCurve(const Brush *brush, const PointF *points, INT count) 00485 { 00486 return NotImplemented; 00487 } 00488 00489 Status FillClosedCurve(const Brush *brush, const PointF *points, INT count, FillMode fillMode, REAL tension) 00490 { 00491 return NotImplemented; 00492 } 00493 00494 Status FillEllipse(const Brush *brush, const Rect &rect) 00495 { 00496 return NotImplemented; 00497 } 00498 00499 Status FillEllipse(const Brush *brush, REAL x, REAL y, REAL width, REAL height) 00500 { 00501 return NotImplemented; 00502 } 00503 00504 Status FillEllipse(const Brush *brush, const RectF &rect) 00505 { 00506 return NotImplemented; 00507 } 00508 00509 Status FillEllipse(const Brush *brush, INT x, INT y, INT width, INT height) 00510 { 00511 return NotImplemented; 00512 } 00513 00514 Status FillPath(const Brush *brush, const GraphicsPath *path) 00515 { 00516 return NotImplemented; 00517 } 00518 00519 Status FillPie(const Brush *brush, const Rect &rect, REAL startAngle, REAL sweepAngle) 00520 { 00521 return NotImplemented; 00522 } 00523 00524 Status FillPie(const Brush *brush, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle) 00525 { 00526 return NotImplemented; 00527 } 00528 00529 Status FillPie(const Brush *brush, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle) 00530 { 00531 return NotImplemented; 00532 } 00533 00534 Status FillPie(const Brush *brush, RectF &rect, REAL startAngle, REAL sweepAngle) 00535 { 00536 return NotImplemented; 00537 } 00538 00539 Status FillPolygon(const Brush *brush, const Point *points, INT count) 00540 { 00541 return NotImplemented; 00542 } 00543 00544 Status FillPolygon(const Brush *brush, const PointF *points, INT count) 00545 { 00546 return NotImplemented; 00547 } 00548 00549 Status FillPolygon(const Brush *brush, const Point *points, INT count, FillMode fillMode) 00550 { 00551 return NotImplemented; 00552 } 00553 00554 Status FillPolygon(const Brush *brush, const PointF *points, INT count, FillMode fillMode) 00555 { 00556 return NotImplemented; 00557 } 00558 00559 Status FillRectangle(const Brush *brush, const Rect &rect) 00560 { 00561 return NotImplemented; 00562 } 00563 00564 Status FillRectangle(const Brush *brush, const RectF &rect) 00565 { 00566 return NotImplemented; 00567 } 00568 00569 Status FillRectangle(const Brush *brush, REAL x, REAL y, REAL width, REAL height) 00570 { 00571 return NotImplemented; 00572 } 00573 00574 Status FillRectangle(const Brush *brush, INT x, INT y, INT width, INT height) 00575 { 00576 return NotImplemented; 00577 } 00578 00579 Status FillRectangles(const Brush *brush, const Rect *rects, INT count) 00580 { 00581 return NotImplemented; 00582 } 00583 00584 Status FillRectangles(const Brush *brush, const RectF *rects, INT count) 00585 { 00586 return NotImplemented; 00587 } 00588 00589 Status FillRegion(const Brush *brush, const Region *region) 00590 { 00591 return NotImplemented; 00592 } 00593 00594 VOID Flush(FlushIntention intention) 00595 { 00596 } 00597 00598 static Graphics *FromHDC(HDC hdc) 00599 { 00600 return NULL; 00601 } 00602 00603 static Graphics *FromHDC(HDC hdc, HANDLE hDevice) 00604 { 00605 return NULL; 00606 } 00607 00608 static Graphics *FromHWND(HWND hWnd, BOOL icm) 00609 { 00610 return NULL; 00611 } 00612 00613 static Graphics *FromImage(Image *image) 00614 { 00615 return NULL; 00616 } 00617 00618 Status GetClip(Region *region) const 00619 { 00620 return NotImplemented; 00621 } 00622 00623 Status GetClipBounds(Rect* rect) const 00624 { 00625 return NotImplemented; 00626 } 00627 00628 Status GetClipBounds(RectF* rect) const 00629 { 00630 return NotImplemented; 00631 } 00632 00633 CompositingMode GetCompositingMode(VOID) 00634 { 00635 return CompositingModeSourceOver; 00636 } 00637 00638 CompositingQuality GetCompositingQuality(VOID) 00639 { 00640 return CompositingQualityDefault; 00641 } 00642 00643 REAL GetDpiX(VOID) 00644 { 00645 return 0; 00646 } 00647 00648 REAL GetDpiY(VOID) 00649 { 00650 return 0; 00651 } 00652 00653 static HPALETTE GetHalftonePalette(VOID) 00654 { 00655 return NULL; 00656 } 00657 00658 HDC GetHDC(VOID) 00659 { 00660 return NULL; 00661 } 00662 00663 InterpolationMode GetInterpolationMode(VOID) 00664 { 00665 return InterpolationModeInvalid; 00666 } 00667 00668 Status GetLastStatus(VOID) 00669 { 00670 return NotImplemented; 00671 } 00672 00673 Status GetNearestColor(Color* color) const 00674 { 00675 return NotImplemented; 00676 } 00677 00678 REAL GetPageScale(VOID) 00679 { 00680 return 0; 00681 } 00682 00683 Unit GetPageUnit(VOID) 00684 { 00685 return UnitWorld; 00686 } 00687 00688 PixelOffsetMode GetPixelOffsetMode(VOID) 00689 { 00690 return PixelOffsetModeInvalid; 00691 } 00692 00693 Status GetRenderingOrigin(INT *x, INT *y) 00694 { 00695 return NotImplemented; 00696 } 00697 00698 SmoothingMode GetSmoothingMode(VOID) const 00699 { 00700 return SmoothingModeInvalid; 00701 } 00702 00703 UINT GetTextContrast(VOID) const 00704 { 00705 return 0; 00706 } 00707 00708 TextRenderingHint GetTextRenderingHint(VOID) const 00709 { 00710 return TextRenderingHintSystemDefault; 00711 } 00712 00713 Status GetTransform(Matrix* matrix) 00714 { 00715 return NotImplemented; 00716 } 00717 00718 Status GetVisibleClipBounds(Rect* rect) const 00719 { 00720 return NotImplemented; 00721 } 00722 00723 Status GetVisibleClipBounds(RectF* rect) const 00724 { 00725 return NotImplemented; 00726 } 00727 00728 Status IntersectClip(const Rect& rect) 00729 { 00730 return NotImplemented; 00731 } 00732 00733 Status IntersectClip(const Region* region) 00734 { 00735 return NotImplemented; 00736 } 00737 00738 Status IntersectClip(const RectF& rect) 00739 { 00740 return NotImplemented; 00741 } 00742 00743 BOOL IsClipEmpty(VOID) const 00744 { 00745 return FALSE; 00746 } 00747 00748 BOOL IsVisible(const Point& point) const 00749 { 00750 return FALSE; 00751 } 00752 00753 BOOL IsVisible(const Rect& rect) const 00754 { 00755 return FALSE; 00756 } 00757 00758 BOOL IsVisible(REAL x, REAL y) const 00759 { 00760 return FALSE; 00761 } 00762 00763 BOOL IsVisible(const RectF& rect) const 00764 { 00765 return FALSE; 00766 } 00767 00768 BOOL IsVisible(INT x, INT y, INT width, INT height) const 00769 { 00770 return FALSE; 00771 } 00772 00773 BOOL IsVisible(INT x, INT y) const 00774 { 00775 return FALSE; 00776 } 00777 00778 BOOL IsVisible(const PointF& point) const 00779 { 00780 return FALSE; 00781 } 00782 00783 BOOL IsVisible(REAL x, REAL y, REAL width, REAL height) const 00784 { 00785 return FALSE; 00786 } 00787 00788 BOOL IsVisibleClipEmpty(VOID) const 00789 { 00790 return FALSE; 00791 } 00792 00793 Status MeasureCharacterRanges(const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, const StringFormat *stringFormat, INT regionCount, Region *regions) const 00794 { 00795 return NotImplemented; 00796 } 00797 00798 Status MeasureDriverString(const UINT16 *text, INT length, const Font *font, const PointF *positions, INT flags, const Matrix *matrix, RectF *boundingBox) const 00799 { 00800 return NotImplemented; 00801 } 00802 00803 Status MeasureString(const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, RectF *boundingBox) const 00804 { 00805 return NotImplemented; 00806 } 00807 00808 Status MeasureString(const WCHAR *string, INT length, const Font *font, const PointF &origin, const StringFormat *stringFormat, RectF *boundingBox) const 00809 { 00810 return NotImplemented; 00811 } 00812 00813 Status MeasureString(const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, const StringFormat *stringFormat, RectF *boundingBox, INT *codepointsFitted, INT *linesFilled) const 00814 { 00815 return NotImplemented; 00816 } 00817 00818 Status MeasureString(const WCHAR *string, INT length, const Font *font, const SizeF &layoutRectSize, const StringFormat *stringFormat, SizeF *size, INT *codepointsFitted, INT *linesFilled) const 00819 { 00820 return NotImplemented; 00821 } 00822 00823 Status MeasureString(const WCHAR *string, INT length, const Font *font, const PointF &origin, RectF *boundingBox) const 00824 { 00825 return NotImplemented; 00826 } 00827 00828 Status MultiplyTransform(Matrix *matrix, MatrixOrder order) 00829 { 00830 return NotImplemented; 00831 } 00832 00833 VOID ReleaseHDC(HDC hdc) 00834 { 00835 } 00836 00837 Status ResetClip(VOID) 00838 { 00839 return NotImplemented; 00840 } 00841 00842 Status ResetTransform(VOID) 00843 { 00844 return NotImplemented; 00845 } 00846 00847 Status Restore(GraphicsState gstate) 00848 { 00849 return NotImplemented; 00850 } 00851 00852 Status RotateTransform(REAL angle, MatrixOrder order) 00853 { 00854 return NotImplemented; 00855 } 00856 00857 GraphicsState Save(VOID) 00858 { 00859 return 0; 00860 } 00861 00862 Status ScaleTransform(REAL sx, REAL sy, MatrixOrder order) 00863 { 00864 return NotImplemented; 00865 } 00866 00867 Status SetClip(const Graphics *g, CombineMode combineMode) 00868 { 00869 return NotImplemented; 00870 } 00871 00872 Status SetClip(const GraphicsPath *path, CombineMode combineMode) 00873 { 00874 return NotImplemented; 00875 } 00876 00877 Status SetClip(const Region *region, CombineMode combineMode) 00878 { 00879 return NotImplemented; 00880 } 00881 00882 Status SetClip(const Rect &rect, CombineMode combineMode) 00883 { 00884 return NotImplemented; 00885 } 00886 00887 Status SetClip(HRGN hRgn, CombineMode combineMode) 00888 { 00889 return NotImplemented; 00890 } 00891 00892 Status SetClip(const RectF& rect, CombineMode combineMode) 00893 { 00894 return NotImplemented; 00895 } 00896 00897 Status SetCompositingMode(CompositingMode compositingMode) 00898 { 00899 return NotImplemented; 00900 } 00901 00902 Status SetCompositingQuality(CompositingQuality compositingQuality) 00903 { 00904 return NotImplemented; 00905 } 00906 00907 Status SetInterpolationMode(InterpolationMode interpolationMode) 00908 { 00909 return NotImplemented; 00910 } 00911 00912 Status SetPageScale(REAL scale) 00913 { 00914 return NotImplemented; 00915 } 00916 00917 Status SetPageUnit(Unit unit) 00918 { 00919 return NotImplemented; 00920 } 00921 00922 Status SetPixelOffsetMode(PixelOffsetMode pixelOffsetMode) 00923 { 00924 return NotImplemented; 00925 } 00926 00927 Status SetRenderingOrigin(INT x, INT y) 00928 { 00929 return NotImplemented; 00930 } 00931 00932 Status SetSmoothingMode(SmoothingMode smoothingMode) 00933 { 00934 return NotImplemented; 00935 } 00936 00937 Status SetTextContrast(UINT contrast) 00938 { 00939 return NotImplemented; 00940 } 00941 00942 Status SetTextRenderingHint(TextRenderingHint newMode) 00943 { 00944 return NotImplemented; 00945 } 00946 00947 Status SetTransform(const Matrix *matrix) 00948 { 00949 return NotImplemented; 00950 } 00951 00952 Status TransformPoints(CoordinateSpace destSpace, CoordinateSpace srcSpace, Point *pts, INT count) 00953 { 00954 return NotImplemented; 00955 } 00956 00957 Status TranslateClip(INT dx, INT dy) 00958 { 00959 return NotImplemented; 00960 } 00961 00962 Status TranslateClip(REAL dx, REAL dy) 00963 { 00964 return NotImplemented; 00965 } 00966 00967 Status TranslateTransform(REAL dx, REAL dy, MatrixOrder order) 00968 { 00969 return NotImplemented; 00970 } 00971 00972 private: 00973 Status SetStatus(Status status) const 00974 { 00975 if (status == Ok) 00976 return status; 00977 this->status = status; 00978 return status; 00979 } 00980 00981 VOID SetGraphics(GpGraphics *graphics) 00982 { 00983 this->graphics = graphics; 00984 } 00985 00986 private: 00987 mutable Status status; 00988 GpGraphics *graphics; 00989 }; 00990 00991 #endif /* _GDIPLUSGRAPHICS_H */ Generated on Sun May 27 2012 04:31:29 for ReactOS by
1.7.6.1
|