Ejemplo n.º 1
0
 private void  InitBlock()
 {
     bufferedImage = null;
     lineStyle     = new PenFP(0x0, SingleFP.One);
     fillStyle     = new SolidBrushFP(0x0);
     paintMode     = GraphicsPathRenderer.MODE_XOR;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public void  DrawPath(GraphicsPathFP path, MatrixFP matrix, BrushFP fillStyle, int mode)
 {
     transformMatrix = matrix;
     DrawPath(path, fillStyle, mode);
     transformMatrix = null;
 }
Ejemplo n.º 5
0
 public PenFP(BrushFP brush, int ff_width, int linecap, int linejoin) :
     this(brush, ff_width, linecap, linecap, linejoin)
 {
 }