+ if(!init && fill && output->drawmode != DRAWMODE_EOFILL && !ignoredraworder) {
+ /* drawmode=FILL (not EOFILL) means that
+ seperate shapes do not cancel each other out.
+ On SWF side, we need to start a new shape for each
+ closed polygon, because SWF only knows EOFILL.
+ */
+ endshape();
+ startshape(output);
+ startFill();
+ }
+