Grafikfunktionen

Windows GDI+ macht eine flache API verfügbar, die aus etwa 600 Funktionen besteht, die in Gdiplus.dll implementiert und in Gdiplusflat.h deklariert werden. Die Funktionen in der GDI+ flachen API werden von einer Sammlung von etwa 40 C++-Klassen umschlossen. Es wird empfohlen, die Funktionen in der flachen API nicht direkt aufzurufen. Wenn Sie aufruft, GDI+, sollten Sie dazu die Methoden und Funktionen aufrufen, die von den C++-Wrappern bereitgestellt werden. Microsoft Product Support Services bietet keine Unterstützung für Code, der die flache API direkt aufruft. Weitere Informationen zur Verwendung dieser Wrappermethoden finden Sie unter GDI+ Flat-API.

Die folgenden flachen API-Funktionen werden von der Graphics C++-Klasse umschlossen.

Grafikfunktionen und entsprechende Wrappermethoden

Flat-Funktion Wrappermethode Bemerkungen
GpStatus WINGDIPAPI GdipFlush(GpGraphics * graphics, GpFlushIntention intention)
VOID Graphics::Flush(IN FlushIntention intention = FlushIntentionFlush) Leert alle ausstehenden Grafikvorgänge.
GpStatus WINGDIPAPI GdipCreateFromHDC(HDC hdc, GpGraphics * * graphics)
Graphics::Graphics(IN HDC hdc) Erstellt ein Grafikobjekt, das einem angegebenen Gerätekontext zugeordnet ist.
GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics * * graphics)
Graphics::Graphics(IN HDC hdc, IN HANDLE hdevice) Erstellt ein Grafikobjekt, das einem angegebenen Gerätekontext und einem angegebenen Gerät zugeordnet ist.
GpStatus WINGDIPAPI GdipCreateFromHWND(HWND hwnd, GpGraphics * * graphics)
Graphics::Graphics(IN HWND hwnd, IN BOOL icm = FALSE) Erstellt ein Grafikobjekt, das einem angegebenen Fenster zugeordnet ist.
GpStatus WINGDIPAPI GdipCreateFromHWNDICM(HWND hwnd, GpGraphics * * graphics)
Graphics::Graphics(IN HWND hwnd, IN BOOL icm = FALSE) Diese Funktion verwendet die Bildfarbverwaltung (ICM). Sie wird aufgerufen, wenn der icm-Parameter des Graphics::Graphics-Konstruktors auf TRUE festgelegt ist.
GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics * graphics)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipGetDC(GpGraphics * graphics, HDC * hdc)
HDC Graphics::GetHDC() Ruft ein Handle für den Gerätekontext ab, der diesem Graphics-Objekt zugeordnet ist.
GpStatus WINGDIPAPI GdipReleaseDC(GpGraphics * graphics, HDC hdc)
VOID Graphics::ReleaseHDC(IN HDC hdc) Gibt ein Gerätekontexthandle frei, das durch einen vorherigen Aufruf der Graphics::GetHDC-Methode dieses Grafikobjekts abgerufen wurde.
GpStatus WINGDIPAPI GdipSetCompositingMode(GpGraphics * graphics, CompositingMode compositingMode)
Status Graphics::SetCompositingMode(IN CompositingMode compositingMode) Legt den Compositingmodus dieses Grafikobjekts fest.
GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics * graphics, CompositingMode * compositingMode)
Status Graphics::GetCompositingMode() const Ruft den derzeit für dieses Graphics-Objekt festgelegten Compositingmodus ab.
GpStatus WINGDIPAPI GdipSetRenderingOrigin(GpGraphics * graphics, INT x, INT y)
Status graphics::SetRenderingOrigin(IN INT x, INT y) Legt den Renderingursprung dieses Grafikobjekts fest. Der Renderingursprung wird verwendet, um den Ditherursprung für 8-Bit-pro-Pixel- und 16-Bits-pro-Pixel-Dithering festzulegen, und wird auch verwendet, um den Ursprung für Schraffurpinsel festzulegen. Syntax
GpStatus WINGDIPAPI GdipGetRenderingOrigin(GpGraphics * graphics, INT * x, INT * y)
Status graphics::GetRenderingOrigin(OUT INT * x, OUT INT * y) const Ruft den Renderingursprung ab, der derzeit für dieses Graphics-Objekt festgelegt ist. Der Renderingursprung wird verwendet, um den Ditherursprung für 8 Bits pro Pixel und 16 Bits pro Pixel-Dithering festzulegen, und wird auch verwendet, um den Ursprung für Schraffurpinsel festzulegen.
GpStatus WINGDIPAPI GdipSetCompositingQuality(GpGraphics * graphics, CompositingQuality compositingQuality)
Status Graphics::SetCompositingQuality(IN CompositingQuality compositingQuality) Legt die Compositingqualität dieses Grafikobjekts fest.
GpStatus WINGDIPAPI GdipGetCompositingQuality(GpGraphics * graphics, CompositingQuality * compositingQuality)
CompositingQuality Graphics::GetCompositingQuality() const Ruft die derzeit für dieses Graphics-Objekt festgelegte Compositingqualität ab.
GpStatus WINGDIPAPI GdipSetSmoothingMode(GpGraphics * graphics, SmoothingMode smoothingMode)
Status Graphics::SetSmoothingMode(IN SmoothingMode smoothingMode) Legt die Renderingqualität des Graphics-Objekts fest.
GpStatus WINGDIPAPI GdipGetSmoothingMode(GpGraphics * graphics, SmoothingMode * smoothingMode)
SmoothingMode Graphics::GetSmoothingMode() const Bestimmt, ob glättung (Antialiasing) auf das Graphics-Objekt angewendet wird.
GpStatus WINGDIPAPI GdipSetPixelOffsetMode(GpGraphics * graphics, PixelOffsetMode pixelOffsetMode)
Status Graphics::SetPixelOffsetMode(IN PixelOffsetMode pixelOffsetMode) Legt den Pixeloffsetmodus dieses Grafikobjekts fest.
GpStatus WINGDIPAPI GdipGetPixelOffsetMode(GpGraphics * graphics, PixelOffsetMode * pixelOffsetMode)
PixelOffsetMode Graphics::GetPixelOffsetMode() const Ruft den Pixeloffsetmodus ab, der derzeit für dieses Graphics-Objekt festgelegt ist.
GpStatus WINGDIPAPI GdipSetTextRenderingHint(GpGraphics * graphics, TextRenderingHint mode)
Status Graphics::SetTextRenderingHint(IN TextRenderingHint newMode) Legt den Textrenderingmodus dieses Grafikobjekts fest.
GpStatus WINGDIPAPI GdipGetTextRenderingHint(GpGraphics * graphics, TextRenderingHint * mode)
TextRenderingHint Graphics::GetTextRenderingHint() const Ruft den derzeit für dieses Grafikobjekt festgelegten Textrenderingmodus ab.
GpStatus WINGDIPAPI GdipSetTextContrast(GpGraphics * graphics, UINT contrast)
Statusgrafik::SetTextContrast(IN UINT-Kontrast) Legt den Kontrastwert dieses Grafikobjekts fest. Der Kontrastwert wird für Antialiasingtext verwendet.
GpStatus WINGDIPAPI GdipGetTextContrast(GpGraphics * graphics, UINT * contrast)
UINT Graphics::GetTextContrast() const Ruft den aktuell für dieses Graphics-Objekt festgelegten Kontrastwert ab. Der Kontrastwert wird für Antialiasingtext verwendet.
GpStatus WINGDIPAPI GdipSetInterpolationMode(GpGraphics * graphics, InterpolationMode interpolationMode)
Status Graphics::SetInterpolationMode(IN InterpolationMode interpolationMode) Legt den Interpolationsmodus dieses Grafikobjekts fest. Der Interpolationsmodus bestimmt den Algorithmus, der verwendet wird, wenn Bilder skaliert oder gedreht werden.
GpStatus WINGDIPAPI GdipGraphicsSetAbort(GpGraphics * pGraphics, GdiplusAbort * pIAbort)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipGetInterpolationMode(GpGraphics * graphics, InterpolationMode * interpolationMode)
InterpolationMode Graphics::GetInterpolationMode() const Ruft den interpolationsmodus ab, der derzeit für dieses Graphics-Objekt festgelegt ist. Der Interpolationsmodus bestimmt den Algorithmus, der verwendet wird, wenn Bilder skaliert oder gedreht werden.
GpStatus WINGDIPAPI GdipSetWorldTransform(GpGraphics * graphics, GpMatrix * matrix)
Status graphics::SetTransform(IN const Matrix * matrix) Legt die Welttransformation dieses Grafikobjekts fest.
GpStatus WINGDIPAPI GdipResetWorldTransform(GpGraphics * graphics)
Statusgrafik::ResetTransform() Legt die Welttransformationsmatrix dieses Grafikobjekts auf die Identitätsmatrix fest.
GpStatus WINGDIPAPI GdipMultiplyWorldTransform(GpGraphics * graphics, GDIPCONST GpMatrix * matrix, GpMatrixOrder order)
Status Graphics::MultiplyTransform(IN const Matrix * matrix, IN MatrixOrder order = MatrixOrderPrepend) Aktualisiert die Welttransformationsmatrix dieses Grafikobjekts mit dem Produkt von sich selbst und einer anderen Matrix.
GpStatus WINGDIPAPI GdipTranslateWorldTransform(GpGraphics * graphics, REAL dx, REAL dy, GpMatrixOrder order)
Status Graphics::TranslateTransform(IN REAL dx, IN REAL dy, IN MatrixOrder order = MatrixOrderPrepend) Aktualisiert die Welttransformationsmatrix dieses Grafikobjekts mit dem Produkt selbst und einer Übersetzungsmatrix.
GpStatus WINGDIPAPI GdipScaleWorldTransform(GpGraphics * graphics, REAL sx, REAL sy, GpMatrixOrder order)
Status Graphics::ScaleTransform(IN REAL sx, IN REAL sy, IN MatrixOrder order = MatrixOrderPrepend) Aktualisiert die Welttransformationsmatrix dieses Grafikobjekts mit dem Produkt selbst und einer Skalierungsmatrix.
GpStatus WINGDIPAPI GdipRotateWorldTransform(GpGraphics * graphics, REAL angle, GpMatrixOrder order)
Status Graphics::RotateTransform(IN REAL angle, IN MatrixOrder order = MatrixOrderPrepend) Aktualisiert die Welttransformationsmatrix dieses Grafikobjekts mit dem Produkt selbst und einer Drehungsmatrix.
GpStatus WINGDIPAPI GdipGetWorldTransform(GpGraphics * graphics, GpMatrix * matrix)
Status graphics::GetTransform(OUT Matrix * matrix) const Ruft die Welttransformationsmatrix dieses Graphics-Objekts ab.
GpStatus WINGDIPAPI GdipResetPageTransform(GpGraphics * graphics)
Wird nicht von Wrappermethoden aufgerufen.
Diese Funktion setzt die Seitentransformationsmatrix auf identity zurück.
GpStatus WINGDIPAPI GdipGetPageUnit(GpGraphics * graphics, GpUnit * unit)
Unit Graphics::GetPageUnit() const Ruft die Maßeinheit ab, die derzeit für dieses Graphics-Objekt festgelegt ist.
GpStatus WINGDIPAPI GdipGetPageScale(GpGraphics * graphics, REAL * scale)
REAL Graphics::GetPageScale() const Ruft den Skalierungsfaktor ab, der derzeit für die Seitentransformation dieses Grafikobjekts festgelegt ist. Die Seitentransformation konvertiert Seitenkoordinaten in Gerätekoordinaten.
GpStatus WINGDIPAPI GdipSetPageUnit(GpGraphics * graphics, GpUnit unit)
Status graphics::SetPageUnit(IN Unit unit) Legt die Maßeinheit für dieses Grafikobjekt fest. Die Seiteneinheit gehört zur Seitentransformation, die Seitenkoordinaten in Gerätekoordinaten konvertiert.
GpStatus WINGDIPAPI GdipSetPageScale(GpGraphics * graphics, REAL scale)
Statusgrafik::SetPageScale(IN REAL-Skalierung) Legt den Skalierungsfaktor für die Seitentransformation dieses Grafikobjekts fest. Die Seitentransformation konvertiert Seitenkoordinaten in Gerätekoordinaten.
GpStatus WINGDIPAPI GdipGetDpiX(GpGraphics * graphics, REAL * dpi)
REAL Graphics::GetDpiX() const Ruft die horizontale Auflösung des Anzeigegeräts in Punkt pro Zoll ab, das diesem Grafikobjekt zugeordnet ist.
GpStatus WINGDIPAPI GdipGetDpiY(GpGraphics * graphics, REAL * dpi)
REAL Graphics::GetDpiY() const Ruft die vertikale Auflösung des Anzeigegeräts in Punkt pro Zoll ab, das diesem Grafikobjekt zugeordnet ist.
GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics * graphics, GpCoordinateSpace destSpace, GpCoordinateSpace srcSpace, GpPointF * points, INT count)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipTransformPointsI(GpGraphics * graphics, GpCoordinateSpace destSpace, GpCoordinateSpace srcSpace, GpPoint * points, INT count)
Status Graphics::TransformPoints(IN CoordinateSpace destSpace, IN CoordinateSpace srcSpace, IN OUT Point * pts, IN INT count) const Konvertiert ein Array von Punkten von einem Koordinatenraum in einen anderen. Die Konvertierung basiert auf der aktuellen Welt und den Seitentransformationen dieses Grafikobjekts.
GpStatus WINGDIPAPI GdipGetPinrestColor(GpGraphics * graphics, ARGB * argb)
Status Graphics::GetColorrestColor(IN OUT Color * color) const Ruft die Farbe ab, die der übergebenen Farbe am nächsten ist. Diese Methode funktioniert auf 8-Bit-Geräten pro Pixel oder niedrigeren Anzeigegeräten, für die eine 8-Bit-Farbpalette vorhanden ist.
HPALETTE WINGDIPAPI GdipCreateHalftonePalette()
static HPALETTE Graphics::GetHalftonePalette() Ruft eine Windows Halbtonpalette ab.
GpStatus WINGDIPAPI GdipDrawLine(GpGraphics * graphics, GpPen * pen, REAL x1, REAL y1, REAL x2, REAL y2)
Status Graphics::D rawLine(IN const Pen * pen, IN REAL x1, IN REAL y1, IN REAL x2, IN REAL y2) Zeichnet eine Linie, die zwei Punkte verbindet.
GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics * graphics, GpPen * pen, INT x1, INT y1, INT x2, INT y2)
Status graphics::D rawLine(IN const pen * pen, IN INT x1, IN INT y1, IN INT x2, IN INT y2) Zeichnet eine Linie, die zwei Punkte verbindet.
GpStatus WINGDIPAPI GdipDrawLines(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count)
Status graphics::D rawLines(IN const pen * pen, IN const PointF * points, IN INT count) Zeichnet eine Sequenz von verbundenen Linien.
GpStatus WINGDIPAPI GdipDrawLinesI(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count)
Status graphics:DrawLines(IN const pen * pen, IN const Point * points, IN INT count) Zeichnet eine Sequenz von verbundenen Linien.
GpStatus WINGDIPAPI GdipDrawArc(GpGraphics * graphics, GpPen * pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawArc(IN const Pen * pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) Zeichnet einen Bogen. Der Bogen ist Teil einer Ellipse.
GpStatus WINGDIPAPI GdipDrawArcI(GpGraphics * graphics, GpPen * pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawArc(IN const pen * pen, IN INT x, IN INT y, IN INT width, IN INT height, IN REAL startAngle, IN REAL sweepAngle) Zeichnet einen Bogen. Der Bogen ist Teil einer Ellipse.
GpStatus WINGDIPAPI GdipDrawBezier(GpGraphics * graphics, GpPen * pen, REAL x1, REAL y1, REAL x2, REAL y2, REAL x3, REAL y3, REAL x4, REAL y4)
Status Graphics::D rawBezier(IN const Pen * pen, IN REAL x1, IN REAL y1, IN REAL x2, IN REAL y2, IN REAL x3, IN REAL y3, IN REAL x4, IN REAL y4) Zeichnet einen Bézier-Spline.
GpStatus WINGDIPAPI GdipDrawBezierI(GpGraphics * graphics, GpPen * pen, INT x1, INT y1, INT x2, INT y2, INT x3, INT y3, INT x4, INT y4)
Status Graphics::D rawBezier(IN const Pen * pen, IN INT x1, INT y1, IN INT x2, IN INT y2, IN INT x3, IN INT y3, IN INT x4, INT y4) Zeichnet einen Bézier-Spline.
GpStatus WINGDIPAPI GdipDrawBeziers(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count)
Status graphics::D rawBeziers(IN const pen * pen, IN const PointF * points, IN INT count) Zeichnet eine Sequenz verbundener Bézier-Splines.
GpStatus WINGDIPAPI GdipDrawBeziersI(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count)
Status graphics::D rawBeziers(IN const pen * pen, IN const Point * points, IN INT count) Zeichnet eine Sequenz verbundener Bézier-Splines.
GpStatus WINGDIPAPI GdipDrawRectangle(GpGraphics * graphics, GpPen * pen, REAL x, REAL y, REAL width, REAL height)
Status graphics:DrawRectangle(IN const pen * pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height) Zeichnet ein Rechteck.
GpStatus WINGDIPAPI GdipDrawRectangleI(GpGraphics * graphics, GpPen * pen, INT x, INT y, INT width, INT height)
Status graphics::D rawRectangle(IN const pen * pen, IN INT x, IN INT y, IN INT width, IN INT height) Zeichnet ein Rechteck.
GpStatus WINGDIPAPI GdipDrawRectangles(GpGraphics * graphics, GpPen * pen, GDIPCONST GpRectF * rects, INT count)
Status graphics::D rawRectangles(IN const pen * pen, IN const RectF * rects, IN INT count) Zeichnet eine Sequenz von Rechtecke.
GpStatus WINGDIPAPI GdipDrawRectanglesI(GpGraphics * graphics, GpPen * pen, GDIPCONST GpRect * rects, INT count)
Status graphics::D rawRectangles(IN const pen * pen, IN const Rect * rects, IN INT count) Zeichnet eine Sequenz von Rechtecke.
GpStatus WINGDIPAPI GdipDrawEllipse(GpGraphics * graphics, GpPen * pen, REAL x, REAL y, REAL width, REAL height)
Status graphics::D rawEllipse(IN const pen * pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height) Zeichnet eine Ellipse.
GpStatus WINGDIPAPI GdipDrawEllipseI(GpGraphics * graphics, GpPen * pen, INT x, INT y, INT width, INT height)
Status graphics::D rawEllipse(IN const pen * pen, IN INT x, IN INT y, IN INT width, IN INT height) Zeichnet eine Ellipse.
GpStatus WINGDIPAPI GdipDrawPie(GpGraphics * graphics, GpPen * pen, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Status graphics::D rawPie(IN const pen * pen pen, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) Zeichnet einen Kreis.
GpStatus WINGDIPAPI GdipDrawPieI(GpGraphics * graphics, GpPen * pen, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Status Graphics::D rawPie(IN const Pen * pen, IN INT x, IN INT y, IN INT width, IN INT height, IN REAL startAngle, IN REAL sweepAngle) Zeichnet einen Kreis.
GpStatus WINGDIPAPI GdipDrawPolygon(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count)
Status Graphics::D rawPolygon(IN const pen * pen, IN const PointF * points, IN INT count) Zeichnet ein Polygon.
GpStatus WINGDIPAPI GdipDrawPolygonI(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count)
Status graphics::D rawPolygon(IN const pen * pen, IN const Point * points, IN INT count) Zeichnet ein Polygon.
GpStatus WINGDIPAPI GdipDrawPath(GpGraphics * graphics, GpPen * pen, GpPath * path)
Status Graphics::D rawPath(IN const pen * pen, IN const GraphicsPath * path) Zeichnet eine Sequenz von Linien und Kurven, die von einem GraphicsPath-Objekt definiert werden.
GpStatus WINGDIPAPI GdipDrawCurve(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count)
Status Graphics::D rawCurve(IN const Pen * pen, IN const PointF * points, IN INT count) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawCurveI(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count)
Status graphics::D rawCurve(IN const pen * pen, IN const Point * points, IN INT count) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawCurve2(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count, REAL graphics)
Status graphics::D rawCurve(IN const pen * pen, IN const PointF * points, IN INT count, IN REAL 2016) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawCurve2I(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count, REAL graphics)
Status Graphics::D rawCurve(IN const Pen * pen, IN const Point * points, IN INT count, IN REAL 2016) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawCurve3(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count, INT offset, INT numberOfSegments, REAL hana)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipDrawCurve3I(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count, INT offset, INT numberOfSegments, REAL hana)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipDrawClosedCurve(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count)
Status graphics::D rawClosedCurve(IN const pen * pen, IN const PointF * points, IN INT count) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawClosedCurveI(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count)
Status graphics::D rawClosedCurve(IN const pen * pen, IN const Point * points, IN INT count) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawClosedCurve2(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPointF * points, INT count, REAL points)
Status graphics::D rawClosedCurve(IN const pen pen, IN const PointF points, IN INT count, IN REAL 160055555555551110000000000000; IN * const PointF points, IN INT count, IN REAL 16000000000; IN CONST Pen pen pen, IN const PointF * points, IN INT count, Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipDrawClosedCurve2I(GpGraphics * graphics, GpPen * pen, GDIPCONST GpPoint * points, INT count, REAL points)
Status graphics::D rawClosedCurve(IN const pen * pen, IN const Point * points, IN INT count, IN REAL encursiv) Zeichnet einen geschlossenen Kardinalspline.
GpStatus WINGDIPAPI GdipGraphicsClear(GpGraphics * graphics, ARGB color)
Statusgrafik::Clear(IN const Color &Color) Löscht ein Grafikobjekt in eine angegebene Farbe.
GpStatus WINGDIPAPI GdipFillRectangle(GpGraphics * graphics, GpBrush * brush, REAL x, REAL y, REAL width, REAL height)
Status graphics::FillRectangle(IN const Brush * brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height) Verwendet einen Pinsel, um das Innere eines Rechtecks zu füllen.
GpStatus WINGDIPAPI GdipFillRectangleI(GpGraphics * graphics, GpBrush * brush, INT x, INT y, INT width, INT height)
Status graphics::FillRectangle(IN const Brush * brush, IN INT x, INT y, IN INT width, IN INT height) Verwendet einen Pinsel, um das Innere eines Rechtecks zu füllen.
GpStatus WINGDIPAPI GdipFillRectangles(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpRectF * rects, INT count)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpRect * rects, INT count)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipFillPolygon(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpPointF * points, INT count, GpFillMode fillMode)
Status Graphics::FillPolygon(IN const Brush * brush, IN const PointF * points, IN INT count, IN FillMode fillMode) Verwendet einen Pinsel, um das Innere eines Polygons zu füllen.
GpStatus WINGDIPAPI GdipFillPolygonI(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpPoint * points, INT count, GpFillMode fillMode)
Status Graphics::FillPolygon(IN const Brush * brush, IN const Point * points, IN INT count, IN FillMode fillMode) Verwendet einen Pinsel, um das Innere eines Polygons zu füllen.
GpStatus WINGDIPAPI GdipFillPolygon2(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpPointF * points, INT count)
Wird nicht von Wrappermethoden aufgerufen.
Diese Funktion füllt ein Polygon mit einem Pinsel aus. Der points-Parameter gibt die Scheitelpunkte des Polygons an. Der count-Parameter gibt die Anzahl der Scheitelpunkte an. Der Brush-Parameter gibt das Pinselobjekt an, das zum Füllen des Polygons verwendet wird. Der Füllmodus ist "FillModeAlternate".
GpStatus WINGDIPAPI GdipFillPolygon2I(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpPoint * points, INT count)
Wird nicht von Wrappermethoden aufgerufen.
Diese Funktion füllt ein Polygon mit einem Pinsel aus. Der points-Parameter gibt die Scheitelpunkte des Polygons an. Der count-Parameter gibt die Anzahl der Scheitelpunkte an. Der Brush-Parameter gibt das Pinselobjekt an, das zum Füllen des Polygons verwendet wird. Der Füllmodus ist "FillModeAlternate".
GpStatus WINGDIPAPI GdipFillEllipse(GpGraphics * graphics, GpBrush * brush, REAL x, REAL y, REAL width, REAL height)
Status graphics::FillEllipse(IN const Brush * brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height) Verwendet einen Pinsel, um das Innere einer Ellipse zu füllen, die durch Koordinaten und Dimensionen angegeben wird.
GpStatus WINGDIPAPI GdipFillEllipseI(GpGraphics * graphics, GpBrush * brush, INT x, INT y, INT width, INT height)
Status graphics::FillEllipse(IN const Brush * brush, IN INT x, IN INT y, IN INT width, IN INT height) Verwendet einen Pinsel, um das Innere einer Ellipse zu füllen, die durch Koordinaten und Dimensionen angegeben wird.
GpStatus WINGDIPAPI GdipFillPie(GpGraphics * graphics, GpBrush * brush, REAL x, REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle)
Status graphics::FillPie(IN const Brush * brush, IN REAL x, IN REAL y, IN REAL width, IN REAL height, IN REAL startAngle, IN REAL sweepAngle) Verwendet einen Pinsel, um das Innere eines Kreises zu füllen.
GpStatus WINGDIPAPI GdipFillPieI(GpGraphics * graphics, GpBrush * brush, INT x, INT y, INT width, INT height, REAL startAngle, REAL sweepAngle)
Status graphics:: FillPie(IN const Brush * brush, IN INT x, INT y, IN INT width, IN INT height, IN REAL startAngle, IN REAL sweepAngle) Verwendet einen Pinsel, um das Innere eines Kreises zu füllen.
GpStatus WINGDIPAPI GdipFillPath(GpGraphics * graphics, GpBrush * brush, GpPath * path)
Status Graphics::FillPath(IN const Brush * brush, IN const GraphicsPath * path) Verwendet einen Pinsel, um das Innere eines Pfads zu füllen. Wenn eine Abbildung im Pfad nicht geschlossen ist, behandelt diese Methode die nicht geschlossene Abbildung so, als wäre sie durch eine gerade Linie geschlossen, die den Start- und Endpunkt der Abbildung verbindet.
GpStatus WINGDIPAPI GdipFillClosedCurve(GpGraphics-Grafiken, * GpBrush-Pinsel, * GDIPCONST GpPointF-Punkte, * INT-Anzahl)
Status graphics::FillClosedCurve(IN const Brush * brush, IN const PointF * points, IN IN INT count) Erstellt eine geschlossene Kardinalspline aus einem Array von Punkten und verwendet einen Pinsel, um das Innere der Spline zu füllen.
GpStatus WINGDIPAPI GdipFillClosedCurveI(GpGraphics * graphics, GpBrush * brush, GDIPCONST GpPoint * points, INT count)
Status graphics::FillClosedCurve(IN const Brush * brush, IN const Point * points, IN IN INT count) Erstellt eine geschlossene Kardinalspline aus einem Array von Punkten und verwendet einen Pinsel, um das Innere der Spline zu füllen.
GpStatus WINGDIPAPI GdipFillClosedCurve2(GpGraphics-Grafiken, * GpBrush-Pinsel, * GDIPCONST GpPointF-Punkte, * INT-Anzahl, REAL-Spannung, GpFillMode fillMode)
Statusgrafik::FillClosedCurve(IN const Brush * Brush, IN const PointF * points, IN IN INT count, IN FillMode fillMode, IN REAL unicode = 0,5f) Erstellt eine geschlossene Kardinalspline aus einem Array von Punkten und verwendet einen Pinsel, um das Innere der Spline gemäß einem angegebenen Modus zu füllen.
GpStatus WINGDIPAPI GdipFillClosedCurve2I(GpGraphics-Grafiken, * GpBrush-Pinsel, * GDIPCONST * GpPoint-Punkte, INT-Anzahl, REAL- und GpFillMode fillMode)
Statusgrafik::FillClosedCurve(IN const Brush * Brush, IN const Point * points, IN IN INT count, IN FillMode fillMode, IN REAL alle = 0,5f) Erstellt eine geschlossene Kardinalspline aus einem Array von Punkten und verwendet einen Pinsel, um das Innere der Spline gemäß einem angegebenen Modus zu füllen.
GpStatus WINGDIPAPI GdipFillRegion(GpGraphics * graphics, GpBrush * brush, GpRegion * region)
Statusgrafik::FillRegion(IN const Brush * Brush, IN const Region * region) Verwendet einen Pinsel, um einen angegebenen Bereich zu füllen.
GpStatus WINGDIPAPI GdipDrawImage(GpGraphics * graphics, GpImage * image, REAL x, REAL y)
Status graphics::D rawImage(IN * Image, IN REAL x, IN REAL y) Zeichnet ein Bild an einer angegebenen Position.
GpStatus WINGDIPAPI GdipDrawImageI(GpGraphics * graphics, GpImage * image, INT x, INT y)
Statusgrafik::D rawImage(IN * Image, IN INT x, IN INT y) Zeichnet ein Bild an einer angegebenen Position.
GpStatus WINGDIPAPI GdipDrawImageRect(GpGraphics * graphics, GpImage * image, REAL x, REAL y, REAL width, REAL height)
Statusgrafik::D rawImage(IN * Image, IN REAL x, IN REAL y, IN REAL width, IN REAL height) Zeichnet ein Bild.
GpStatus WINGDIPAPI GdipDrawImageRectI(GpGraphics * graphics, GpImage * image, INT x, INT y, INT width, INT height)
Statusgrafik::D rawImage(IN * Image, IN INT x, IN INT y, IN INT width, IN IN INT height) Zeichnet ein Bild.
GpStatus WINGDIPAPI GdipDrawImagePoints(GpGraphics * graphics, GpImage * image, GDIPCONST GpPointF * dstpoints, INT count)
Status graphics::D rawImage(IN Image * image, IN const PointF * destPoints, IN INT count) Zeichnet ein Bild.
GpStatus WINGDIPAPI GdipDrawImagePointsI(GpGraphics * graphics, GpImage * image, GDIPCONST GpPoint * dstpoints, INT count)
Statusgrafik::D rawImage(IN * Image, IN const Point * destPoints, IN INT count) Zeichnet ein Bild.
GpStatus WINGDIPAPI GdipDrawImagePointRect(GpGraphics * graphics, GpImage * image, REAL x, REAL y, REAL srcx, REAL srcy, REAL srcwidth, REAL srcheight, GpUnit srcUnit)
Statusgrafik::D rawImage(IN * Bild, IN REAL x, IN REAL y, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit) Zeichnet ein Bild.
GpStatus WINGDIPAPI GdipDrawImagePointRectI(GpGraphics * graphics, GpImage * image, INT x, INT y, INT srcx, INT srcy, INT srcwidth, INT srcheight, GpUnit srcUnit)
Statusgrafik::D rawImage(IN * Image, IN INT x, IN INT y, IN INT srcx, IN INT srcy, IN INT srcwidth, IN INT srcheight, IN Unit srcUnit) Zeichnet ein Bild.
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 * imageAttributes, DrawImageAbort callback, VOID * callbackData)
Status graphics::D rawImage(IN Image * image, IN const RectF& destRect, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const ImageAttributes * imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID * callbackData = NULL) Zeichnet ein Bild.
In der flat-Funktion geben die Parameter dstx, dsty, dstwidth und dstheight ein Rechteck an, das dem dstRect-Parameter in der Wrappermethode entspricht.
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)
Statusgrafik::D rawImage(IN Image * image, IN const Rect& destRect, IN INT srcx, IN INT srcy, IN INT srcwidth, IN IN INT srcheight, IN Unit srcUnit, IN const * ImageAttributes imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID * callbackData = NULL) Zeichnet ein Bild.
In der flat-Funktion geben die Parameter dstx, dsty, dstwidth und dstheight ein Rechteck an, das dem dstRect-Parameter in der Wrappermethode entspricht.
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)
Status graphics::D rawImage(IN Image * image, IN const PointF * destPoints, IN IN INT count, IN REAL srcx, IN REAL srcy, IN REAL srcwidth, IN REAL srcheight, IN Unit srcUnit, IN const * ImageAttributes imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID * callbackData = NULL) Zeichnet ein Bild.
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)
Status graphics::D rawImage(IN Image * image, IN const Point * destPoints, IN IN INT count, IN INT srcx, IN IN INT srcy, IN INT srcwidth, IN INT srcheight, IN Unit srcUnit, IN const * ImageAttributes imageAttributes = NULL, IN DrawImageAbort callback = NULL, IN VOID * callbackData = NULL) Zeichnet ein Bild.
GpStatus WINGDIPAPI GdipDrawImageFX(GpGraphics * graphics, GpImage * image, GpRectF * source, GpMatrix * xForm, CGpEffect * effect, GpImageAttributes * imageAttributes, GpUnit srcUnit)
Status graphics::D rawImage(IN Image * image, IN RectF * sourceRect, IN Matrix * xForm, IN Effect * effect, IN ImageAttributes * imageAttributes, IN Unit srcUnit) Zeichnet einen Teil eines Bilds nach dem Anwenden eines angegebenen Effekts.
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoint( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF & destPoint, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const PointF & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point & destPoint, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST RectF & destRect, EnumerateMetafileProc * callback, VOID callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRectI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Rect & destRect, EnumerateMetafileProc * callback, VOID callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status Graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoints( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF * destPoints, INT count, EnumerateMetafileProc * callback, VOID callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointsI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point * destPoints, INT count, EnumerateMetafileProc * callback, VOID callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN IN INT count, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoint( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF & destPoint, GDIPCONST RectF & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point & destPoint, GDIPCONST Rect & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRect( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST RectF & destRect, GDIPCONST RectF & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestRectI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Rect & destRect, GDIPCONST Rect & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoints( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST PointF * destPoints, INT count, GDIPCONST RectF & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const PointF * destPoints, IN IN INT count, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointsI( GpGraphics * graphics, GDIPCONST GpMetafile * metafile, GDIPCONST Point * destPoints, INT count, GDIPCONST Rect & srcRect, Unit srcUnit, EnumerateMetafileProc callback, VOID * callbackData, GDIPCONST GpImageAttributes * imageAttributes )
Status graphics::EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN IN INT count, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) Ruft eine anwendungsdefinierte Rückruffunktion für jeden Datensatz in einer angegebenen Metadatei auf. Sie können diese Methode verwenden, um eine Metadatei anzuzeigen, indem Sie PlayRecord in der Rückruffunktion aufrufen.
GpStatus WINGDIPAPI GdipPlayMetafileRecord( GDIPCONST GpMetafile * metafile, EmfPlusRecordType recordType, UINT flags, UINT dataSize, GDIPCONST BYTE * data )
Status Metafile::P layRecord( IN EmfPlusRecordType recordType, IN UINT flags, IN UINT dataSize, IN const BYTE * data ) const Gibt einen Metadateidatensatz wieder.
GpStatus WINGDIPAPI GdipSetClipGraphics(GpGraphics-Grafiken, * * GpGraphics-Srcgraphics, CombineMode combineMode)
Status Graphics::SetClip(IN const Graphics * g, IN CombineMode combineMode = CombineModeReplace) Aktualisiert den Ausschneidebereich dieses Grafikobjekts in einen Bereich, der die Kombination aus sich selbst und dem Ausschneidebereich eines anderen Grafikobjekts ist.
Der g-Parameter in der Wrappermethode entspricht dem srcgraphics-Parameter in der flachen Funktion.
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics * graphics, REAL x, REAL y, REAL width, REAL height, CombineMode combineMode)
Status Graphics::SetClip(IN const RectF& rect, IN CombineMode combineMode = CombineModeReplace) Aktualisiert den Ausschneidebereich dieses Grafikobjekts in einen Bereich, der die Kombination aus sich selbst und einem Rechteck darstellt.
Die Parameter x, y, width und height in der flachen Funktion geben ein Rechteck an, das dem rect-Parameter in der Wrappermethode entspricht.
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics * graphics, INT x, INT y, INT width, INT height, CombineMode combineMode)
Status Graphics::SetClip(IN const Rect& rect, IN CombineMode combineMode = CombineModeReplace) Aktualisiert den Ausschneidebereich dieses Grafikobjekts in einen Bereich, der die Kombination aus sich selbst und einem Rechteck darstellt.
Die Parameter x, y, width und height in der flachen Funktion geben ein Rechteck an, das dem rect-Parameter in der Wrappermethode entspricht.
GpStatus WINGDIPAPI GdipSetClipPath(GpGraphics-Grafiken, * * GpPath-Pfad, CombineMode combineMode)
Statusgrafik::SetClip(IN const GraphicsPath * path, IN CombineMode combineMode = CombineModeReplace) Aktualisiert den Ausschneidebereich dieses Grafikobjekts in einen Bereich, der die Kombination aus sich selbst und dem durch einen Grafikpfad angegebenen Bereich ist. Wenn eine Abbildung im Pfad nicht geschlossen ist, behandelt diese Methode die nicht geschlossene Abbildung so, als wäre sie durch eine gerade Linie geschlossen, die den Start- und Endpunkt der Abbildung verbindet.
GpStatus WINGDIPAPI GdipSetClipRegion(GpGraphics * graphics, GpRegion * region, CombineMode combineMode)
Statusgrafik::SetClip(IN const Region * region, IN CombineMode combineMode = CombineModeReplace) Aktualisiert den Ausschneidebereich dieses Grafikobjekts in einen Bereich, der die Kombination aus sich selbst und dem durch ein Region-Objekt angegebenen Bereich ist.
GpStatus WINGDIPAPI GdipSetClipHrgn(GpGraphics * graphics, HRGN hRgn, CombineMode combineMode)
Statusgrafik::SetClip(IN HRGN hRgn, IN CombineMode combineMode = CombineModeReplace) Aktualisiert den Ausschneidebereich dieses Grafikobjekts in einen Bereich, der die Kombination aus sich selbst und einem Windows Graphics Device Interface (GDI)-Bereichist.
GpStatus WINGDIPAPI GdipResetClip(GpGraphics * graphics)
Statusgrafik::ResetClip() Legt den Ausschneidebereich dieses Grafikobjekts auf einen unendlichen Bereich fest.
GpStatus WINGDIPAPI GdipTranslateClip(GpGraphics * graphics, REAL dx, REAL dy)
Statusgrafik::TranslateClip(IN REAL dx, IN REAL dy) Übersetzt den Ausschneidebereich dieses Grafikobjekts.
GpStatus WINGDIPAPI GdipTranslateClipI(GpGraphics * graphics, INT dx, INT dy)
Statusgrafik::TranslateClip(IN INT dx, IN INT dy) Übersetzt den Ausschneidebereich dieses Grafikobjekts.
GpStatus WINGDIPAPI GdipGetClip(GpGraphics * graphics, GpRegion * region)
Status graphics::GetClip(OUT Region * region) const Ruft den Ausschneidebereich dieses Grafikobjekts ab.
GpStatus WINGDIPAPI GdipGetClipBounds(GpGraphics * graphics, GpRectF * rect)
Status Graphics::GetClipBounds(OUT RectF * rect) const Ruft ein Rechteck ab, das den Ausschneidebereich dieses Grafikobjekts umschließt.
GpStatus WINGDIPAPI GdipGetClipBoundsI(GpGraphics-Grafiken, * GpRect * rect)
Status graphics::GetClipBounds(OUT * Rect rect) const Ruft ein Rechteck ab, das den Ausschneidebereich dieses Grafikobjekts umschließt.
GpStatus WINGDIPAPI GdipIsClipEmpty(GpGraphics-Grafiken, * * BOOL-Ergebnis)
BOOL Graphics::IsClipEmpty() const Bestimmt, ob der Ausschneidebereich dieses Grafikobjekts leer ist.
GpStatus WINGDIPAPI GdipGetVisibleClipBounds(GpGraphics * graphics, GpRectF * rect)
Status graphics::GetVisibleClipBounds(OUT RectF * rect) const Ruft ein Rechteck ab, das den sichtbaren Ausschneidebereich dieses Grafikobjekts umschließt. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
GpStatus WINGDIPAPI GdipGetVisibleClipBoundsI(GpGraphics * graphics, GpRect * rect)
Statusgrafik::GetVisibleClipBounds(OUT Rect * rect) const Ruft ein Rechteck ab, das den sichtbaren Ausschneidebereich dieses Grafikobjekts umschließt. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
GpStatus WINGDIPAPI GdipIsVisibleClipEmpty(GpGraphics-Grafiken, * * BOOL-Ergebnis)
BOOL Graphics::IsVisibleClipEmpty() const Bestimmt, ob der sichtbare Ausschneidebereich dieses Grafikobjekts leer ist. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
GpStatus WINGDIPAPI GdipIsVisiblePoint(GpGraphics-Grafik, * REAL x, REAL y, BOOL-Ergebnis) *
BOOL Graphics::IsVisible(IN const PointF& point) const Bestimmt, ob sich der angegebene Punkt innerhalb des sichtbaren Ausschneidebereichs dieses Graphics-Objekts befindet. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
Die x- und y-Parameter in der flachen Funktion stellen die x- und y-Koordinaten eines Punkts dar, der dem Point-Parameter in der Wrappermethode entspricht.
GpStatus WINGDIPAPI GdipIsVisiblePointI(GpGraphics * graphics, INT x, INT y, BOOL * result)
BOOL Graphics::IsVisible(IN const Point& point) const Bestimmt, ob sich der angegebene Punkt innerhalb des sichtbaren Ausschneidebereichs dieses Graphics-Objekts befindet. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
Die x- und y-Parameter in der flachen Funktion stellen die x- und y-Koordinaten eines Punkts dar, der dem Point-Parameter in der Wrappermethode entspricht.
GpStatus WINGDIPAPI GdipIsVisibleRect(GpGraphics * graphics, REAL x, REAL y, REAL width, REAL height, BOOL * result)
BOOL Graphics::IsVisible(IN const RectF& rect) const Bestimmt, ob das angegebene Rechteck den sichtbaren Ausschneidebereich dieses Grafikobjekts schneidet. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
Die Parameter x, y, width und height in der flachen Funktion geben ein Rechteck an, das dem rect-Parameter in der Wrappermethode entspricht.
GpStatus WINGDIPAPI GdipIsVisibleRectI(GpGraphics * graphics, INT x, INT y, INT width, INT height, BOOL * result)
BOOL Graphics::IsVisible(IN const Rect& rect) const Bestimmt, ob das angegebene Rechteck den sichtbaren Ausschneidebereich dieses Grafikobjekts schneidet. Der sichtbare Clippingbereich ist die Schnittmenge des Ausschneidebereichs dieses Grafikobjekts und des Ausschneidebereichs des Fensters.
Die Parameter x, y, width und height in der flachen Funktion geben ein Rechteck an, das dem rect-Parameter in der Wrappermethode entspricht.
GpStatus WINGDIPAPI GdipSaveGraphics(GpGraphics * graphics, GraphicsState * state)
GraphicsState Graphics::Save() const Speichert den aktuellen Zustand (Transformationen, Ausschneidebereich und Qualitätseinstellungen) dieses Grafikobjekts. Sie können den Zustand später wiederherstellen, indem Sie die Graphics::Restore-Methode aufrufen.
GpStatus WINGDIPAPI GdipRestoreGraphics(GpGraphics * graphics, GraphicsState state)
Statusgrafik::Restore(IN GraphicsState gstate) Legt den Zustand dieses Grafikobjekts auf den Zustand fest, der durch einen vorherigen Aufruf der Graphics::Save-Methode dieses Graphics-Objekts gespeichert wurde.
GpStatus WINGDIPAPI GdipBeginContainer(GpGraphics * graphics, GDIPCONST GpRectF * dstrect, GDIPCONST GpRectF * srcrect, GpUnit unit, GraphicsContainer * state)
Graphics::GraphicsContainer BeginContainer(IN const RectF &dstrect, IN const RectF &srcrect, IN Unit unit) Startet einen neuen Grafikcontainer.
GpStatus WINGDIPAPI GdipBeginContainerI(GpGraphics * graphics, GDIPCONST GpRect * dstrect, GDIPCONST GpRect * srcrect, GpUnit unit, GraphicsContainer * state)
Graphics::GraphicsContainer BeginContainer(IN const Rect &dstrect, IN const Rect &srcrect, IN Unit unit) Startet einen neuen Grafikcontainer.
GpStatus WINGDIPAPI GdipBeginContainer2(GpGraphics * graphics, GraphicsContainer * state)
Graphics::GraphicsContainer BeginContainer() Startet einen neuen Grafikcontainer.
GpStatus WINGDIPAPI GdipEndContainer(GpGraphics * graphics, GraphicsContainer state)
Statusgrafik::EndContainer(IN GraphicsContainer-Status) Schließt einen Grafikcontainer, der zuvor von der Graphics::BeginContainer-Methode geöffnet wurde.
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromEmf( HENHMETAFILE hEmf, MetafileHeader * header )
static Status Metafile::GetMetafileHeader( IN HENHMETAFILE hEmf, OUT MetafileHeader * header ) Ruft den Header ab.
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile( GDIPCONST WCHAR * filename, MetafileHeader * header )
static Status Metafile::GetMetafileHeader( IN const WCHAR * filename, OUT MetafileHeader * header ) Ruft den Header ab.
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromStream( IStream * stream, MetafileHeader * header )
static Status Metafile::GetMetafileHeader( IN IStream * stream, OUT MetafileHeader * header ) Ruft den Header ab.
GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile( * GpMetafile-Metadatei, MetafileHeader-Header * )
Status Metafile::GetMetafileHeader( OUT MetafileHeader * header ) const Ruft den Header ab.
GpStatus WINGDIPAPI GdipGetHemfFromMetafile( * GpMetafile-Metadatei, HENHMETAFILE * hEmf )
HENHMETAFILE Metafile::GetHENHMETAFILE() Ruft ein Windows für eine EMF-Datei (Enhanced Metafile) ab.
GpStatus WINGDIPAPI GdipCreateStreamOnFile(GDIPCONST WCHAR * filename, UINT access, IStream * * stream)
Wird nicht von Wrappermethoden aufgerufen.
Gibt einen Zeiger auf eine IStream-Schnittstelle basierend auf einer Datei zurück. Der Filename-Parameter gibt die Datei an. Der Access-Parameter ist ein Satz von Flags, die GENERIC _ READ oder GENERIC WRITE enthalten _ müssen. Der stream-Parameter empfängt einen Zeiger auf die IStream-Schnittstelle.
GpStatus WINGDIPAPI GdipCreateMetafileFromWmf(HMETAFILE hWmf, BOOL deleteWmf, GDIPCONST WmfPlaceableFileHeader * wmfPlaceableFileHeader, GpMetafile * * Metafile)
Metafile::Metafile(IN HMETAFILE hWmf, IN const WmfPlaceableFileHeader * wmfPlaceableFileHeader, IN BOOL deleteWmf = FALSE) Erstellt ein Windows GDI+ Metafile::Metafile-Objekt für die Aufzeichnung. Das Format ist eine platzierbare Metadatei.
GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE hEmf, BOOL deleteEmf, GpMetafile * * metafile)
Metafile::Metafile(IN HENHMETAFILE hEmf, IN BOOL deleteEmf = FALSE) Erstellt ein Windows GDI+ Metafile::Metafile-Objekt für die Wiedergabe basierend auf einer EMF-Datei (GDI) Windows Graphics Device Interface (GDI) Enhanced Metafile).
GpStatus WINGDIPAPI GdipCreateMetafileFromFile(GDIPCONST * WCHAR-Datei, GpMetafile-Metadatei) * *
Metafile::Metafile(IN const WCHAR * filename) Erstellt ein Metafile::Metafile-Objekt für die Wiedergabe.
GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR * file, GDIPCONST WmfPlaceableFileHeader * wmfPlaceableFileHeader, GpMetafile * * metafile)
Wird nicht von Wrappermethoden aufgerufen.
Nicht implementiert.
GpStatus WINGDIPAPI GdipCreateMetafileFromStream(IStream * stream, GpMetafile * * metafile)
Metafile::Metafile(IN IStream * stream) Erstellt ein Metafile::Metafile-Objekt aus einer IStream-Schnittstelle für die Wiedergabe.
GpStatus WINGDIPAPI GdipRecordMetafile( HDC referenceHdc, EmfType type, GDIPCONST GpRectF * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile * * metafile )
Metafile::Metafile( IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) Erstellt ein Metafile::Metafile-Objekt für die Aufzeichnung.
GpStatus WINGDIPAPI GdipRecordMetafileI( HDC referenceHdc, EmfType type, GDIPCONST GpRect * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile * * metafile )
Metafile::Metafile( IN HDC referenceHdc, IN const Rect & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) Erstellt ein Metafile::Metafile-Objekt für die Aufzeichnung.
GpStatus WINGDIPAPI GdipRecordMetafileFileName( GDIPCONST WCHAR * fileName, HDC referenceHdc, EmfType type, GDIPCONST GpRectF * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile * * metafile )
Metafile::Metafile( IN const WCHAR * fileName, IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) Erstellt ein Metafile::Metafile-Objekt für die Aufzeichnung.
GpStatus WINGDIPAPI GdipRecordMetafileFileNameI( GDIPCONST WCHAR * fileName, HDC referenceHdc, EmfType type, GDIPCONST * GpRect frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile * * metafile )
Metafile::Metafile( IN const WCHAR * fileName, IN HDC referenceHdc, IN const Rect & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) Erstellt ein Metafile::Metafile-Objekt für die Aufzeichnung.
GpStatus WINGDIPAPI GdipRecordMetafileStream( IStream * stream, HDC referenceHdc, EmfType type, GDIPCONST GpRectF * frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile * * metafile )
Metafile::Metafile( IN IStream * stream, IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) Erstellt ein Metafile::Metafile-Objekt für die Aufzeichnung in einer IStream-Schnittstelle.
GpStatus WINGDIPAPI GdipRecordMetafileStreamI( IStream * stream, HDC referenceHdc, EmfType type, GDIPCONST * GpRect frameRect, MetafileFrameUnit frameUnit, GDIPCONST WCHAR * description, GpMetafile * * metafile )
Metafile::Metafile( IN IStream * stream, IN HDC referenceHdc, IN const Rect & frameRect, IN MetafileFrameUnit frameUnit = MetafileFrameUnitGdi, IN EmfType type = EmfTypeEmfPlusDual, IN const WCHAR * description = NULL ) Erstellt ein Metafile::Metafile-Objekt für die Aufzeichnung in einer IStream-Schnittstelle.
GpStatus WINGDIPAPI GdipSetMetafileDownLevelRasterizationLimit( GpMetafile * metafile, UINT metafileRasterizationLimitDpi )
Status Metafile::SetDownLevelRasterizationLimit(IN UINT metafileRasterizationLimitDpi) Legt die Auflösung für bestimmte Pinselbitmaps fest, die in dieser Metadatei gespeichert sind.
GpStatus WINGDIPAPI GdipGetMetafileDownLevelRasterizationLimit( GDIPCONST GpMetafile * Metafile, UINT * metafileRasterizationLimitDpi )
UINT Metafile::GetDownLevelRasterizationLimit() const Ruft den Rasterungsgrenzwert ab, der derzeit für diese Metadatei festgelegt ist. Die Rasterungsgrenze ist die Auflösung, die für bestimmte Pinselbitmaps verwendet wird, die in der Metadatei gespeichert sind. Eine ausführliche Erläuterung des Rasterungslimits finden Sie unter Metafile::SetDownLevelRasterizationLimit.
GpStatus WINGDIPAPI GdipGetImageDecodersSize(UINT * numDecoders, UINT * size)
Status GetImageDecodersSize( OUT UINT * numDecoders, OUT UINT * size) Ruft die Anzahl der verfügbaren Bilddecoder und die Gesamtgröße des Arrays von ImageCodecInfo-Objekten ab, die von der GetImageDecoders-Funktion zurückgegeben werden.
GpStatus WINGDIPAPI GdipGetImageDecoders(UINT numDecoders, UINT size, ImageCodecInfo * decoders)
Status GetImageDecoders( IN UINT numDecoders, IN UINT size, OUT ImageCodecInfo * decoders) Ruft ein Array von ImageCodecInfo-Objekten ab, die Informationen zu den verfügbaren Bilddecodern enthalten.
GpStatus WINGDIPAPI GdipGetImageEncodersSize(UINT * numEncoders, UINT * size)
Status GetImageEncodersSize( OUT UINT * numEncoders, OUT UINT * size) Ruft die Anzahl der verfügbaren Bildencoder und die Gesamtgröße des Arrays von ImageCodecInfo-Objekten ab, das von der GetImageEncoders-Funktion zurückgegeben wird.
GpStatus WINGDIPAPI GdipGetImageEncoders(UINT numEncoders, UINT size, ImageCodecInfo * encoders)
Status GetImageEncoders( IN UINT numEncoders, IN UINT size, OUT ImageCodecInfo * encoders) Ruft ein Array von ImageCodecInfo-Objekten ab, die Informationen zu den verfügbaren Bildencodern enthalten.
GpStatus WINGDIPAPI GdipComment(GpGraphics * graphics, UINT sizeData, GDIPCONST BYTE * data)
Statusgrafik::AddMetafileComment(IN const BYTE * data, IN UINT sizeData) Fügt einer vorhandenen Metadatei einen Textkommentar hinzu.