//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * * @param path * @param matrix * @param fillStyle * @param mode */ public void DrawPath(GraphicsPathFP path, MatrixFP matrix, BrushFP fs, int mode) { _transformMatrix = matrix; DrawPath(path, fs, mode); _transformMatrix = null; }
//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * Constructor. * @param brush * @param ff_width * @param startlinecap * @param endlinecap * @param linejoin */ public PenFP(BrushFP brush, int ffWidth, int startlinecap, int endlinecap, int linejoin) { Brush = brush; Width = ffWidth; StartCap = startlinecap; EndCap = endlinecap; LineJoin = linejoin; }
//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * * @param path * @param style * @param mode */ public void DrawPath(GraphicsPathFP path, BrushFP style, int mode) { _scanIndex = 0; _drawMode = mode; path.Visit(this); RadixSort(Scanbuf, ScanbufTmp, _scanIndex); _fillStyle = style; if (_transformMatrix != null) { _fillStyle.SetGraphicsMatrix(_transformMatrix); } DrawBuffer(); _fillStyle = null; }
//////////////////////////////////////////////////////////////////////////// //--------------------------------- REVISIONS ------------------------------ // Date Name Tracking # Description // --------- ------------------- ------------- ---------------------- // 13JUN2009 James Shen Initial Creation //////////////////////////////////////////////////////////////////////////// /** * constrcutor. * @param brush the brush. * @param ff_width the width of this pen. * @param linecap the start cap style of this pen. * @param linejoin the end cap style of this pen. */ public PenFP(BrushFP brush, int ffWidth, int linecap, int linejoin) : this(brush, ffWidth, linecap, linecap, linejoin) { }