mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
[GDIPLUS]
sync gdiplus with wine 1.1.41 svn path=/trunk/; revision=46317
This commit is contained in:
parent
335d8b61b1
commit
518193eb0a
|
@ -865,7 +865,10 @@ GpStatus WINGDIPAPI GdipCreateTextureIA(GpImage *image,
|
|||
|
||||
(*texture)->brush.gdibrush = CreateBrushIndirect(&(*texture)->brush.lb);
|
||||
(*texture)->brush.bt = BrushTypeTextureFill;
|
||||
if (imageattr)
|
||||
(*texture)->wrap = imageattr->wrap;
|
||||
else
|
||||
(*texture)->wrap = WrapModeTile;
|
||||
(*texture)->image = new_image;
|
||||
|
||||
exit:
|
||||
|
|
|
@ -2108,6 +2108,8 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile * metafile,
|
|||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
memset(header, 0, sizeof(MetafileHeader));
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
|
@ -2194,6 +2196,7 @@ struct image_format_dimension image_format_dimensions[] =
|
|||
{NULL}
|
||||
};
|
||||
|
||||
/* FIXME: Need to handle multi-framed images */
|
||||
GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image,
|
||||
GDIPCONST GUID* dimensionID, UINT* count)
|
||||
{
|
||||
|
@ -2201,13 +2204,15 @@ GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage *image,
|
|||
|
||||
TRACE("(%p,%s,%p)\n", image, debugstr_guid(dimensionID), count);
|
||||
|
||||
if(!image || !dimensionID || !count)
|
||||
if(!image || !count)
|
||||
return InvalidParameter;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
FIXME("returning frame count of 1\n");
|
||||
|
||||
return NotImplemented;
|
||||
*count = 1;
|
||||
|
||||
return Ok;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipImageGetFrameDimensionsCount(GpImage *image,
|
||||
|
|
Loading…
Reference in a new issue