mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:42:56 +00:00
[SDK][INCLUDE] Total refinement of Gdiplus headers (#2223)
Missing functions added. CORE-16585
This commit is contained in:
parent
265a890d7c
commit
1e83f8b5fd
7 changed files with 56 additions and 80 deletions
|
@ -79,6 +79,9 @@ getNat(const Font *font);
|
||||||
GpFontCollection *&
|
GpFontCollection *&
|
||||||
getNat(const FontCollection *fc);
|
getNat(const FontCollection *fc);
|
||||||
|
|
||||||
|
GpFontFamily *&
|
||||||
|
getNat(const FontFamily *ff);
|
||||||
|
|
||||||
GpGraphics *&
|
GpGraphics *&
|
||||||
getNat(const Graphics *graphics);
|
getNat(const Graphics *graphics);
|
||||||
|
|
||||||
|
|
|
@ -496,6 +496,8 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetDpiY(GpGraphics *, REAL *);
|
GdipGetDpiY(GpGraphics *, REAL *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipGetEncoderParameterListSize(GpImage *, GDIPCONST CLSID *, UINT *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipGetImageDecoders(UINT, UINT, ImageCodecInfo *);
|
GdipGetImageDecoders(UINT, UINT, ImageCodecInfo *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetImageDecodersSize(UINT *, UINT *);
|
GdipGetImageDecodersSize(UINT *, UINT *);
|
||||||
|
@ -512,6 +514,8 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetPixelOffsetMode(GpGraphics *, PixelOffsetMode *);
|
GdipGetPixelOffsetMode(GpGraphics *, PixelOffsetMode *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipGetRenderingOrigin(GpGraphics *, INT *, INT *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipGetSmoothingMode(GpGraphics *, SmoothingMode *);
|
GdipGetSmoothingMode(GpGraphics *, SmoothingMode *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetTextContrast(GpGraphics *, UINT *);
|
GdipGetTextContrast(GpGraphics *, UINT *);
|
||||||
|
@ -532,6 +536,8 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipIsClipEmpty(GpGraphics *, BOOL *);
|
GdipIsClipEmpty(GpGraphics *, BOOL *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipIsVisibleClipEmpty(GpGraphics *, BOOL *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipIsVisiblePoint(GpGraphics *, REAL, REAL, BOOL *);
|
GdipIsVisiblePoint(GpGraphics *, REAL, REAL, BOOL *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipIsVisiblePointI(GpGraphics *, INT, INT, BOOL *);
|
GdipIsVisiblePointI(GpGraphics *, INT, INT, BOOL *);
|
||||||
|
@ -603,6 +609,8 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipRotateWorldTransform(GpGraphics *, REAL, GpMatrixOrder);
|
GdipRotateWorldTransform(GpGraphics *, REAL, GpMatrixOrder);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipSaveAdd(GpImage *, GDIPCONST EncoderParameters *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipSaveGraphics(GpGraphics *, GraphicsState *);
|
GdipSaveGraphics(GpGraphics *, GraphicsState *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipScaleWorldTransform(GpGraphics *, REAL, REAL, GpMatrixOrder);
|
GdipScaleWorldTransform(GpGraphics *, REAL, REAL, GpMatrixOrder);
|
||||||
|
@ -794,6 +802,8 @@ extern "C"
|
||||||
GdipWarpPath(GpPath *, GpMatrix *, GDIPCONST GpPointF *, INT, REAL, REAL, REAL, REAL, WarpMode, REAL);
|
GdipWarpPath(GpPath *, GpMatrix *, GDIPCONST GpPointF *, INT, REAL, REAL, REAL, REAL, WarpMode, REAL);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipWidenPath(GpPath *, GpPen *, GpMatrix *, REAL);
|
GdipWidenPath(GpPath *, GpPen *, GpMatrix *, REAL);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
|
GdipWindingModeOutline(GpPath *, GpMatrix *, REAL);
|
||||||
|
|
||||||
/* HatchBrush */
|
/* HatchBrush */
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
@ -1071,6 +1081,15 @@ extern "C"
|
||||||
GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *, UINT);
|
GdipSetMetafileDownLevelRasterizationLimit(GpMetafile *, UINT);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipRecordMetafile(HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **);
|
GdipRecordMetafile(HDC, EmfType, GDIPCONST GpRectF *, MetafileFrameUnit, GDIPCONST WCHAR *, GpMetafile **);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
|
GdipRecordMetafileStream(
|
||||||
|
IStream *,
|
||||||
|
HDC,
|
||||||
|
EmfType,
|
||||||
|
GDIPCONST GpRectF *,
|
||||||
|
MetafileFrameUnit,
|
||||||
|
GDIPCONST WCHAR *,
|
||||||
|
GpMetafile **);
|
||||||
|
|
||||||
/* MetafileHeader */
|
/* MetafileHeader */
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
@ -1125,10 +1144,24 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetPathGradientRectI(GpPathGradient *, GpRect *);
|
GdipGetPathGradientRectI(GpPathGradient *, GpRect *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipGetPathGradientSurroundColorCount(GpPathGradient *, INT *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipGetPathGradientSurroundColorsWithCount(GpPathGradient *, ARGB *, INT *);
|
GdipGetPathGradientSurroundColorsWithCount(GpPathGradient *, ARGB *, INT *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipGetPathGradientTransform(GpPathGradient *, GpMatrix *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipGetPathGradientWrapMode(GpPathGradient *, GpWrapMode *);
|
GdipGetPathGradientWrapMode(GpPathGradient *, GpWrapMode *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipMultiplyPathGradientTransform(GpPathGradient *, GDIPCONST GpMatrix *, GpMatrixOrder);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
|
GdipResetPathGradientTransform(GpPathGradient *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
|
GdipRotatePathGradientTransform(GpPathGradient *, REAL, GpMatrixOrder);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
|
GdipScalePathGradientTransform(GpPathGradient *, REAL, REAL, GpMatrixOrder);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
|
GdipSetPathGradientLinearBlend(GpPathGradient *, REAL, REAL);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipSetPathGradientBlend(GpPathGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT);
|
GdipSetPathGradientBlend(GpPathGradient *, GDIPCONST REAL *, GDIPCONST REAL *, INT);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipSetPathGradientCenterColor(GpPathGradient *, ARGB);
|
GdipSetPathGradientCenterColor(GpPathGradient *, ARGB);
|
||||||
|
@ -1147,9 +1180,11 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipSetPathGradientSurroundColorsWithCount(GpPathGradient *, GDIPCONST ARGB *, INT *);
|
GdipSetPathGradientSurroundColorsWithCount(GpPathGradient *, GDIPCONST ARGB *, INT *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipSetPathGradientTransform(GpPathGradient *, GpMatrix *);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipSetPathGradientWrapMode(GpPathGradient *, GpWrapMode);
|
GdipSetPathGradientWrapMode(GpPathGradient *, GpWrapMode);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetPathGradientSurroundColorCount(GpPathGradient *, INT *);
|
GdipTranslatePathGradientTransform(GpPathGradient *, REAL, REAL, GpMatrixOrder);
|
||||||
|
|
||||||
/* PathIterator */
|
/* PathIterator */
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
@ -1405,6 +1440,8 @@ extern "C"
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipCreateTextureIAI(GpImage *, GDIPCONST GpImageAttributes *, INT, INT, INT, INT, GpTexture **);
|
GdipCreateTextureIAI(GpImage *, GDIPCONST GpImageAttributes *, INT, INT, INT, INT, GpTexture **);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
|
GdipGetTextureImage(GpTexture *, GpImage **);
|
||||||
|
GpStatus WINGDIPAPI
|
||||||
GdipGetTextureTransform(GpTexture *, GpMatrix *);
|
GdipGetTextureTransform(GpTexture *, GpMatrix *);
|
||||||
GpStatus WINGDIPAPI
|
GpStatus WINGDIPAPI
|
||||||
GdipGetTextureWrapMode(GpTexture *, GpWrapMode *);
|
GdipGetTextureWrapMode(GpTexture *, GpWrapMode *);
|
||||||
|
|
|
@ -1084,11 +1084,7 @@ class Graphics : public GdiplusBase
|
||||||
Status
|
Status
|
||||||
GetRenderingOrigin(INT *x, INT *y) const
|
GetRenderingOrigin(INT *x, INT *y) const
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented); // FIXME
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipGetRenderingOrigin(nativeGraphics, x, y));
|
return SetStatus(DllExports::GdipGetRenderingOrigin(nativeGraphics, x, y));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SmoothingMode
|
SmoothingMode
|
||||||
|
@ -1240,13 +1236,9 @@ class Graphics : public GdiplusBase
|
||||||
BOOL
|
BOOL
|
||||||
IsVisibleClipEmpty() const
|
IsVisibleClipEmpty() const
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return FALSE; // FIXME
|
|
||||||
#else
|
|
||||||
BOOL flag = FALSE;
|
BOOL flag = FALSE;
|
||||||
SetStatus(DllExports::GdipIsVisibleClipEmpty(nativeGraphics, &flag));
|
SetStatus(DllExports::GdipIsVisibleClipEmpty(nativeGraphics, &flag));
|
||||||
return flag;
|
return flag;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
|
|
@ -84,7 +84,6 @@ class Image : public GdiplusBase
|
||||||
GetEncoderParameterList(const CLSID *clsidEncoder, UINT size, EncoderParameters *buffer)
|
GetEncoderParameterList(const CLSID *clsidEncoder, UINT size, EncoderParameters *buffer)
|
||||||
{
|
{
|
||||||
#if 1
|
#if 1
|
||||||
// FIXME: Not available yet
|
|
||||||
return SetStatus(NotImplemented);
|
return SetStatus(NotImplemented);
|
||||||
#else
|
#else
|
||||||
return SetStatus(DllExports::GdipGetEncoderParameterList(nativeImage, clsidEncoder, size, buffer));
|
return SetStatus(DllExports::GdipGetEncoderParameterList(nativeImage, clsidEncoder, size, buffer));
|
||||||
|
@ -94,14 +93,9 @@ class Image : public GdiplusBase
|
||||||
UINT
|
UINT
|
||||||
GetEncoderParameterListSize(const CLSID *clsidEncoder)
|
GetEncoderParameterListSize(const CLSID *clsidEncoder)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
// FIXME: Not available yet
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
UINT size = 0;
|
UINT size = 0;
|
||||||
SetStatus(DllExports::GdipGetEncoderParameterListSize(nativeImage, clsidEncoder, &size));
|
SetStatus(DllExports::GdipGetEncoderParameterListSize(nativeImage, clsidEncoder, &size));
|
||||||
return size;
|
return size;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UINT
|
UINT
|
||||||
|
@ -292,12 +286,7 @@ class Image : public GdiplusBase
|
||||||
Status
|
Status
|
||||||
SaveAdd(const EncoderParameters *encoderParams)
|
SaveAdd(const EncoderParameters *encoderParams)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
// FIXME: Not available yet
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipSaveAdd(nativeImage, encoderParams));
|
return SetStatus(DllExports::GdipSaveAdd(nativeImage, encoderParams));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -1457,10 +1446,8 @@ class CustomLineCap : public GdiplusBase
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CustomLineCap(GpCustomLineCap *nativeCap, Status status)
|
CustomLineCap(GpCustomLineCap *cap, Status status) : nativeCap(cap), lastStatus(status)
|
||||||
{
|
{
|
||||||
lastStatus = status;
|
|
||||||
SetNativeCap(nativeCap);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -1494,9 +1481,6 @@ class CustomLineCap : public GdiplusBase
|
||||||
inline Image *
|
inline Image *
|
||||||
TextureBrush::GetImage() const
|
TextureBrush::GetImage() const
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return NULL; // FIXME
|
|
||||||
#else
|
|
||||||
GpImage *image = NULL;
|
GpImage *image = NULL;
|
||||||
GpTexture *texture = GetNativeTexture();
|
GpTexture *texture = GetNativeTexture();
|
||||||
SetStatus(DllExports::GdipGetTextureImage(texture, &image));
|
SetStatus(DllExports::GdipGetTextureImage(texture, &image));
|
||||||
|
@ -1507,7 +1491,6 @@ TextureBrush::GetImage() const
|
||||||
if (!newImage)
|
if (!newImage)
|
||||||
DllExports::GdipDisposeImage(image);
|
DllExports::GdipDisposeImage(image);
|
||||||
return newImage;
|
return newImage;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _GDIPLUSHEADERS_H */
|
#endif /* _GDIPLUSHEADERS_H */
|
||||||
|
|
|
@ -85,15 +85,10 @@ class Metafile : public Image
|
||||||
|
|
||||||
Metafile(IStream *stream, HDC referenceHdc, EmfType type = EmfTypeEmfPlusDual, const WCHAR *description = NULL)
|
Metafile(IStream *stream, HDC referenceHdc, EmfType type = EmfTypeEmfPlusDual, const WCHAR *description = NULL)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
// FIXME
|
|
||||||
SetNativeImage(NULL);
|
|
||||||
#else
|
|
||||||
GpMetafile *metafile = NULL;
|
GpMetafile *metafile = NULL;
|
||||||
lastStatus = DllExports::GdipRecordMetafileStream(
|
lastStatus = DllExports::GdipRecordMetafileStream(
|
||||||
stream, referenceHdc, type, NULL, MetafileFrameUnitGdi, description, &metafile);
|
stream, referenceHdc, type, NULL, MetafileFrameUnitGdi, description, &metafile);
|
||||||
SetNativeImage(metafile);
|
SetNativeImage(metafile);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Metafile(
|
Metafile(
|
||||||
|
|
|
@ -304,7 +304,9 @@ class GraphicsPath : public GdiplusBase
|
||||||
const Rect &layoutRect,
|
const Rect &layoutRect,
|
||||||
const StringFormat *format)
|
const StringFormat *format)
|
||||||
{
|
{
|
||||||
return SetStatus(NotImplemented);
|
return SetStatus(DllExports::GdipAddPathStringI(
|
||||||
|
nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &layoutRect,
|
||||||
|
format ? getNat(format) : NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -317,7 +319,10 @@ class GraphicsPath : public GdiplusBase
|
||||||
const PointF &origin,
|
const PointF &origin,
|
||||||
const StringFormat *format)
|
const StringFormat *format)
|
||||||
{
|
{
|
||||||
return SetStatus(NotImplemented);
|
RectF rect(origin.X, origin.Y, 0.0f, 0.0f);
|
||||||
|
return SetStatus(DllExports::GdipAddPathString(
|
||||||
|
nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &rect,
|
||||||
|
format ? getNat(format) : NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -330,7 +335,10 @@ class GraphicsPath : public GdiplusBase
|
||||||
const Point &origin,
|
const Point &origin,
|
||||||
const StringFormat *format)
|
const StringFormat *format)
|
||||||
{
|
{
|
||||||
return SetStatus(NotImplemented);
|
Rect rect(origin.X, origin.Y, 0, 0);
|
||||||
|
return SetStatus(DllExports::GdipAddPathStringI(
|
||||||
|
nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &rect,
|
||||||
|
format ? getNat(format) : NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -343,7 +351,9 @@ class GraphicsPath : public GdiplusBase
|
||||||
const RectF &layoutRect,
|
const RectF &layoutRect,
|
||||||
const StringFormat *format)
|
const StringFormat *format)
|
||||||
{
|
{
|
||||||
return SetStatus(NotImplemented);
|
return SetStatus(DllExports::GdipAddPathString(
|
||||||
|
nativePath, string, length, family ? getNat(family) : NULL, style, emSize, &layoutRect,
|
||||||
|
format ? getNat(format) : NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -510,12 +520,8 @@ class GraphicsPath : public GdiplusBase
|
||||||
Status
|
Status
|
||||||
Outline(const Matrix *matrix, REAL flatness)
|
Outline(const Matrix *matrix, REAL flatness)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented); // FIXME
|
|
||||||
#else
|
|
||||||
GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
|
GpMatrix *nativeMatrix = matrix ? getNat(matrix) : NULL;
|
||||||
return SetStatus(DllExports::GdipWindingModeOutline(nativePath, nativeMatrix, flatness));
|
return SetStatus(DllExports::GdipWindingModeOutline(nativePath, nativeMatrix, flatness));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -879,11 +885,7 @@ class PathGradientBrush : public Brush
|
||||||
Status
|
Status
|
||||||
GetTransform(Matrix *matrix) const
|
GetTransform(Matrix *matrix) const
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipGetPathGradientTransform(GetNativeGradient(), getNat(matrix)));
|
return SetStatus(DllExports::GdipGetPathGradientTransform(GetNativeGradient(), getNat(matrix)));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WrapMode
|
WrapMode
|
||||||
|
@ -897,41 +899,25 @@ class PathGradientBrush : public Brush
|
||||||
Status
|
Status
|
||||||
MultiplyTransform(Matrix *matrix, MatrixOrder order = MatrixOrderPrepend)
|
MultiplyTransform(Matrix *matrix, MatrixOrder order = MatrixOrderPrepend)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipMultiplyPathGradientTransform(GetNativeGradient(), getNat(matrix), order));
|
return SetStatus(DllExports::GdipMultiplyPathGradientTransform(GetNativeGradient(), getNat(matrix), order));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
ResetTransform()
|
ResetTransform()
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipResetPathGradientTransform(GetNativeGradient()));
|
return SetStatus(DllExports::GdipResetPathGradientTransform(GetNativeGradient()));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
RotateTransform(REAL angle, MatrixOrder order = MatrixOrderPrepend)
|
RotateTransform(REAL angle, MatrixOrder order = MatrixOrderPrepend)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipRotatePathGradientTransform(GetNativeGradient(), angle, order));
|
return SetStatus(DllExports::GdipRotatePathGradientTransform(GetNativeGradient(), angle, order));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
ScaleTransform(REAL sx, REAL sy, MatrixOrder order = MatrixOrderPrepend)
|
ScaleTransform(REAL sx, REAL sy, MatrixOrder order = MatrixOrderPrepend)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipScalePathGradientTransform(GetNativeGradient(), sx, sy, order));
|
return SetStatus(DllExports::GdipScalePathGradientTransform(GetNativeGradient(), sx, sy, order));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -950,11 +936,7 @@ class PathGradientBrush : public Brush
|
||||||
Status
|
Status
|
||||||
SetBlendTriangularShape(REAL focus, REAL scale = 1.0f)
|
SetBlendTriangularShape(REAL focus, REAL scale = 1.0f)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipSetPathGradientLinearBlend(GetNativeGradient(), focus, scale));
|
return SetStatus(DllExports::GdipSetPathGradientLinearBlend(GetNativeGradient(), focus, scale));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -1010,11 +992,7 @@ class PathGradientBrush : public Brush
|
||||||
Status
|
Status
|
||||||
SetTransform(const Matrix *matrix)
|
SetTransform(const Matrix *matrix)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipSetPathGradientTransform(GetNativeGradient(), getNat(matrix)));
|
return SetStatus(DllExports::GdipSetPathGradientTransform(GetNativeGradient(), getNat(matrix)));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -1026,11 +1004,7 @@ class PathGradientBrush : public Brush
|
||||||
Status
|
Status
|
||||||
TranslateTransform(REAL dx, REAL dy, MatrixOrder order = MatrixOrderPrepend)
|
TranslateTransform(REAL dx, REAL dy, MatrixOrder order = MatrixOrderPrepend)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipTranslatePathGradientTransform(GetNativeGradient(), dx, dy, order));
|
return SetStatus(DllExports::GdipTranslatePathGradientTransform(GetNativeGradient(), dx, dy, order));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -106,11 +106,7 @@ class Pen : public GdiplusBase
|
||||||
if (!customCap)
|
if (!customCap)
|
||||||
return SetStatus(InvalidParameter);
|
return SetStatus(InvalidParameter);
|
||||||
|
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipGetPenCustomEndCap(nativePen, &getNat(customCap)));
|
return SetStatus(DllExports::GdipGetPenCustomEndCap(nativePen, &getNat(customCap)));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
@ -226,11 +222,7 @@ class Pen : public GdiplusBase
|
||||||
Status
|
Status
|
||||||
MultiplyTransform(Matrix *matrix, MatrixOrder order = MatrixOrderPrepend)
|
MultiplyTransform(Matrix *matrix, MatrixOrder order = MatrixOrderPrepend)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
return SetStatus(NotImplemented);
|
|
||||||
#else
|
|
||||||
return SetStatus(DllExports::GdipMultiplyPenTransform(nativePen, getNat(matrix), order));
|
return SetStatus(DllExports::GdipMultiplyPenTransform(nativePen, getNat(matrix), order));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Status
|
Status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue