Re: [PATCH v8 0/6] MR3288: gdiplus: Clip polygons before drawing them
15 Dec
2023
15 Dec
'23
10 a.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/graphicspath.c:
memset(types + i, 0, ((path->pathdata.Count + 3) & ~3) - path->pathdata.Count); return size; } + +GpStatus clip_path(GpGraphics *graphics, GpPath *in, GpPath *out) +{ + RectF rect; + int i; + path_list_node_t *list, *pos = NULL; + + get_graphics_device_bounds(graphics, &rect);
I think it would be cleaner to have the caller pass in a rectangle to clip to. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3288#note_56102
735
Age (days ago)
735
Last active (days ago)
0 comments
1 participants
participants (1)
-
Esme Povirk (@madewokherd)