gdiplus: Added GdipGetImageBounds stub.
This commit is contained in:
parent
50799cf04f
commit
a0b144a1e3
|
@ -265,7 +265,7 @@
|
|||
@ stub GdipGetHatchStyle
|
||||
@ stub GdipGetHemfFromMetafile
|
||||
@ stub GdipGetImageAttributesAdjustedPalette
|
||||
@ stub GdipGetImageBounds
|
||||
@ stdcall GdipGetImageBounds(ptr ptr ptr)
|
||||
@ stub GdipGetImageDecoders
|
||||
@ stub GdipGetImageDecodersSize
|
||||
@ stub GdipGetImageDimension
|
||||
|
|
|
@ -42,6 +42,20 @@ GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
|
|||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect,
|
||||
GpUnit *srcUnit)
|
||||
{
|
||||
static int calls;
|
||||
|
||||
if(!image || !srcRect || !srcUnit)
|
||||
return InvalidParameter;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage *image, UINT *height)
|
||||
{
|
||||
static int calls;
|
||||
|
|
|
@ -132,6 +132,7 @@ GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
|
|||
GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
|
||||
|
||||
GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
|
||||
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
|
||||
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
|
||||
GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
|
||||
GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);
|
||||
|
|
Loading…
Reference in New Issue