PathGradientBrush-Funktionen

Windows GDI+ macht eine flache API verfügbar, die aus ca. 600 Funktionen besteht, die in Gdiplus.dll implementiert und in Gdiplusflat.h deklariert sind. Die Funktionen in der GDI+-Flach-API werden durch eine Auflistung von ca. 40 C++-Klassen umschlossen. Es wird empfohlen, die Funktionen in der flachen API nicht direkt aufzurufen. Wenn Sie Aufrufe an GDI+ tätigen, sollten Sie dies tun, indem Sie die Methoden und Funktionen aufrufen, die von den C++-Wrappern bereitgestellt werden. Microsoft-Produktsupportdienste bieten 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 PathGradientBrush C++-Klasse umschlossen.

PathGradientBrush-Funktionen und entsprechende Wrappermethoden

Flache Funktion Wrapper-Methode Bemerkungen
GpStatus WINGDIPAPI GdipCreatePathGradient(GDIPCONST GpPointF* Points, INT count, GpWrapMode wrapMode, GpPathGradient **polyGradient)
PathGradientBrush::P athGradientBrush( IN const PointF* points, IN INT count, IN WrapMode wrapMode = WrapModeClamp)
Erstellt ein PathGradientBrush- -Objekt basierend auf einem Array von Punkten. Initialisiert den Umbruchmodus des Pfadverlaufspinsels.
GpStatus WINGDIPAPI GdipCreatePathGradientI(GDIPCONST GpPoint* points, INT count, GpWrapMode wrapMode, GpPathGradient **polyGradient)
PathGradientBrush::P athGradientBrush( IN const Point* points, IN INT count, IN WrapMode wrapMode = WrapModeClamp)
Erstellt ein PathGradientBrush- -Objekt basierend auf einem Array von Punkten. Initialisiert den Umbruchmodus des Pfadverlaufspinsels.
GpStatus WINGDIPAPI GdipCreatePathGradientFromPath(GDIPCONST GpPath* path, GpPathGradient **polyGradient)
PathGradientBrush::P athGradientBrush( IN const GraphicsPath* path )
Erstellt ein PathGradientBrush- -Objekt basierend auf einem GraphicsPath -Objekt.
GpStatus WINGDIPAPI GdipGetPathGradientCenterColor( GpPathGradient *brush, ARGB* colors)
Status PathGradientBrush::GetCenterColor(OUT Color* color) const
Ruft die Farbe des Mittelpunkts dieses Pfadverlaufspinsels ab.
GpStatus WINGDIPAPI GdipSetPathGradientCenterColor( GpPathGradient *brush, ARGB colors)
Status PathGradientBrush::SetCenterColor(IN const Color& Farbe)
Legt die Mittlere Farbe dieses Pfadverlaufpinsels fest. Die Mittelfarbe ist die Farbe, die am Mittelpunkt des Pinsels angezeigt wird.
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorsWithCount( GpPathGradient *brush, ARGB* color, INT* count)
Status PathGradientBrush::GetSurroundColors(OUT Color* colors, IN OUT INT* count) const
Ruft die derzeit für diesen Pfadverlaufpinsel angegebenen Umrandungsfarben ab.
GpStatus WINGDIPAPI GdipSetPathGradientSurroundColorsWithCount( GpPathGradient *brush, GDIPCONST ARGB* color, INT* count)
Status PathGradientBrush::SetSurroundColors(IN const Color* colors, IN OUT INT* count)
Legt die Umrandungsfarben dieses Pfadverlaufpinsels fest. Die Surroundfarben sind Farben, die für diskrete Punkte auf dem Begrenzungspfad des Pinsels angegeben werden.
GpStatus WINGDIPAPI GdipGetPathGradientPath(GpPathGradient *brush, GpPath *path)
Status PathGradientBrush::GetGraphicsPath(OUT GraphicsPath* path) const
Ist in GDI+ Version 1.0 nicht implementiert.
GpStatus WINGDIPAPI GdipSetPathGradientPath(GpPathGradient *brush, GDIPCONST GpPath *path)
Status PathGradientBrush::SetGraphicsPath(IN const GraphicsPath* path)
Ist in GDI+ Version 1.0 nicht implementiert.
GpStatus WINGDIPAPI GdipGetPathGradientCenterPoint( GpPathGradient *brush, GpPointF* points)
Status PathGradientBrush::GetCenterPoint(OUT PointF* point) const
Ruft den Mittelpunkt dieses Pfadverlaufspinsels ab.
GpStatus WINGDIPAPI GdipGetPathGradientCenterPointI( GpPathGradient *brush, GpPoint* points)
Status PathGradientBrush::GetCenterPoint(OUT Point* Point) const
Ruft den Mittelpunkt dieses Pfadverlaufspinsels ab.
GpStatus WINGDIPAPI GdipSetPathGradientCenterPoint( GpPathGradient *brush, GDIPCONST GpPointF* Points)
Status PathGradientBrush::SetCenterPoint(IN const PointF& Punkt)
Legt den Mittelpunkt dieses Pfadverlaufspinsels fest. Der Mittelpunkt befindet sich standardmäßig am Mittelpunkt des Begrenzungspfads des Pinsels, Sie können den Mittelpunkt jedoch auf eine beliebige Position innerhalb oder außerhalb des Pfads festlegen.
GpStatus WINGDIPAPI GdipSetPathGradientCenterPointI( GpPathGradient *brush, GDIPCONST GpPoint* points)
Status PathGradientBrush::SetCenterPoint(IN const Point& Punkt)
Legt den Mittelpunkt dieses Pfadverlaufspinsels fest. Der Mittelpunkt befindet sich standardmäßig am Mittelpunkt des Begrenzungspfads des Pinsels, Sie können den Mittelpunkt jedoch auf eine beliebige Position innerhalb oder außerhalb des Pfads festlegen.
GpStatus WINGDIPAPI GdipGetPathGradientRect(GpPathGradient *brush, GpRectF *rect)
Status PathGradientBrush::GetRectangle(OUT RectF* rectF* rect) const
Ruft das kleinste Rechteck ab, das den Grenzpfad dieses Pfadverlaufspinsels einschließt.
GpStatus WINGDIPAPI GdipGetPathGradientRectI(GpPathGradient *brush, GpRect *rect)
Status PathGradientBrush::GetRectangle(OUT Rect* rect* rect) const
Ruft das kleinste Rechteck ab, das den Grenzpfad dieses Pfadverlaufspinsels einschließt.
GpStatus WINGDIPAPI GdipGetPathGradientPointCount(GpPathGradient *brush, INT* count)
INT PathGradientBrush::GetPointCount() const
Ruft die Anzahl der Punkte im Array von Punkten ab, die den Begrenzungspfad dieses Pinsels definieren.
GpStatus WINGDIPAPI GdipGetPathGradientSurroundColorCount(GpPathGradient *brush, INT* count)
INT PathGradientBrush::GetSurroundColorCount() const
Ruft die Anzahl der Farben ab, die für den Grenzpfad dieses Pfadverlaufspinsel angegeben wurden.
GpStatus WINGDIPAPI GdipSetPathGradientGammaCorrection(GpPathGradient *brush, BOOL useGammaCorrection)
Status PathGradientBrush::SetGammaCorrection(IN BOOL useGammaCorrection)
Gibt an, ob die Gammakorrektur für diesen Pfadverlaufpinsel aktiviert ist.
GpStatus WINGDIPAPI GdipGetPathGradientGammaCorrection(GpPathGradient *brush, BOOL *useGammaCorrection)
BOOL PathGradientBrush::GetGammaCorrection() const
Bestimmt, ob die Gammakorrektur für diesen Pfadverlaufpinsel aktiviert ist.
GpStatus WINGDIPAPI GdipGetPathGradientBlendCount(GpPathGradient *brush, INT *count)
INT PathGradientBrush::GetBlendCount() const
Ruft die Anzahl der zurzeit für diesen Pfadverlaufpinsel festgelegten Mischfaktoren ab.
GpStatus WINGDIPAPI GdipGetPathGradientBlend(GpPathGradient *brush, REAL *blend, REAL *positions, INT count)
PathGradientBrush::GetBlend(OUT REAL* blendFactors, OUT REAL* blendPositions, INT count) const
Ruft die Blendfaktoren und die entsprechenden Blendpositionen ab, die derzeit für diesen Pfadverlaufpinsel festgelegt sind.
GpStatus WINGDIPAPI GdipSetPathGradientBlend(GpPathGradient *brush, GDIPCONST REAL *blend, GDIPCONST REAL *positions, INT count)
Status PathGradientBrush::SetBlend(IN const REAL* blendFactors, IN const REAL* blendPositions, IN INT count)
Legt die Blendfaktoren und die Blendpositionen dieses Pfadverlaufpinsels fest.
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlendCount(GpPathGradient *brush, INT *count)
INT PathGradientBrush::GetInterpolationColorCount() const
Ruft die Anzahl der voreingestellten Farben ab, die derzeit für diesen Pfadverlaufpinsel angegeben sind.
GpStatus WINGDIPAPI GdipGetPathGradientPresetBlend(GpPathGradient *brush, ARGB *blend, REAL* positions, INT count)
Status PathGradientBrush::GetInterpolationColors(OUT Color* presetColors, OUT REAL* blendPositions, INT count) const
Ruft die voreingestellten Farben und Blendpositionen ab, die derzeit für diesen Pfadverlaufpinsel angegeben sind.
GpStatus WINGDIPAPI GdipSetPathGradientPresetBlend(GpPathGradient *brush, GDIPCONST ARGB *blend, GDIPCONST REAL* positions, INT count)
Status PathGradientBrush::SetInterpolationColors(IN const Color* presetColors, IN const REAL* blendPositions, INT count)
Legt die voreingestellten Farben und die Blendpositionen dieses Pfadverlaufpinsels fest.
GpStatus WINGDIPAPI GdipSetPathGradientSigmaBlend(GpPathGradient *brush, REAL focus, REAL scale)
Status PathGradientBrush::SetBlendBellShape(IN REAL focus, IN REAL scale = 1,0)
Legt die Blend-Form dieses Pfadverlaufpinsels fest.
GpStatus WINGDIPAPI GdipSetPathGradientLinearBlend(GpPathGradient *brush, REAL focus, REAL scale)
Status PathGradientBrush::SetBlendTriangularShape( IN REAL focus, IN REAL scale = 1,0 )
Legt die Blend-Form dieses Pfadverlaufpinsels fest.
GpStatus WINGDIPAPI GdipGetPathGradientWrapMode(GpPathGradient *brush, GpWrapMode *wrapmode)
WrapMode PathGradientBrush::GetWrapMode() const
Ruft den derzeit für diesen Pfadverlaufpinsel festgelegten Umbruchmodus ab.
GpStatus WINGDIPAPI GdipSetPathGradientWrapMode(GpPathGradient *brush, GpWrapMode wrapmode)
Status PathGradientBrush::SetWrapMode(IN WrapMode wrapMode)
Legt den Umbruchmodus dieses Pfadverlaufpinsels fest.
GpStatus WINGDIPAPI GdipGetPathGradientTransform(GpPathGradient *brush, GpMatrix *matrix)
Status PathGradientBrush::GetTransform(OUT Matrix *matrix) const
Ruft die Transformationsmatrix dieses Pfadverlaufpinsels ab.
GpStatus WINGDIPAPI GdipSetPathGradientTransform(GpPathGradient *brush, GpMatrix *matrix)
Status PathGradientBrush::SetTransform(IN const Matrix*-Matrix)
Legt die Transformationsmatrix dieses Pfadverlaufpinsels fest.
GpStatus WINGDIPAPI GdipResetPathGradientTransform(GpPathGradient* brush)
Status PathGradientBrush::ResetTransform()
Setzt die Transformationsmatrix dieses Pfadverlaufpinsels auf die Identitätsmatrix zurück. Dies bedeutet, dass keine Transformation stattfindet.
GpStatus WINGDIPAPI GdipMultiplyPathGradientTransform(GpPathGradient* brush, GDIPCONST GpMatrix *matrix, GpMatrixOrder order)
Status PathGradientBrush::MultiplizierenTransform(IN const Matrix*-Matrix, IN MatrixOrder-Reihenfolge = MatrixOrderPrepend)
Aktualisiert die Transformationsmatrix des Pinsels mit dem Produkt selbst und einer anderen Matrix.
GpStatus WINGDIPAPI GdipTranslatePathGradientTransform(GpPathGradient* brush, REAL dx, REAL dy, GpMatrixOrder order)
Status PathGradientBrush::TranslateTransform(IN REAL dx, IN REAL dy, IN MatrixOrder order = MatrixOrderPrepend)
Aktualisiert die aktuelle Transformationsmatrix dieses Pinsels mit dem Produkt selbst und einer Übersetzungsmatrix.
GpStatus WINGDIPAPI GdipScalePathGradientTransform(GpPathGradient* brush, REAL sx, REAL sy, GpMatrixOrder order)
Status PathGradientBrush::ScaleTransform(IN REAL sx, IN REAL sy, IN MatrixOrder order = MatrixOrderPrepend)
Aktualisiert die aktuelle Transformationsmatrix dieses Pinsels mit dem Produkt selbst und einer Skalierungsmatrix.
GpStatus WINGDIPAPI GdipRotatePathGradientTransform(GpPathGradient* brush, REAL angle, GpMatrixOrder order)
Status PathGradientBrush::RotateTransform(IN REAL angle, IN MatrixOrder order = MatrixOrderPrepend)
Aktualisiert die aktuelle Transformationsmatrix dieses Pinsels mit dem Produkt selbst und einer Drehungsmatrix.
GpStatus WINGDIPAPI GdipGetPathGradientFocusScales(GpPathGradient *brush, REAL* xScale, REAL* yScale)
Status PathGradientBrush::GetFocusScales(OUT REAL* xScale, OUT REAL* yScale) const
Ruft die Fokusskalen dieses Pfadverlaufpinsels ab.
GpStatus WINGDIPAPI GdipSetPathGradientFocusScales(GpPathGradient *brush, REAL xScale, REAL yScale)
Status PathGradientBrush::SetFocusScales(IN REAL xScale, IN REAL yScale)
Legt die Fokusskalen dieses Pfadverlaufpinsels fest.