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.