gdiplus: Added GdipConvertToEmfPlus stub.
This commit is contained in:
parent
795b62216d
commit
f8b2b77f69
|
@ -66,7 +66,7 @@
|
|||
@ stub GdipCombineRegionRectI
|
||||
@ stub GdipCombineRegionRegion
|
||||
@ stub GdipComment
|
||||
@ stub GdipConvertToEmfPlus
|
||||
@ stdcall GdipConvertToEmfPlus(ptr ptr ptr long ptr ptr)
|
||||
@ stub GdipConvertToEmfPlusToFile
|
||||
@ stub GdipConvertToEmfPlusToStream
|
||||
@ stub GdipCreateAdjustableArrowCap
|
||||
|
|
|
@ -255,6 +255,24 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR* filename,
|
|||
return stat;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics* ref,
|
||||
GpMetafile* metafile, BOOL* succ, EmfType emfType,
|
||||
const WCHAR* description, GpMetafile** out_metafile)
|
||||
{
|
||||
static int calls;
|
||||
|
||||
if(!ref || !metafile || !out_metafile)
|
||||
return InvalidParameter;
|
||||
|
||||
*succ = FALSE;
|
||||
*out_metafile = NULL;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
/* FIXME: this should create a bitmap in the given size with the attributes
|
||||
* (resolution etc.) of the graphics object */
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT width, INT height,
|
||||
|
|
|
@ -191,6 +191,13 @@ enum LinearGradientMode
|
|||
LinearGradientModeBackwardDiagonal
|
||||
};
|
||||
|
||||
enum EmfType
|
||||
{
|
||||
EmfTypeEmfOnly = MetafileTypeEmf,
|
||||
EmfTypeEmfPlusOnly = MetafileTypeEmfPlusOnly,
|
||||
EmfTypeEmfPlusDual = MetafileTypeEmfPlusDual
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
typedef enum Unit Unit;
|
||||
|
@ -211,6 +218,7 @@ typedef enum ImageType ImageType;
|
|||
typedef enum WrapMode WrapMode;
|
||||
typedef enum MetafileType MetafileType;
|
||||
typedef enum LinearGradientMode LinearGradientMode;
|
||||
typedef enum EmfType EmfType;
|
||||
|
||||
#endif /* end of c typedefs */
|
||||
|
||||
|
|
|
@ -191,6 +191,8 @@ GpStatus WINGDIPAPI GdipSetCustomLineCapStrokeCaps(GpCustomLineCap*,GpLineCap,
|
|||
GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*);
|
||||
GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT,
|
||||
PixelFormat,BitmapData*);
|
||||
GpStatus WINGDIPAPI GdipConvertToEmfPlus(const GpGraphics*,GpMetafile*,BOOL*,
|
||||
EmfType,const WCHAR*,GpMetafile**);
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR*,GpBitmap**);
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromGraphics(INT,INT,GpGraphics*,GpBitmap**);
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
|
||||
|
|
Loading…
Reference in New Issue