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