mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 14:43:38 +00:00
gdiplus: Added GdipCreateBitmapFromStreamICM.
This commit is contained in:
parent
8304765abd
commit
3ee25cc3df
|
@ -80,7 +80,7 @@
|
|||
@ stub GdipCreateBitmapFromResource
|
||||
@ stdcall GdipCreateBitmapFromScan0(long long long long ptr ptr)
|
||||
@ stub GdipCreateBitmapFromStream
|
||||
@ stub GdipCreateBitmapFromStreamICM
|
||||
@ stdcall GdipCreateBitmapFromStreamICM(ptr ptr)
|
||||
@ stub GdipCreateCachedBitmap
|
||||
@ stdcall GdipCreateCustomLineCap(ptr ptr long long ptr)
|
||||
@ stub GdipCreateEffect
|
||||
|
|
|
@ -97,6 +97,19 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT width, INT height, INT stride,
|
|||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream* stream,
|
||||
GpBitmap **bitmap)
|
||||
{
|
||||
GpStatus stat;
|
||||
|
||||
stat = GdipLoadImageFromStreamICM(stream, (GpImage**) bitmap);
|
||||
|
||||
if(stat == Ok)
|
||||
(*bitmap)->image.type = ImageTypeBitmap;
|
||||
|
||||
return stat;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
|
||||
{
|
||||
if(!image)
|
||||
|
|
|
@ -140,6 +140,7 @@ GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
|
|||
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
|
||||
GpBitmap**);
|
||||
GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
|
||||
GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
|
||||
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage*,GpRectF*,GpUnit*);
|
||||
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
|
||||
|
|
Loading…
Reference in a new issue