2D: Add a comment about why we need to know the fill mode early. r=bas

This commit is contained in:
Jeff Muizelaar 2011-07-07 12:57:52 -04:00
parent 393dc001bc
commit a4fa82cf61

View File

@ -626,6 +626,10 @@ public:
/* /*
* Create a path builder with the specified fillmode. * Create a path builder with the specified fillmode.
*
* We need the fill mode up front because of Direct2D.
* ID2D1SimplifiedGeometrySink requires the fill mode
* to be set before calling BeginFigure().
*/ */
virtual TemporaryRef<PathBuilder> CreatePathBuilder(FillRule aFillRule = FILL_WINDING) const = 0; virtual TemporaryRef<PathBuilder> CreatePathBuilder(FillRule aFillRule = FILL_WINDING) const = 0;