Jeffrey Smith (@whydoubt) commented about dlls/gdiplus/tests/pathiterator.c:
- GdipDeletePathIter(iter);
- GdipDeletePath(path);
- /* closed */
- GdipClosePathFigure(path);
- GdipCreatePathIter(&iter, path);
- start = end = result = (INT)0xdeadbeef;
- /* Single PathPointTypeStart point */
- GdipCreatePath(FillModeAlternate, &path);
- point.X = 1.0;
- point.Y = 2.0;
- stat = GdipAddPathLine2(path, &point, 1);
- expect(Ok, stat);
- GdipStartPathFigure(path);
I don't believe this GdipStartPathFigure has any effect.