8 Dec
2023
8 Dec
'23
3:44 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/graphics.c:
+ GpPointF points[3]; + GpStatus status;
- return NotImplemented; + TRACE("(%p, %p, %p, %p, %p, %p, %d)\n", graphics, image, src_rect, transform, effect, imageattr, src_unit); + + if (!graphics || !image) + return InvalidParameter; + + if (effect) + FIXME("effect not implemented\n"); + + if (!src_rect) + { + if (image->type != ImageTypeBitmap) + FIXME("src rect is NULL and source is not bitmap\n"); Why do we need it to be a bitmap? GdipGetImageBounds works for metafiles.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4638#note_55551