ReactOS  0.4.15-dev-1201-gb2cf5a4
Graphics Class Reference

#include <gdiplusgraphics.h>

Inheritance diagram for Graphics:
Collaboration diagram for Graphics:

Public Member Functions

 Graphics (Image *image)
 
 Graphics (HDC hdc)
 
 Graphics (HDC hdc, HANDLE hdevice)
 
 Graphics (HWND hwnd, BOOL icm=FALSE)
 
 ~Graphics ()
 
Status AddMetafileComment (const BYTE *data, UINT sizeData)
 
GraphicsContainer BeginContainer ()
 
GraphicsContainer BeginContainer (const RectF &dstrect, const RectF &srcrect, Unit unit)
 
GraphicsContainer BeginContainer (const Rect &dstrect, const Rect &srcrect, Unit unit)
 
Status Clear (const Color &color)
 
Status DrawArc (const Pen *pen, const Rect &rect, REAL startAngle, REAL sweepAngle)
 
Status DrawArc (const Pen *pen, const RectF &rect, REAL startAngle, REAL sweepAngle)
 
Status DrawArc (const Pen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
 
Status DrawArc (const Pen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
 
Status DrawBezier (const Pen *pen, const Point &pt1, const Point &pt2, const Point &pt3, const Point &pt4)
 
Status DrawBezier (const Pen *pen, const PointF &pt1, const PointF &pt2, const PointF &pt3, const PointF &pt4)
 
Status DrawBezier (const Pen *pen, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
 
Status DrawBezier (const Pen *pen, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
 
Status DrawBeziers (const Pen *pen, const Point *points, INT count)
 
Status DrawBeziers (const Pen *pen, const PointF *points, INT count)
 
Status DrawCachedBitmap (CachedBitmap *cb, INT x, INT y)
 
Status DrawClosedCurve (const Pen *pen, const Point *points, INT count)
 
Status DrawClosedCurve (const Pen *pen, const PointF *points, INT count)
 
Status DrawClosedCurve (const Pen *pen, const PointF *points, INT count, REAL tension)
 
Status DrawClosedCurve (const Pen *pen, const Point *points, INT count, REAL tension)
 
Status DrawCurve (const Pen *pen, const Point *points, INT count)
 
Status DrawCurve (const Pen *pen, const PointF *points, INT count)
 
Status DrawCurve (const Pen *pen, const PointF *points, INT count, REAL tension)
 
Status DrawCurve (const Pen *pen, const Point *points, INT count, INT offset, INT numberOfSegments, REAL tension)
 
Status DrawCurve (const Pen *pen, const PointF *points, INT count, INT offset, INT numberOfSegments, REAL tension)
 
Status DrawCurve (const Pen *pen, const Point *points, INT count, REAL tension)
 
Status DrawDriverString (const UINT16 *text, INT length, const Font *font, const Brush *brush, const PointF *positions, INT flags, const Matrix *matrix)
 
Status DrawEllipse (const Pen *pen, const Rect &rect)
 
Status DrawEllipse (const Pen *pen, REAL x, REAL y, REAL width, REAL height)
 
Status DrawEllipse (const Pen *pen, const RectF &rect)
 
Status DrawEllipse (const Pen *pen, INT x, INT y, INT width, INT height)
 
Status DrawImage (Image *image, const Point *destPoints, INT count)
 
Status DrawImage (Image *image, INT x, INT y)
 
Status DrawImage (Image *image, const Point &point)
 
Status DrawImage (Image *image, REAL x, REAL y)
 
Status DrawImage (Image *image, const PointF &point)
 
Status DrawImage (Image *image, const PointF *destPoints, INT count)
 
Status DrawImage (Image *image, REAL x, REAL y, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, Unit srcUnit)
 
Status DrawImage (Image *image, const RectF &rect)
 
Status DrawImage (Image *image, INT x, INT y, INT width, INT height)
 
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)
 
Status DrawImage (Image *image, const Rect &destRect, INT srcx, INT srcy, INT srcwidth, INT srcheight, Unit srcUnit, const ImageAttributes *imageAttributes=NULL, DrawImageAbort callback=NULL, VOID *callbackData=NULL)
 
Status DrawImage (Image *image, const Point *destPoints, INT count, INT srcx, INT srcy, INT srcwidth, INT srcheight, Unit srcUnit, ImageAttributes *imageAttributes=NULL, DrawImageAbort callback=NULL, VOID *callbackData=NULL)
 
Status DrawImage (Image *image, REAL x, REAL y, REAL width, REAL height)
 
Status DrawImage (Image *image, const Rect &rect)
 
Status DrawImage (Image *image, INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight, Unit srcUnit)
 
Status DrawImage (Image *image, const RectF &destRect, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, Unit srcUnit, ImageAttributes *imageAttributes=NULL, DrawImageAbort callback=NULL, VOID *callbackData=NULL)
 
Status DrawLine (const Pen *pen, const Point &pt1, const Point &pt2)
 
Status DrawLine (const Pen *pen, const PointF &pt1, const Point &pt2)
 
Status DrawLine (const Pen *pen, REAL x1, REAL y1, REAL x2, REAL y2)
 
Status DrawLine (const Pen *pen, INT x1, INT y1, INT x2, INT y2)
 
Status DrawLines (const Pen *pen, const Point *points, INT count)
 
Status DrawLines (const Pen *pen, const PointF *points, INT count)
 
Status DrawPath (const Pen *pen, const GraphicsPath *path)
 
Status DrawPie (const Pen *pen, const Rect &rect, REAL startAngle, REAL sweepAngle)
 
Status DrawPie (const Pen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
 
Status DrawPie (const Pen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
 
Status DrawPie (const Pen *pen, const RectF &rect, REAL startAngle, REAL sweepAngle)
 
Status DrawPolygon (const Pen *pen, const Point *points, INT count)
 
Status DrawPolygon (const Pen *pen, const PointF *points, INT count)
 
Status DrawRectangle (const Pen *pen, const Rect &rect)
 
Status DrawRectangle (const Pen *pen, INT x, INT y, INT width, INT height)
 
Status DrawRectangle (const Pen *pen, REAL x, REAL y, REAL width, REAL height)
 
Status DrawRectangle (const Pen *pen, const RectF &rect)
 
Status DrawRectangles (const Pen *pen, const Rect *rects, INT count)
 
Status DrawRectangles (const Pen *pen, const RectF *rects, INT count)
 
Status DrawString (const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, const StringFormat *stringFormat, const Brush *brush)
 
Status DrawString (const WCHAR *string, INT length, const Font *font, const PointF &origin, const Brush *brush)
 
Status DrawString (const WCHAR *string, INT length, const Font *font, const PointF &origin, const StringFormat *stringFormat, const Brush *brush)
 
Status EndContainer (GraphicsContainer state)
 
Status EnumerateMetafile (const Metafile *metafile, const PointF &destPoint, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const Point *destPoints, INT count, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const Point &destPoint, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const PointF *destPoints, INT count, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const Rect &destRect, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const RectF &destRect, const RectF &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const RectF &destRect, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const PointF &destPoint, const RectF &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const Point *destPoints, INT count, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const Rect &destRect, const Rect &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const PointF *destPoints, INT count, const RectF &srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status EnumerateMetafile (const Metafile *metafile, const Point &destPoint, EnumerateMetafileProc callback, VOID *callbackData=NULL, const ImageAttributes *imageAttributes=NULL)
 
Status ExcludeClip (const Rect &rect)
 
Status ExcludeClip (const RectF &rect)
 
Status ExcludeClip (const Region *region)
 
Status FillClosedCurve (const Brush *brush, const Point *points, INT count)
 
Status FillClosedCurve (const Brush *brush, const Point *points, INT count, FillMode fillMode, REAL tension)
 
Status FillClosedCurve (const Brush *brush, const PointF *points, INT count)
 
Status FillClosedCurve (const Brush *brush, const PointF *points, INT count, FillMode fillMode, REAL tension)
 
Status FillEllipse (const Brush *brush, const Rect &rect)
 
Status FillEllipse (const Brush *brush, REAL x, REAL y, REAL width, REAL height)
 
Status FillEllipse (const Brush *brush, const RectF &rect)
 
Status FillEllipse (const Brush *brush, INT x, INT y, INT width, INT height)
 
Status FillPath (const Brush *brush, const GraphicsPath *path)
 
Status FillPie (const Brush *brush, const Rect &rect, REAL startAngle, REAL sweepAngle)
 
Status FillPie (const Brush *brush, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
 
Status FillPie (const Brush *brush, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
 
Status FillPie (const Brush *brush, RectF &rect, REAL startAngle, REAL sweepAngle)
 
Status FillPolygon (const Brush *brush, const Point *points, INT count)
 
Status FillPolygon (const Brush *brush, const PointF *points, INT count)
 
Status FillPolygon (const Brush *brush, const Point *points, INT count, FillMode fillMode)
 
Status FillPolygon (const Brush *brush, const PointF *points, INT count, FillMode fillMode)
 
Status FillRectangle (const Brush *brush, const Rect &rect)
 
Status FillRectangle (const Brush *brush, const RectF &rect)
 
Status FillRectangle (const Brush *brush, REAL x, REAL y, REAL width, REAL height)
 
Status FillRectangle (const Brush *brush, INT x, INT y, INT width, INT height)
 
Status FillRectangles (const Brush *brush, const Rect *rects, INT count)
 
Status FillRectangles (const Brush *brush, const RectF *rects, INT count)
 
Status FillRegion (const Brush *brush, const Region *region)
 
VOID Flush (FlushIntention intention)
 
Status GetClip (Region *region) const
 
Status GetClipBounds (Rect *rect) const
 
Status GetClipBounds (RectF *rect) const
 
CompositingMode GetCompositingMode () const
 
CompositingQuality GetCompositingQuality () const
 
REAL GetDpiX () const
 
REAL GetDpiY () const
 
HDC GetHDC ()
 
InterpolationMode GetInterpolationMode () const
 
Status GetLastStatus () const
 
Status GetNearestColor (Color *color) const
 
REAL GetPageScale () const
 
Unit GetPageUnit () const
 
PixelOffsetMode GetPixelOffsetMode () const
 
Status GetRenderingOrigin (INT *x, INT *y) const
 
SmoothingMode GetSmoothingMode () const
 
UINT GetTextContrast () const
 
TextRenderingHint GetTextRenderingHint () const
 
UINT GetTextGammaValue () const
 
Status GetTransform (Matrix *matrix) const
 
Status GetVisibleClipBounds (Rect *rect) const
 
Status GetVisibleClipBounds (RectF *rect) const
 
Status IntersectClip (const Rect &rect)
 
Status IntersectClip (const Region *region)
 
Status IntersectClip (const RectF &rect)
 
BOOL IsClipEmpty () const
 
BOOL IsVisible (const Point &point) const
 
BOOL IsVisible (const Rect &rect) const
 
BOOL IsVisible (REAL x, REAL y) const
 
BOOL IsVisible (const RectF &rect) const
 
BOOL IsVisible (INT x, INT y, INT width, INT height) const
 
BOOL IsVisible (INT x, INT y) const
 
BOOL IsVisible (const PointF &point) const
 
BOOL IsVisible (REAL x, REAL y, REAL width, REAL height) const
 
BOOL IsVisibleClipEmpty () const
 
Status MeasureCharacterRanges (const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, const StringFormat *stringFormat, INT regionCount, Region *regions) const
 
Status MeasureDriverString (const UINT16 *text, INT length, const Font *font, const PointF *positions, INT flags, const Matrix *matrix, RectF *boundingBox) const
 
Status MeasureString (const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, RectF *boundingBox) const
 
Status MeasureString (const WCHAR *string, INT length, const Font *font, const PointF &origin, const StringFormat *stringFormat, RectF *boundingBox) const
 
Status MeasureString (const WCHAR *string, INT length, const Font *font, const RectF &layoutRect, const StringFormat *stringFormat, RectF *boundingBox, INT *codepointsFitted, INT *linesFilled) const
 
Status MeasureString (const WCHAR *string, INT length, const Font *font, const SizeF &layoutRectSize, const StringFormat *stringFormat, SizeF *size, INT *codepointsFitted, INT *linesFilled) const
 
Status MeasureString (const WCHAR *string, INT length, const Font *font, const PointF &origin, RectF *boundingBox) const
 
Status MultiplyTransform (Matrix *matrix, MatrixOrder order)
 
VOID ReleaseHDC (HDC hdc)
 
Status ResetClip ()
 
Status ResetTransform ()
 
Status Restore (GraphicsState gstate)
 
Status RotateTransform (REAL angle, MatrixOrder order=MatrixOrderPrepend)
 
GraphicsState Save ()
 
Status ScaleTransform (REAL sx, REAL sy, MatrixOrder order=MatrixOrderPrepend)
 
Status SetClip (const Graphics *g, CombineMode combineMode=CombineModeReplace)
 
Status SetClip (const GraphicsPath *path, CombineMode combineMode=CombineModeReplace)
 
Status SetClip (const Region *region, CombineMode combineMode=CombineModeReplace)
 
Status SetClip (const Rect &rect, CombineMode combineMode=CombineModeReplace)
 
Status SetClip (HRGN hRgn, CombineMode combineMode=CombineModeReplace)
 
Status SetClip (const RectF &rect, CombineMode combineMode=CombineModeReplace)
 
Status SetCompositingMode (CompositingMode compositingMode)
 
Status SetCompositingQuality (CompositingQuality compositingQuality)
 
Status SetInterpolationMode (InterpolationMode interpolationMode)
 
Status SetPageScale (REAL scale)
 
Status SetPageUnit (Unit unit)
 
Status SetPixelOffsetMode (PixelOffsetMode pixelOffsetMode)
 
Status SetRenderingOrigin (INT x, INT y)
 
Status SetSmoothingMode (SmoothingMode smoothingMode)
 
Status SetTextContrast (UINT contrast)
 
Status SetTextRenderingHint (TextRenderingHint newMode)
 
Status SetTransform (const Matrix *matrix)
 
Status TransformPoints (CoordinateSpace destSpace, CoordinateSpace srcSpace, Point *pts, INT count)
 
Status TransformPoints (CoordinateSpace destSpace, CoordinateSpace srcSpace, PointF *pts, INT count)
 
Status TranslateClip (INT dx, INT dy)
 
Status TranslateClip (REAL dx, REAL dy)
 
Status TranslateTransform (REAL dx, REAL dy, MatrixOrder order=MatrixOrderPrepend)
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Static Public Member Functions

static GraphicsFromHDC (HDC hdc)
 
static GraphicsFromHDC (HDC hdc, HANDLE hDevice)
 
static GraphicsFromHWND (HWND hWnd, BOOL icm)
 
static GraphicsFromImage (Image *image)
 
static HPALETTE GetHalftonePalette ()
 

Protected Attributes

GpGraphicsnativeGraphics
 
Status lastStatus
 

Private Member Functions

Status SetStatus (Status status) const
 
VOID SetNativeGraphics (GpGraphics *graphics)
 

Friends

class Region
 
class Font
 
class Bitmap
 
class CachedBitmap
 
class ImageAttributes
 
GpGraphics *& getNat (const Graphics *graphics)
 

Detailed Description

Definition at line 22 of file gdiplusgraphics.h.

Constructor & Destructor Documentation

◆ Graphics() [1/4]

Graphics::Graphics ( Image image)
inline

Definition at line 31 of file gdiplusgraphics.h.

32  {
33  GpGraphics *graphics = NULL;
34  if (image)
35  {
37  }
38  SetNativeGraphics(graphics);
39  }
GpStatus WINGDIPAPI GdipGetImageGraphicsContext(GpImage *image, GpGraphics **graphics)
Definition: image.c:2201
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
VOID SetNativeGraphics(GpGraphics *graphics)
Status lastStatus

Referenced by FromHDC(), FromHWND(), and FromImage().

◆ Graphics() [2/4]

Graphics::Graphics ( HDC  hdc)
inline

Definition at line 41 of file gdiplusgraphics.h.

42  {
43  GpGraphics *graphics = NULL;
45  SetNativeGraphics(graphics);
46  }
smooth NULL
Definition: ftsmooth.c:416
HDC hdc
Definition: main.c:9
VOID SetNativeGraphics(GpGraphics *graphics)
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics **graphics)
Definition: graphics.c:2395
Status lastStatus

◆ Graphics() [3/4]

Graphics::Graphics ( HDC  hdc,
HANDLE  hdevice 
)
inline

Definition at line 48 of file gdiplusgraphics.h.

49  {
50  GpGraphics *graphics = NULL;
51  lastStatus = DllExports::GdipCreateFromHDC2(hdc, hdevice, &graphics);
52  SetNativeGraphics(graphics);
53  }
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **graphics)
Definition: graphics.c:2416
smooth NULL
Definition: ftsmooth.c:416
HDC hdc
Definition: main.c:9
VOID SetNativeGraphics(GpGraphics *graphics)
Status lastStatus

◆ Graphics() [4/4]

Graphics::Graphics ( HWND  hwnd,
BOOL  icm = FALSE 
)
inline

Definition at line 55 of file gdiplusgraphics.h.

56  {
57  GpGraphics *graphics = NULL;
58  if (icm)
59  {
61  }
62  else
63  {
65  }
66  SetNativeGraphics(graphics);
67  }
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND hwnd, GpGraphics **graphics)
Definition: graphics.c:2551
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND hwnd, GpGraphics **graphics)
Definition: graphics.c:2529
VOID SetNativeGraphics(GpGraphics *graphics)
Status lastStatus

◆ ~Graphics()

Graphics::~Graphics ( )
inline

Definition at line 69 of file gdiplusgraphics.h.

70  {
72  }
GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *graphics)
Definition: graphics.c:2581
GpGraphics * nativeGraphics

Member Function Documentation

◆ AddMetafileComment()

Status Graphics::AddMetafileComment ( const BYTE data,
UINT  sizeData 
)
inline

Definition at line 75 of file gdiplusgraphics.h.

76  {
78  }
GpStatus WINGDIPAPI GdipComment(GpGraphics *graphics, UINT sizeData, GDIPCONST BYTE *data)
Definition: graphics.c:5990
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ BeginContainer() [1/3]

GraphicsContainer Graphics::BeginContainer ( )
inline

Definition at line 81 of file gdiplusgraphics.h.

82  {
83  return GraphicsContainer();
84  }
UINT GraphicsContainer
Definition: gdiplusenums.h:23

◆ BeginContainer() [2/3]

GraphicsContainer Graphics::BeginContainer ( const RectF dstrect,
const RectF srcrect,
Unit  unit 
)
inline

Definition at line 87 of file gdiplusgraphics.h.

88  {
89  return GraphicsContainer();
90  }
UINT GraphicsContainer
Definition: gdiplusenums.h:23

◆ BeginContainer() [3/3]

GraphicsContainer Graphics::BeginContainer ( const Rect dstrect,
const Rect srcrect,
Unit  unit 
)
inline

Definition at line 93 of file gdiplusgraphics.h.

94  {
95  return GraphicsContainer();
96  }
UINT GraphicsContainer
Definition: gdiplusenums.h:23

◆ Clear()

Status Graphics::Clear ( const Color color)
inline

Definition at line 99 of file gdiplusgraphics.h.

100  {
102  }
GLuint color
Definition: glext.h:6243
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics *graphics, ARGB color)
Definition: graphics.c:5076
Status SetStatus(Status status) const

◆ DrawArc() [1/4]

Status Graphics::DrawArc ( const Pen pen,
const Rect rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 105 of file gdiplusgraphics.h.

106  {
108  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle));
109  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:2645
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawArc() [2/4]

Status Graphics::DrawArc ( const Pen pen,
const RectF rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 112 of file gdiplusgraphics.h.

113  {
115  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle));
116  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:2645
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawArc() [3/4]

Status Graphics::DrawArc ( const Pen pen,
REAL  x,
REAL  y,
REAL  width,
REAL  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 119 of file gdiplusgraphics.h.

120  {
122  nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle));
123  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipDrawArc(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:2619
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawArc() [4/4]

Status Graphics::DrawArc ( const Pen pen,
INT  x,
INT  y,
INT  width,
INT  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 126 of file gdiplusgraphics.h.

127  {
129  nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle));
130  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:2645
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawBezier() [1/4]

Status Graphics::DrawBezier ( const Pen pen,
const Point pt1,
const Point pt2,
const Point pt3,
const Point pt4 
)
inline

Definition at line 133 of file gdiplusgraphics.h.

134  {
136  nativeGraphics, pen ? getNat(pen) : NULL, pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y));
137  }
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
Definition: graphics.c:2679
Status SetStatus(Status status) const

◆ DrawBezier() [2/4]

Status Graphics::DrawBezier ( const Pen pen,
const PointF pt1,
const PointF pt2,
const PointF pt3,
const PointF pt4 
)
inline

Definition at line 140 of file gdiplusgraphics.h.

141  {
143  nativeGraphics, pen ? getNat(pen) : NULL, pt1.X, pt1.Y, pt2.X, pt2.Y, pt3.X, pt3.Y, pt4.X, pt4.Y));
144  }
GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
Definition: graphics.c:2654
smooth NULL
Definition: ftsmooth.c:416
REAL Y
Definition: gdiplustypes.h:649
friend GpGraphics *& getNat(const Graphics *graphics)
REAL X
Definition: gdiplustypes.h:648
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawBezier() [3/4]

Status Graphics::DrawBezier ( const Pen pen,
REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2,
REAL  x3,
REAL  y3,
REAL  x4,
REAL  y4 
)
inline

Definition at line 147 of file gdiplusgraphics.h.

148  {
149  return SetStatus(
150  DllExports::GdipDrawBezier(nativeGraphics, pen ? getNat(pen) : NULL, x1, y1, x2, y2, x3, y3, x4, y4));
151  }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
Definition: graphics.c:2654
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
GpGraphics * nativeGraphics
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
Status SetStatus(Status status) const

◆ DrawBezier() [4/4]

Status Graphics::DrawBezier ( const Pen pen,
INT  x1,
INT  y1,
INT  x2,
INT  y2,
INT  x3,
INT  y3,
INT  x4,
INT  y4 
)
inline

Definition at line 154 of file gdiplusgraphics.h.

155  {
156  return SetStatus(
157  DllExports::GdipDrawBezierI(nativeGraphics, pen ? getNat(pen) : NULL, x1, y1, x2, y2, x3, y3, x4, y4));
158  }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
Definition: graphics.c:2679
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
Status SetStatus(Status status) const

◆ DrawBeziers() [1/2]

Status Graphics::DrawBeziers ( const Pen pen,
const Point points,
INT  count 
)
inline

Definition at line 161 of file gdiplusgraphics.h.

162  {
164  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:2713
Status SetStatus(Status status) const

◆ DrawBeziers() [2/2]

Status Graphics::DrawBeziers ( const Pen pen,
const PointF points,
INT  count 
)
inline

Definition at line 167 of file gdiplusgraphics.h.

168  {
170  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:2688
Status SetStatus(Status status) const

◆ DrawCachedBitmap()

Status Graphics::DrawCachedBitmap ( CachedBitmap cb,
INT  x,
INT  y 
)
inline

Definition at line 173 of file gdiplusgraphics.h.

174  {
176  }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
GpStatus WINGDIPAPI GdipDrawCachedBitmap(GpGraphics *graphics, GpCachedBitmap *cachedbmp, INT x, INT y)
Definition: image.c:2020
Status SetStatus(Status status) const

◆ DrawClosedCurve() [1/4]

Status Graphics::DrawClosedCurve ( const Pen pen,
const Point points,
INT  count 
)
inline

Definition at line 179 of file gdiplusgraphics.h.

180  {
182  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:2752
Status SetStatus(Status status) const

◆ DrawClosedCurve() [2/4]

Status Graphics::DrawClosedCurve ( const Pen pen,
const PointF points,
INT  count 
)
inline

Definition at line 185 of file gdiplusgraphics.h.

186  {
188  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:2744

◆ DrawClosedCurve() [3/4]

Status Graphics::DrawClosedCurve ( const Pen pen,
const PointF points,
INT  count,
REAL  tension 
)
inline

Definition at line 191 of file gdiplusgraphics.h.

192  {
193  return SetStatus(
195  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphics.c:2760
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawClosedCurve() [4/4]

Status Graphics::DrawClosedCurve ( const Pen pen,
const Point points,
INT  count,
REAL  tension 
)
inline

Definition at line 198 of file gdiplusgraphics.h.

199  {
200  return SetStatus(
202  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphics.c:2786
Status SetStatus(Status status) const

◆ DrawCurve() [1/6]

Status Graphics::DrawCurve ( const Pen pen,
const Point points,
INT  count 
)
inline

Definition at line 205 of file gdiplusgraphics.h.

206  {
208  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:2822
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawCurve() [2/6]

Status Graphics::DrawCurve ( const Pen pen,
const PointF points,
INT  count 
)
inline

Definition at line 211 of file gdiplusgraphics.h.

212  {
214  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:2814
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawCurve() [3/6]

Status Graphics::DrawCurve ( const Pen pen,
const PointF points,
INT  count,
REAL  tension 
)
inline

Definition at line 217 of file gdiplusgraphics.h.

218  {
219  return SetStatus(DllExports::GdipDrawCurve2(nativeGraphics, pen ? getNat(pen) : NULL, points, count, tension));
220  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count, REAL tension)
Definition: graphics.c:2850
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawCurve() [4/6]

Status Graphics::DrawCurve ( const Pen pen,
const Point points,
INT  count,
INT  offset,
INT  numberOfSegments,
REAL  tension 
)
inline

Definition at line 223 of file gdiplusgraphics.h.

224  {
226  nativeGraphics, pen ? getNat(pen) : NULL, points, count, offset, numberOfSegments, tension));
227  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920
GpStatus WINGDIPAPI GdipDrawCurve3I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count, INT offset, INT numberOfSegments, REAL tension)
Definition: graphics.c:2918
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawCurve() [5/6]

Status Graphics::DrawCurve ( const Pen pen,
const PointF points,
INT  count,
INT  offset,
INT  numberOfSegments,
REAL  tension 
)
inline

Definition at line 230 of file gdiplusgraphics.h.

231  {
233  nativeGraphics, pen ? getNat(pen) : NULL, points, count, offset, numberOfSegments, tension));
234  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawCurve3(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count, INT offset, INT numberOfSegments, REAL tension)
Definition: graphics.c:2905
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawCurve() [6/6]

Status Graphics::DrawCurve ( const Pen pen,
const Point points,
INT  count,
REAL  tension 
)
inline

Definition at line 237 of file gdiplusgraphics.h.

238  {
239  return SetStatus(DllExports::GdipDrawCurve2I(nativeGraphics, pen ? getNat(pen) : NULL, points, count, tension));
240  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count, REAL tension)
Definition: graphics.c:2878
Status SetStatus(Status status) const

◆ DrawDriverString()

Status Graphics::DrawDriverString ( const UINT16 text,
INT  length,
const Font font,
const Brush brush,
const PointF positions,
INT  flags,
const Matrix matrix 
)
inline

Definition at line 243 of file gdiplusgraphics.h.

251  {
253  nativeGraphics, text, length, font ? getNat(font) : NULL, brush ? getNat(brush) : NULL, positions, flags,
254  matrix ? getNat(matrix) : NULL));
255  }
Definition: mk_font.cpp:20
GLuint GLenum matrix
Definition: glext.h:9407
const WCHAR * text
Definition: package.c:1827
smooth NULL
Definition: ftsmooth.c:416
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
GLbitfield flags
Definition: glext.h:7161
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawDriverString(GpGraphics *graphics, GDIPCONST UINT16 *text, INT length, GDIPCONST GpFont *font, GDIPCONST GpBrush *brush, GDIPCONST PointF *positions, INT flags, GDIPCONST GpMatrix *matrix)
Definition: graphics.c:7458
Status SetStatus(Status status) const

◆ DrawEllipse() [1/4]

Status Graphics::DrawEllipse ( const Pen pen,
const Rect rect 
)
inline

Definition at line 258 of file gdiplusgraphics.h.

259  {
261  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
262  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Definition: graphics.c:2960
Status SetStatus(Status status) const

◆ DrawEllipse() [2/4]

Status Graphics::DrawEllipse ( const Pen pen,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)
inline

Definition at line 265 of file gdiplusgraphics.h.

266  {
268  }
GLint GLint GLsizei width
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:2935
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawEllipse() [3/4]

Status Graphics::DrawEllipse ( const Pen pen,
const RectF rect 
)
inline

Definition at line 271 of file gdiplusgraphics.h.

272  {
274  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
275  }
GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:2935
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawEllipse() [4/4]

Status Graphics::DrawEllipse ( const Pen pen,
INT  x,
INT  y,
INT  width,
INT  height 
)
inline

Definition at line 278 of file gdiplusgraphics.h.

279  {
281  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Definition: graphics.c:2960
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [1/16]

Status Graphics::DrawImage ( Image image,
const Point destPoints,
INT  count 
)
inline

Definition at line 284 of file gdiplusgraphics.h.

285  {
286  if (count != 3 && count != 4)
287  return SetStatus(InvalidParameter);
288 
289  return SetStatus(
291  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawImagePointsI(GpGraphics *graphics, GpImage *image, GDIPCONST GpPoint *dstpoints, INT count)
Definition: graphics.c:3044
Status SetStatus(Status status) const

Referenced by DrawImage(), and CAppScrnshotPreview::PaintOnDC().

◆ DrawImage() [2/16]

Status Graphics::DrawImage ( Image image,
INT  x,
INT  y 
)
inline

Definition at line 294 of file gdiplusgraphics.h.

295  {
297  }
GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics *graphics, GpImage *image, INT x, INT y)
Definition: graphics.c:2985
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [3/16]

Status Graphics::DrawImage ( Image image,
const Point point 
)
inline

Definition at line 300 of file gdiplusgraphics.h.

301  {
302  return DrawImage(image, point.X, point.Y);
303  }
POINTL point
Definition: edittest.c:50
Status DrawImage(Image *image, const Point *destPoints, INT count)

◆ DrawImage() [4/16]

Status Graphics::DrawImage ( Image image,
REAL  x,
REAL  y 
)
inline

Definition at line 306 of file gdiplusgraphics.h.

307  {
309  }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipDrawImage(GpGraphics *graphics, GpImage *image, REAL x, REAL y)
Definition: graphics.c:2969
GpGraphics * nativeGraphics
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [5/16]

Status Graphics::DrawImage ( Image image,
const PointF point 
)
inline

Definition at line 312 of file gdiplusgraphics.h.

313  {
314  return DrawImage(image, point.X, point.Y);
315  }
POINTL point
Definition: edittest.c:50
Status DrawImage(Image *image, const Point *destPoints, INT count)

◆ DrawImage() [6/16]

Status Graphics::DrawImage ( Image image,
const PointF destPoints,
INT  count 
)
inline

Definition at line 318 of file gdiplusgraphics.h.

319  {
320  if (count != 3 && count != 4)
321  return SetStatus(InvalidParameter);
322 
323  return SetStatus(
325  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipDrawImagePoints(GpGraphics *graphics, GpImage *image, GDIPCONST GpPointF *dstpoints, INT count)
Definition: graphics.c:3027
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawImage() [7/16]

Status Graphics::DrawImage ( Image image,
REAL  x,
REAL  y,
REAL  srcx,
REAL  srcy,
REAL  srcwidth,
REAL  srcheight,
Unit  srcUnit 
)
inline

Definition at line 328 of file gdiplusgraphics.h.

329  {
331  nativeGraphics, image ? getNat(image) : NULL, x, y, srcx, srcy, srcwidth, srcheight, srcUnit));
332  }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics *graphics, GpImage *image, REAL x, REAL y, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit)
Definition: graphics.c:2993
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [8/16]

Status Graphics::DrawImage ( Image image,
const RectF rect 
)
inline

Definition at line 335 of file gdiplusgraphics.h.

336  {
337  return DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height);
338  }
& rect
Definition: startmenu.cpp:1413
Status DrawImage(Image *image, const Point *destPoints, INT count)

◆ DrawImage() [9/16]

Status Graphics::DrawImage ( Image image,
INT  x,
INT  y,
INT  width,
INT  height 
)
inline

Definition at line 341 of file gdiplusgraphics.h.

342  {
343  return SetStatus(
345  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics *graphics, GpImage *image, INT x, INT y, INT width, INT height)
Definition: graphics.c:3561
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [10/16]

Status Graphics::DrawImage ( Image image,
const PointF destPoints,
INT  count,
REAL  srcx,
REAL  srcy,
REAL  srcwidth,
REAL  srcheight,
Unit  srcUnit,
ImageAttributes imageAttributes,
DrawImageAbort  callback,
VOID callbackData 
)
inline

Definition at line 348 of file gdiplusgraphics.h.

360  {
362  nativeGraphics, image ? getNat(image) : NULL, destPoints, count, srcx, srcy, srcwidth, srcheight, srcUnit,
363  imageAttributes ? getNat(imageAttributes) : NULL, callback, callbackData));
364  }
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics *graphics, GpImage *image, GDIPCONST GpPointF *points, INT count, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData)
Definition: graphics.c:3071
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawImage() [11/16]

Status Graphics::DrawImage ( Image image,
const Rect destRect,
INT  srcx,
INT  srcy,
INT  srcwidth,
INT  srcheight,
Unit  srcUnit,
const ImageAttributes imageAttributes = NULL,
DrawImageAbort  callback = NULL,
VOID callbackData = NULL 
)
inline

Definition at line 367 of file gdiplusgraphics.h.

378  {
380  nativeGraphics, image ? getNat(image) : NULL, destRect.X, destRect.Y, destRect.Width, destRect.Height, srcx,
381  srcy, srcwidth, srcheight, srcUnit, imageAttributes ? getNat(imageAttributes) : NULL, callback,
382  callbackData));
383  }
INT Width
Definition: gdiplustypes.h:671
INT X
Definition: gdiplustypes.h:669
smooth NULL
Definition: ftsmooth.c:416
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
INT Height
Definition: gdiplustypes.h:672
GpStatus WINGDIPAPI GdipDrawImageRectRectI(GpGraphics *graphics, GpImage *image, INT dstx, INT dsty, INT dstwidth, INT dstheight, INT srcx, INT srcy, INT srcwidth, INT srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData)
Definition: graphics.c:3517
INT Y
Definition: gdiplustypes.h:670
Status SetStatus(Status status) const

◆ DrawImage() [12/16]

Status Graphics::DrawImage ( Image image,
const Point destPoints,
INT  count,
INT  srcx,
INT  srcy,
INT  srcwidth,
INT  srcheight,
Unit  srcUnit,
ImageAttributes imageAttributes = NULL,
DrawImageAbort  callback = NULL,
VOID callbackData = NULL 
)
inline

Definition at line 386 of file gdiplusgraphics.h.

398  {
400  nativeGraphics, image ? getNat(image) : NULL, destPoints, count, srcx, srcy, srcwidth, srcheight, srcUnit,
401  imageAttributes ? getNat(imageAttributes) : NULL, callback, callbackData));
402  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics *graphics, GpImage *image, GDIPCONST GpPoint *points, INT count, INT srcx, INT srcy, INT srcwidth, INT srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes *imageAttributes, DrawImageAbort callback, VOID *callbackData)
Definition: graphics.c:3469
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawImage() [13/16]

Status Graphics::DrawImage ( Image image,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)
inline

Definition at line 405 of file gdiplusgraphics.h.

406  {
407  return SetStatus(
409  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics *graphics, GpImage *image, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:3540
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [14/16]

Status Graphics::DrawImage ( Image image,
const Rect rect 
)
inline

Definition at line 412 of file gdiplusgraphics.h.

413  {
414  return DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height);
415  }
& rect
Definition: startmenu.cpp:1413
Status DrawImage(Image *image, const Point *destPoints, INT count)

◆ DrawImage() [15/16]

Status Graphics::DrawImage ( Image image,
INT  x,
INT  y,
INT  srcx,
INT  srcy,
INT  srcwidth,
INT  srcheight,
Unit  srcUnit 
)
inline

Definition at line 418 of file gdiplusgraphics.h.

419  {
421  nativeGraphics, image ? getNat(image) : NULL, x, y, srcx, srcy, srcwidth, srcheight, srcUnit));
422  }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics *graphics, GpImage *image, INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight, GpUnit srcUnit)
Definition: graphics.c:3020
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawImage() [16/16]

Status Graphics::DrawImage ( Image image,
const RectF destRect,
REAL  srcx,
REAL  srcy,
REAL  srcwidth,
REAL  srcheight,
Unit  srcUnit,
ImageAttributes imageAttributes = NULL,
DrawImageAbort  callback = NULL,
VOID callbackData = NULL 
)
inline

Definition at line 425 of file gdiplusgraphics.h.

436  {
438  nativeGraphics, image ? getNat(image) : NULL, destRect.X, destRect.Y, destRect.Width, destRect.Height, srcx,
439  srcy, srcwidth, srcheight, srcUnit, imageAttributes ? getNat(imageAttributes) : NULL, callback,
440  callbackData));
441  }
smooth NULL
Definition: ftsmooth.c:416
REAL Height
Definition: gdiplustypes.h:664
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
REAL X
Definition: gdiplustypes.h:661
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
REAL Width
Definition: gdiplustypes.h:663
REAL Y
Definition: gdiplustypes.h:662
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipDrawImageRectRect(GpGraphics *graphics, GpImage *image, REAL dstx, REAL dsty, REAL dstwidth, REAL dstheight, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit, GDIPCONST GpImageAttributes *imageattr, DrawImageAbort callback, VOID *callbackData)
Definition: graphics.c:3494

◆ DrawLine() [1/4]

Status Graphics::DrawLine ( const Pen pen,
const Point pt1,
const Point pt2 
)
inline

Definition at line 444 of file gdiplusgraphics.h.

445  {
446  return SetStatus(
447  DllExports::GdipDrawLineI(nativeGraphics, pen ? getNat(pen) : NULL, pt1.X, pt1.Y, pt2.X, pt2.Y));
448  }
GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics *graphics, GpPen *pen, INT x1, INT y1, INT x2, INT y2)
Definition: graphics.c:3589
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawLine() [2/4]

Status Graphics::DrawLine ( const Pen pen,
const PointF pt1,
const Point pt2 
)
inline

Definition at line 451 of file gdiplusgraphics.h.

452  {
453  return SetStatus(
454  DllExports::GdipDrawLine(nativeGraphics, pen ? getNat(pen) : NULL, pt1.X, pt1.Y, pt2.X, pt2.Y));
455  }
GpStatus WINGDIPAPI GdipDrawLine(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphics.c:3569
smooth NULL
Definition: ftsmooth.c:416
REAL Y
Definition: gdiplustypes.h:649
friend GpGraphics *& getNat(const Graphics *graphics)
REAL X
Definition: gdiplustypes.h:648
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawLine() [3/4]

Status Graphics::DrawLine ( const Pen pen,
REAL  x1,
REAL  y1,
REAL  x2,
REAL  y2 
)
inline

Definition at line 458 of file gdiplusgraphics.h.

459  {
461  }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipDrawLine(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphics.c:3569
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
GpGraphics * nativeGraphics
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
Status SetStatus(Status status) const

◆ DrawLine() [4/4]

Status Graphics::DrawLine ( const Pen pen,
INT  x1,
INT  y1,
INT  x2,
INT  y2 
)
inline

Definition at line 464 of file gdiplusgraphics.h.

465  {
467  }
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
Definition: winddi.h:3706
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3706
GpStatus WINGDIPAPI GdipDrawLine(GpGraphics *graphics, GpPen *pen, REAL x1, REAL y1, REAL x2, REAL y2)
Definition: graphics.c:3569
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
Definition: winddi.h:3706
GpGraphics * nativeGraphics
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3706
Status SetStatus(Status status) const

◆ DrawLines() [1/2]

Status Graphics::DrawLines ( const Pen pen,
const Point points,
INT  count 
)
inline

Definition at line 470 of file gdiplusgraphics.h.

471  {
473  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:3622
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawLines() [2/2]

Status Graphics::DrawLines ( const Pen pen,
const PointF points,
INT  count 
)
inline

Definition at line 476 of file gdiplusgraphics.h.

477  {
479  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawLines(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:3597
Status SetStatus(Status status) const

◆ DrawPath()

Status Graphics::DrawPath ( const Pen pen,
const GraphicsPath path 
)
inline

Definition at line 482 of file gdiplusgraphics.h.

483  {
484  return SetStatus(
486  }
GpStatus WINGDIPAPI GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *path)
Definition: graphics.c:4066
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawPie() [1/4]

Status Graphics::DrawPie ( const Pen pen,
const Rect rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 489 of file gdiplusgraphics.h.

490  {
492  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle));
493  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4117
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawPie() [2/4]

Status Graphics::DrawPie ( const Pen pen,
INT  x,
INT  y,
INT  width,
INT  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 496 of file gdiplusgraphics.h.

497  {
499  nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle));
500  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4117
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawPie() [3/4]

Status Graphics::DrawPie ( const Pen pen,
REAL  x,
REAL  y,
REAL  width,
REAL  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 503 of file gdiplusgraphics.h.

504  {
506  nativeGraphics, pen ? getNat(pen) : NULL, x, y, width, height, startAngle, sweepAngle));
507  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4091
Status SetStatus(Status status) const

◆ DrawPie() [4/4]

Status Graphics::DrawPie ( const Pen pen,
const RectF rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 510 of file gdiplusgraphics.h.

511  {
513  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle));
514  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipDrawPie(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4091
Status SetStatus(Status status) const

◆ DrawPolygon() [1/2]

Status Graphics::DrawPolygon ( const Pen pen,
const Point points,
INT  count 
)
inline

Definition at line 517 of file gdiplusgraphics.h.

518  {
520  }
GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:6598
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawPolygon() [2/2]

Status Graphics::DrawPolygon ( const Pen pen,
const PointF points,
INT  count 
)
inline

Definition at line 523 of file gdiplusgraphics.h.

524  {
526  }
GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics *graphics, GpPen *pen, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:6572
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawRectangle() [1/4]

Status Graphics::DrawRectangle ( const Pen pen,
const Rect rect 
)
inline

Definition at line 529 of file gdiplusgraphics.h.

530  {
532  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
533  }
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Definition: graphics.c:4151
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawRectangle() [2/4]

Status Graphics::DrawRectangle ( const Pen pen,
INT  x,
INT  y,
INT  width,
INT  height 
)
inline

Definition at line 536 of file gdiplusgraphics.h.

537  {
539  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Definition: graphics.c:4151
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ DrawRectangle() [3/4]

Status Graphics::DrawRectangle ( const Pen pen,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)
inline

Definition at line 542 of file gdiplusgraphics.h.

543  {
545  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics *graphics, GpPen *pen, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:4126

◆ DrawRectangle() [4/4]

Status Graphics::DrawRectangle ( const Pen pen,
const RectF rect 
)
inline

Definition at line 548 of file gdiplusgraphics.h.

549  {
551  nativeGraphics, pen ? getNat(pen) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
552  }
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics *graphics, GpPen *pen, INT x, INT y, INT width, INT height)
Definition: graphics.c:4151
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawRectangles() [1/2]

Status Graphics::DrawRectangles ( const Pen pen,
const Rect rects,
INT  count 
)
inline

Definition at line 555 of file gdiplusgraphics.h.

556  {
558  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics *graphics, GpPen *pen, GDIPCONST GpRect *rects, INT count)
Definition: graphics.c:4184

◆ DrawRectangles() [2/2]

Status Graphics::DrawRectangles ( const Pen pen,
const RectF rects,
INT  count 
)
inline

Definition at line 561 of file gdiplusgraphics.h.

562  {
564  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics *graphics, GpPen *pen, GDIPCONST GpRectF *rects, INT count)
Definition: graphics.c:4159
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawString() [1/3]

Status Graphics::DrawString ( const WCHAR string,
INT  length,
const Font font,
const RectF layoutRect,
const StringFormat stringFormat,
const Brush brush 
)
inline

Definition at line 567 of file gdiplusgraphics.h.

574  {
576  nativeGraphics, string, length, font ? getNat(font) : NULL, &layoutRect,
577  stringFormat ? getNat(stringFormat) : NULL, brush ? brush->nativeBrush : NULL));
578  }
GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFont *font, GDIPCONST RectF *rect, GDIPCONST GpStringFormat *format, GDIPCONST GpBrush *brush)
Definition: graphics.c:5696
Definition: mk_font.cpp:20
smooth NULL
Definition: ftsmooth.c:416
GpBrush * nativeBrush
Definition: gdiplusbrush.h:64
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
static const WCHAR stringFormat[]
Definition: wordpad.c:55
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawString() [2/3]

Status Graphics::DrawString ( const WCHAR string,
INT  length,
const Font font,
const PointF origin,
const Brush brush 
)
inline

Definition at line 581 of file gdiplusgraphics.h.

582  {
583  RectF rect(origin.X, origin.Y, 0.0f, 0.0f);
585  nativeGraphics, string, length, font ? getNat(font) : NULL, &rect, NULL, brush ? getNat(brush) : NULL));
586  }
GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFont *font, GDIPCONST RectF *rect, GDIPCONST GpStringFormat *format, GDIPCONST GpBrush *brush)
Definition: graphics.c:5696
Definition: mk_font.cpp:20
voidpf uLong int origin
Definition: ioapi.h:142
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ DrawString() [3/3]

Status Graphics::DrawString ( const WCHAR string,
INT  length,
const Font font,
const PointF origin,
const StringFormat stringFormat,
const Brush brush 
)
inline

Definition at line 589 of file gdiplusgraphics.h.

596  {
597  RectF rect(origin.X, origin.Y, 0.0f, 0.0f);
599  nativeGraphics, string, length, font ? getNat(font) : NULL, &rect,
600  stringFormat ? getNat(stringFormat) : NULL, brush ? getNat(brush) : NULL));
601  }
GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string, INT length, GDIPCONST GpFont *font, GDIPCONST RectF *rect, GDIPCONST GpStringFormat *format, GDIPCONST GpBrush *brush)
Definition: graphics.c:5696
Definition: mk_font.cpp:20
voidpf uLong int origin
Definition: ioapi.h:142
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
static const WCHAR stringFormat[]
Definition: wordpad.c:55
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ EndContainer()

Status Graphics::EndContainer ( GraphicsContainer  state)
inline

Definition at line 604 of file gdiplusgraphics.h.

605  {
607  }
GpStatus WINGDIPAPI GdipEndContainer(GpGraphics *graphics, GraphicsContainer state)
Definition: graphics.c:6039
static int state
Definition: maze.c:121
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ EnumerateMetafile() [1/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const PointF destPoint,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 610 of file gdiplusgraphics.h.

616  {
617  return SetStatus(NotImplemented);
618  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [2/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const Point destPoints,
INT  count,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 621 of file gdiplusgraphics.h.

628  {
629  return SetStatus(NotImplemented);
630  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [3/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const Point destPoint,
const Rect srcRect,
Unit  srcUnit,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 633 of file gdiplusgraphics.h.

641  {
642  return SetStatus(NotImplemented);
643  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [4/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const PointF destPoints,
INT  count,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 646 of file gdiplusgraphics.h.

653  {
654  return SetStatus(NotImplemented);
655  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [5/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const Rect destRect,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 658 of file gdiplusgraphics.h.

664  {
665  return SetStatus(NotImplemented);
666  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [6/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const RectF destRect,
const RectF srcRect,
Unit  srcUnit,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 669 of file gdiplusgraphics.h.

677  {
678  return SetStatus(NotImplemented);
679  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [7/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const RectF destRect,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 682 of file gdiplusgraphics.h.

688  {
689  return SetStatus(NotImplemented);
690  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [8/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const PointF destPoint,
const RectF srcRect,
Unit  srcUnit,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 693 of file gdiplusgraphics.h.

701  {
702  return SetStatus(NotImplemented);
703  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [9/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const Point destPoints,
INT  count,
const Rect srcRect,
Unit  srcUnit,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 706 of file gdiplusgraphics.h.

715  {
716  return SetStatus(NotImplemented);
717  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [10/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const Rect destRect,
const Rect srcRect,
Unit  srcUnit,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 720 of file gdiplusgraphics.h.

728  {
729  return SetStatus(NotImplemented);
730  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [11/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const PointF destPoints,
INT  count,
const RectF srcRect,
Unit  srcUnit,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 733 of file gdiplusgraphics.h.

742  {
743  return SetStatus(NotImplemented);
744  }
Status SetStatus(Status status) const

◆ EnumerateMetafile() [12/12]

Status Graphics::EnumerateMetafile ( const Metafile metafile,
const Point destPoint,
EnumerateMetafileProc  callback,
VOID callbackData = NULL,
const ImageAttributes imageAttributes = NULL 
)
inline

Definition at line 747 of file gdiplusgraphics.h.

753  {
754  return SetStatus(NotImplemented);
755  }
Status SetStatus(Status status) const

◆ ExcludeClip() [1/3]

Status Graphics::ExcludeClip ( const Rect rect)
inline

Definition at line 758 of file gdiplusgraphics.h.

759  {
760  return SetStatus(
762  }
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics *graphics, INT x, INT y, INT width, INT height, CombineMode mode)
Definition: graphics.c:6518
Status SetStatus(Status status) const

◆ ExcludeClip() [2/3]

Status Graphics::ExcludeClip ( const RectF rect)
inline

Definition at line 765 of file gdiplusgraphics.h.

766  {
767  return SetStatus(
769  }
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics *graphics, REAL x, REAL y, REAL width, REAL height, CombineMode mode)
Definition: graphics.c:6473
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ ExcludeClip() [3/3]

Status Graphics::ExcludeClip ( const Region region)
inline

Definition at line 772 of file gdiplusgraphics.h.

773  {
775  }
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics *graphics, GpRegion *region, CombineMode mode)
Definition: graphics.c:6533
Status SetStatus(Status status) const

◆ FillClosedCurve() [1/4]

Status Graphics::FillClosedCurve ( const Brush brush,
const Point points,
INT  count 
)
inline

Definition at line 778 of file gdiplusgraphics.h.

779  {
781  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GpStatus WINGDIPAPI GdipFillClosedCurveI(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:4282

◆ FillClosedCurve() [2/4]

Status Graphics::FillClosedCurve ( const Brush brush,
const Point points,
INT  count,
FillMode  fillMode,
REAL  tension 
)
inline

Definition at line 784 of file gdiplusgraphics.h.

785  {
787  nativeGraphics, brush ? getNat(brush) : NULL, points, count, tension, fillMode));
788  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipFillClosedCurve2I(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count, REAL tension, GpFillMode fill)
Definition: graphics.c:4242
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GLenum fillMode
Definition: glext.h:11728

◆ FillClosedCurve() [3/4]

Status Graphics::FillClosedCurve ( const Brush brush,
const PointF points,
INT  count 
)
inline

Definition at line 791 of file gdiplusgraphics.h.

792  {
794  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillClosedCurve(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:4274
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillClosedCurve() [4/4]

Status Graphics::FillClosedCurve ( const Brush brush,
const PointF points,
INT  count,
FillMode  fillMode,
REAL  tension 
)
inline

Definition at line 797 of file gdiplusgraphics.h.

798  {
800  nativeGraphics, brush ? getNat(brush) : NULL, points, count, tension, fillMode));
801  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipFillClosedCurve2(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count, REAL tension, GpFillMode fill)
Definition: graphics.c:4213
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GLenum fillMode
Definition: glext.h:11728

◆ FillEllipse() [1/4]

Status Graphics::FillEllipse ( const Brush brush,
const Rect rect 
)
inline

Definition at line 804 of file gdiplusgraphics.h.

805  {
807  nativeGraphics, brush ? getNat(brush) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
808  }
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height)
Definition: graphics.c:4319
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

Referenced by CAppScrnshotPreview::PaintOnDC().

◆ FillEllipse() [2/4]

Status Graphics::FillEllipse ( const Brush brush,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)
inline

Definition at line 811 of file gdiplusgraphics.h.

812  {
813  return SetStatus(
815  }
GLint GLint GLsizei width
Definition: gl.h:1546
GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:4290
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ FillEllipse() [3/4]

Status Graphics::FillEllipse ( const Brush brush,
const RectF rect 
)
inline

Definition at line 818 of file gdiplusgraphics.h.

819  {
821  nativeGraphics, brush ? getNat(brush) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
822  }
GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:4290
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillEllipse() [4/4]

Status Graphics::FillEllipse ( const Brush brush,
INT  x,
INT  y,
INT  width,
INT  height 
)
inline

Definition at line 825 of file gdiplusgraphics.h.

826  {
827  return SetStatus(
829  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height)
Definition: graphics.c:4319
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ FillPath()

Status Graphics::FillPath ( const Brush brush,
const GraphicsPath path 
)
inline

Definition at line 832 of file gdiplusgraphics.h.

833  {
835  }
GpStatus WINGDIPAPI GdipFillPath(GpGraphics *graphics, GpBrush *brush, GpPath *path)
Definition: graphics.c:4391
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillPie() [1/4]

Status Graphics::FillPie ( const Brush brush,
const Rect rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 838 of file gdiplusgraphics.h.

839  {
841  nativeGraphics, brush ? getNat(brush) : NULL, rect.X, rect.Y, rect.Width, rect.Height, startAngle,
842  sweepAngle));
843  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillPieI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4454
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillPie() [2/4]

Status Graphics::FillPie ( const Brush brush,
INT  x,
INT  y,
INT  width,
INT  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 846 of file gdiplusgraphics.h.

847  {
849  nativeGraphics, brush ? getNat(brush) : NULL, x, y, width, height, startAngle, sweepAngle));
850  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillPieI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4454
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ FillPie() [3/4]

Status Graphics::FillPie ( const Brush brush,
REAL  x,
REAL  y,
REAL  width,
REAL  height,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 853 of file gdiplusgraphics.h.

854  {
856  nativeGraphics, brush ? getNat(brush) : NULL, x, y, width, height, startAngle, sweepAngle));
857  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipFillPie(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4424
Status SetStatus(Status status) const

◆ FillPie() [4/4]

Status Graphics::FillPie ( const Brush brush,
RectF rect,
REAL  startAngle,
REAL  sweepAngle 
)
inline

Definition at line 860 of file gdiplusgraphics.h.

861  {
863  nativeGraphics, brush ? getNat(brush) : NULL, rect.X, rect.Y, rect.Width, rect.Height, startAngle,
864  sweepAngle));
865  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipFillPie(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Definition: graphics.c:4424
Status SetStatus(Status status) const

◆ FillPolygon() [1/4]

Status Graphics::FillPolygon ( const Brush brush,
const Point points,
INT  count 
)
inline

Definition at line 868 of file gdiplusgraphics.h.

869  {
871  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count)
Definition: graphics.c:4529
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillPolygon() [2/4]

Status Graphics::FillPolygon ( const Brush brush,
const PointF points,
INT  count 
)
inline

Definition at line 874 of file gdiplusgraphics.h.

875  {
877  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count)
Definition: graphics.c:4521
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillPolygon() [3/4]

Status Graphics::FillPolygon ( const Brush brush,
const Point points,
INT  count,
FillMode  fillMode 
)
inline

Definition at line 880 of file gdiplusgraphics.h.

881  {
882  return SetStatus(
884  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPoint *points, INT count, GpFillMode fillMode)
Definition: graphics.c:4492
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GLenum fillMode
Definition: glext.h:11728

◆ FillPolygon() [4/4]

Status Graphics::FillPolygon ( const Brush brush,
const PointF points,
INT  count,
FillMode  fillMode 
)
inline

Definition at line 887 of file gdiplusgraphics.h.

888  {
889  return SetStatus(
891  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
GLsizei const GLfloat * points
Definition: glext.h:8112
friend GpGraphics *& getNat(const Graphics *graphics)
GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpPointF *points, INT count, GpFillMode fillMode)
Definition: graphics.c:4463
GpGraphics * nativeGraphics
Status SetStatus(Status status) const
GLenum fillMode
Definition: glext.h:11728

◆ FillRectangle() [1/4]

Status Graphics::FillRectangle ( const Brush brush,
const Rect rect 
)
inline

Definition at line 894 of file gdiplusgraphics.h.

895  {
897  nativeGraphics, brush ? getNat(brush) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
898  }
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height)
Definition: graphics.c:4552
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillRectangle() [2/4]

Status Graphics::FillRectangle ( const Brush brush,
const RectF rect 
)
inline

Definition at line 901 of file gdiplusgraphics.h.

902  {
904  nativeGraphics, brush ? getNat(brush) : NULL, rect.X, rect.Y, rect.Width, rect.Height));
905  }
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:4537
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ FillRectangle() [3/4]

Status Graphics::FillRectangle ( const Brush brush,
REAL  x,
REAL  y,
REAL  width,
REAL  height 
)
inline

Definition at line 908 of file gdiplusgraphics.h.

909  {
910  return SetStatus(
912  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics *graphics, GpBrush *brush, REAL x, REAL y, REAL width, REAL height)
Definition: graphics.c:4537
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ FillRectangle() [4/4]

Status Graphics::FillRectangle ( const Brush brush,
INT  x,
INT  y,
INT  width,
INT  height 
)
inline

Definition at line 915 of file gdiplusgraphics.h.

916  {
917  return SetStatus(
919  }
GLint GLint GLsizei width
Definition: gl.h:1546
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics *graphics, GpBrush *brush, INT x, INT y, INT width, INT height)
Definition: graphics.c:4552
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ FillRectangles() [1/2]

Status Graphics::FillRectangles ( const Brush brush,
const Rect rects,
INT  count 
)
inline

Definition at line 922 of file gdiplusgraphics.h.

923  {
924  return SetStatus(DllExports::GdipFillRectanglesI(nativeGraphics, brush ? getNat(brush) : NULL, rects, count));
925  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpRect *rects, INT count)
Definition: graphics.c:4596
Status SetStatus(Status status) const

◆ FillRectangles() [2/2]

Status Graphics::FillRectangles ( const Brush brush,
const RectF rects,
INT  count 
)
inline

Definition at line 928 of file gdiplusgraphics.h.

929  {
930  return SetStatus(DllExports::GdipFillRectangles(nativeGraphics, brush ? getNat(brush) : NULL, rects, count));
931  }
GLuint GLuint GLsizei count
Definition: gl.h:1545
smooth NULL
Definition: ftsmooth.c:416
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics *graphics, GpBrush *brush, GDIPCONST GpRectF *rects, INT count)
Definition: graphics.c:4567
Status SetStatus(Status status) const

◆ FillRegion()

Status Graphics::FillRegion ( const Brush brush,
const Region region 
)
inline

Definition at line 934 of file gdiplusgraphics.h.

935  {
937  }
GpStatus WINGDIPAPI GdipFillRegion(GpGraphics *graphics, GpBrush *brush, GpRegion *region)
Definition: graphics.c:4758
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ Flush()

VOID Graphics::Flush ( FlushIntention  intention)
inline

Definition at line 940 of file gdiplusgraphics.h.

941  {
943  }
GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
Definition: graphics.c:4786
GpGraphics * nativeGraphics

◆ FromHDC() [1/2]

static Graphics* Graphics::FromHDC ( HDC  hdc)
inlinestatic

Definition at line 946 of file gdiplusgraphics.h.

947  {
948  return new Graphics(hdc);
949  }
Graphics(Image *image)
HDC hdc
Definition: main.c:9

◆ FromHDC() [2/2]

static Graphics* Graphics::FromHDC ( HDC  hdc,
HANDLE  hDevice 
)
inlinestatic

Definition at line 952 of file gdiplusgraphics.h.

953  {
954  return new Graphics(hdc, hDevice);
955  }
Graphics(Image *image)
HDC hdc
Definition: main.c:9

◆ FromHWND()

static Graphics* Graphics::FromHWND ( HWND  hWnd,
BOOL  icm 
)
inlinestatic

Definition at line 958 of file gdiplusgraphics.h.

959  {
960  return new Graphics(hWnd, icm);
961  }
Graphics(Image *image)
HWND hWnd
Definition: settings.c:17

◆ FromImage()

static Graphics* Graphics::FromImage ( Image image)
inlinestatic

Definition at line 964 of file gdiplusgraphics.h.

965  {
966  return new Graphics(image);
967  }
Graphics(Image *image)

◆ GetClip()

Status Graphics::GetClip ( Region region) const
inline

Definition at line 970 of file gdiplusgraphics.h.

971  {
973  }
GpStatus WINGDIPAPI GdipGetClip(GpGraphics *graphics, GpRegion *region)
Definition: graphics.c:6809
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetClipBounds() [1/2]

Status Graphics::GetClipBounds ( Rect rect) const
inline

Definition at line 976 of file gdiplusgraphics.h.

977  {
979  }
GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics *graphics, GpRect *rect)
Definition: graphics.c:4834
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetClipBounds() [2/2]

Status Graphics::GetClipBounds ( RectF rect) const
inline

Definition at line 982 of file gdiplusgraphics.h.

983  {
985  }
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics *graphics, GpRectF *rect)
Definition: graphics.c:4807
Status SetStatus(Status status) const

◆ GetCompositingMode()

CompositingMode Graphics::GetCompositingMode ( ) const
inline

Definition at line 988 of file gdiplusgraphics.h.

989  {
990  CompositingMode compositingMode;
992  return compositingMode;
993  }
CompositingMode
Definition: gdiplusenums.h:247
GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics *graphics, CompositingMode *mode)
Definition: graphics.c:4848
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetCompositingQuality()

CompositingQuality Graphics::GetCompositingQuality ( ) const
inline

Definition at line 996 of file gdiplusgraphics.h.

997  {
998  CompositingQuality compositingQuality;
1000  return compositingQuality;
1001  }
GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics *graphics, CompositingQuality *quality)
Definition: graphics.c:4865
CompositingQuality
Definition: gdiplusenums.h:130
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetDpiX()

REAL Graphics::GetDpiX ( ) const
inline

Definition at line 1004 of file gdiplusgraphics.h.

1005  {
1006  REAL dpi;
1008  return dpi;
1009  }
GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics *graphics, REAL *dpi)
Definition: graphics.c:6621
#define dpi
Definition: sysparams.c:22
GpGraphics * nativeGraphics
float REAL
Definition: types.h:41
Status SetStatus(Status status) const

◆ GetDpiY()

REAL Graphics::GetDpiY ( ) const
inline

Definition at line 1012 of file gdiplusgraphics.h.

1013  {
1014  REAL dpi;
1016  return dpi;
1017  }
GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics *graphics, REAL *dpi)
Definition: graphics.c:6635
#define dpi
Definition: sysparams.c:22
GpGraphics * nativeGraphics
float REAL
Definition: types.h:41
Status SetStatus(Status status) const

◆ GetHalftonePalette()

static HPALETTE Graphics::GetHalftonePalette ( )
inlinestatic

Definition at line 1020 of file gdiplusgraphics.h.

1021  {
1022  return NULL;
1023  }
smooth NULL
Definition: ftsmooth.c:416

◆ GetHDC()

HDC Graphics::GetHDC ( )
inline

Definition at line 1026 of file gdiplusgraphics.h.

1027  {
1028  HDC hdc = NULL;
1030  return hdc;
1031  }
static HDC
Definition: imagelist.c:92
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipGetDC(GpGraphics *graphics, HDC *hdc)
Definition: graphics.c:6682
HDC hdc
Definition: main.c:9
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetInterpolationMode()

InterpolationMode Graphics::GetInterpolationMode ( ) const
inline

Definition at line 1034 of file gdiplusgraphics.h.

1035  {
1036  InterpolationMode interpolationMode;
1038  return interpolationMode;
1039  }
GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics *graphics, InterpolationMode *mode)
Definition: graphics.c:4882
InterpolationMode
Definition: gdiplusenums.h:140
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetLastStatus()

Status Graphics::GetLastStatus ( ) const
inline

Definition at line 1042 of file gdiplusgraphics.h.

1043  {
1044  return lastStatus;
1045  }
Status lastStatus

◆ GetNearestColor()

Status Graphics::GetNearestColor ( Color color) const
inline

Definition at line 1048 of file gdiplusgraphics.h.

1049  {
1050  if (color == NULL)
1051  return SetStatus(InvalidParameter);
1052 
1053  ARGB argb = color->GetValue();
1055 
1056  color->SetValue(argb);
1057  return lastStatus;
1058  }
GLuint color
Definition: glext.h:6243
smooth NULL
Definition: ftsmooth.c:416
GpStatus WINGDIPAPI GdipGetNearestColor(GpGraphics *graphics, ARGB *argb)
Definition: graphics.c:4899
GpGraphics * nativeGraphics
Status lastStatus
Status SetStatus(Status status) const
DWORD ARGB

◆ GetPageScale()

REAL Graphics::GetPageScale ( ) const
inline

Definition at line 1061 of file gdiplusgraphics.h.

1062  {
1063  REAL scale;
1065  return scale;
1066  }
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:9032
GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics *graphics, REAL *scale)
Definition: graphics.c:4912
GpGraphics * nativeGraphics
float REAL
Definition: types.h:41
Status SetStatus(Status status) const

◆ GetPageUnit()

Unit Graphics::GetPageUnit ( ) const
inline

Definition at line 1069 of file gdiplusgraphics.h.

1070  {
1071  Unit unit;
1073  return unit;
1074  }
Unit
Definition: gdiplusenums.h:25
png_const_structrp png_const_inforp int * unit
Definition: png.h:2161
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics *graphics, GpUnit *unit)
Definition: graphics.c:4927
Status SetStatus(Status status) const

◆ GetPixelOffsetMode()

PixelOffsetMode Graphics::GetPixelOffsetMode ( ) const
inline

Definition at line 1077 of file gdiplusgraphics.h.

1078  {
1079  PixelOffsetMode pixelOffsetMode;
1081  return pixelOffsetMode;
1082  }
GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics *graphics, PixelOffsetMode *mode)
Definition: graphics.c:4943
PixelOffsetMode
Definition: gdiplusenums.h:159
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetRenderingOrigin()

Status Graphics::GetRenderingOrigin ( INT x,
INT y 
) const
inline

Definition at line 1085 of file gdiplusgraphics.h.

1086  {
1088  }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GpStatus WINGDIPAPI GdipGetRenderingOrigin(GpGraphics *graphics, INT *x, INT *y)
Definition: graphics.c:6276
GpGraphics * nativeGraphics
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
Status SetStatus(Status status) const

◆ GetSmoothingMode()

SmoothingMode Graphics::GetSmoothingMode ( ) const
inline

Definition at line 1091 of file gdiplusgraphics.h.

1092  {
1093  SmoothingMode smoothingMode;
1095  return smoothingMode;
1096  }
GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics *graphics, SmoothingMode *mode)
Definition: graphics.c:4960
SmoothingMode
Definition: gdiplusenums.h:120
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetTextContrast()

UINT Graphics::GetTextContrast ( ) const
inline

Definition at line 1099 of file gdiplusgraphics.h.

1100  {
1101  UINT contrast;
1103  return contrast;
1104  }
GpGraphics * nativeGraphics
unsigned int UINT
Definition: ndis.h:50
GpStatus WINGDIPAPI GdipGetTextContrast(GpGraphics *graphics, UINT *contrast)
Definition: graphics.c:4975
Status SetStatus(Status status) const

◆ GetTextGammaValue()

UINT Graphics::GetTextGammaValue ( ) const
inline

Definition at line 1115 of file gdiplusgraphics.h.

1116  {
1117 #if 1
1118  return SetStatus(NotImplemented); // FIXME
1119 #else
1120  UINT gammaValue;
1121  SetStatus(DllExports::GdipGetTextGammaValue(nativeGraphics, &gammaValue));
1122  return gammaValue;
1123 #endif
1124  }
GpGraphics * nativeGraphics
unsigned int UINT
Definition: ndis.h:50
Status SetStatus(Status status) const

◆ GetTextRenderingHint()

TextRenderingHint Graphics::GetTextRenderingHint ( ) const
inline

Definition at line 1107 of file gdiplusgraphics.h.

1108  {
1111  return mode;
1112  }
GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics *graphics, TextRenderingHint *hint)
Definition: graphics.c:4988
TextRenderingHint
Definition: gdiplusenums.h:253
GLenum mode
Definition: glext.h:6217
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetTransform()

Status Graphics::GetTransform ( Matrix matrix) const
inline

Definition at line 1127 of file gdiplusgraphics.h.

1128  {
1130  }
GLuint GLenum matrix
Definition: glext.h:9407
GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics *graphics, GpMatrix *matrix)
Definition: graphics.c:5062
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetVisibleClipBounds() [1/2]

Status Graphics::GetVisibleClipBounds ( Rect rect) const
inline

Definition at line 1133 of file gdiplusgraphics.h.

1134  {
1136  }
& rect
Definition: startmenu.cpp:1413
GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI(GpGraphics *graphics, GpRect *rect)
Definition: graphics.c:5041
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ GetVisibleClipBounds() [2/2]

Status Graphics::GetVisibleClipBounds ( RectF rect) const
inline

Definition at line 1139 of file gdiplusgraphics.h.

1140  {
1142  }
GpStatus WINGDIPAPI GdipGetVisibleClipBounds(GpGraphics *graphics, GpRectF *rect)
Definition: graphics.c:5004
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ IntersectClip() [1/3]

Status Graphics::IntersectClip ( const Rect rect)
inline

Definition at line 1145 of file gdiplusgraphics.h.

1146  {
1148  nativeGraphics, rect.X, rect.Y, rect.Width, rect.Height, CombineModeIntersect));
1149  }
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics *graphics, INT x, INT y, INT width, INT height, CombineMode mode)
Definition: graphics.c:6518
Status SetStatus(Status status) const

◆ IntersectClip() [2/3]

Status Graphics::IntersectClip ( const Region region)
inline

Definition at line 1152 of file gdiplusgraphics.h.

1153  {
1155  }
friend GpGraphics *& getNat(const Graphics *graphics)
GpGraphics * nativeGraphics
GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics *graphics, GpRegion *region, CombineMode mode)
Definition: graphics.c:6533
Status SetStatus(Status status) const

◆ IntersectClip() [3/3]

Status Graphics::IntersectClip ( const RectF rect)
inline

Definition at line 1158 of file gdiplusgraphics.h.

1159  {
1160  return SetStatus(
1162  }
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics *graphics, REAL x, REAL y, REAL width, REAL height, CombineMode mode)
Definition: graphics.c:6473
& rect
Definition: startmenu.cpp:1413
GpGraphics * nativeGraphics
Status SetStatus(Status status) const

◆ IsClipEmpty()

BOOL Graphics::IsClipEmpty ( ) const
inline

Definition at line 1165 of file gdiplusgraphics.h.

1166  {
1167  BOOL result;
1169  return result;
1170  }
GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics *graphics, BOOL *res)
Definition: graphics.c:5109
unsigned int BOOL
Definition: ntddk_ex.h:94
GpGraphics * nativeGraphics
GLuint64EXT * result
Definition: glext.h:11304
Status SetStatus(Status status) const

◆ IsVisible() [1/8]

BOOL Graphics::IsVisible ( const Point point) const
inline

Definition at line 1173 of file gdiplusgraphics.h.

1174  {
1175  BOOL result;
1177  return result;
1178  }
GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics *graphics, INT x, INT y, BOOL *result)
Definition: graphics.c:5152