private void InitBlock() { bufferedImage = null; lineStyle = new PenFP(0x0, SingleFP.One); fillStyle = new SolidBrushFP(0x0); paintMode = GraphicsPathRenderer.MODE_XOR; }
public PenFP(BrushFP brush, int ff_width, int startlinecap, int endlinecap, int linejoin) { this.Brush = brush; this.Width = ff_width; this.StartCap = startlinecap; this.EndCap = endlinecap; this.LineJoin = linejoin; }
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; }
public void DrawPath(GraphicsPathFP path, MatrixFP matrix, BrushFP fillStyle, int mode) { transformMatrix = matrix; DrawPath(path, fillStyle, mode); transformMatrix = null; }
public PenFP(BrushFP brush, int ff_width, int linecap, int linejoin) : this(brush, ff_width, linecap, linecap, linejoin) { }