Jeffrey Smith (@whydoubt) commented about dlls/gdiplus/tests/pathiterator.c:
GdipDeletePathIter(iter);
- /* single figure */
- GdipAddPathLine(path, 0.0, 0.0, 10.0, 30.0);
- /* figure with three subpaths */
- stat = GdipAddPathLine(path, 0.0, 0.0, 10.0, 30.0);
- expect(Ok, stat);
- stat = GdipAddPathRectangle(path, 1.0, 2.0, 3.0, 4.0);
- expect(Ok, stat);
- stat = GdipAddPathEllipse(path, 0.0, 0.0, 35.0, 70.0);
- expect(Ok, stat); GdipCreatePathIter(&iter, path);
- /* When subPath is not set,
it is not possible to get Path Type */
- result = -2;
Another left-over.