public void ScanPath(GraphicsPathFP path, MatrixFP matrix, int mode) { scanIndex = 0; drawMode = mode; transformMatrix = matrix; path.Visit(this); transformMatrix = null; RadixSort(scanbuf, scanbuf_tmp, scanIndex); }
public void DrawPath(GraphicsPathFP path, BrushFP style, int mode) { scanIndex = 0; drawMode = mode; path.Visit(this); RadixSort(scanbuf, scanbuf_tmp, scanIndex); fillStyle = style; //fillStyle.SetBounds(ff_xmin, ff_ymin, ff_xmax, ff_ymax); if (transformMatrix != null) { fillStyle.GraphicsMatrix = transformMatrix; } DrawBuffer(); fillStyle = null; }