public void onBeginDraw(ref PointF p, int nCompress = 0) { m_bDrawing = true; m_lastPoint = p; CanvasItem item = new CanvasItem(); item.listpoints = new List <PointF>(); item.beginPoint = p; m_currentItem = item; }
public void onBeginDrawBezier(ref PointF p, float fPenWidth) { // doPointDrawing(ref p); //return; bFristPoint = true; lstBezierPoints.Clear(); m_bDrawing = true; bFristPoint = true; lstBezierPoints.Add(p); CanvasItem item = new CanvasItem(); item.listpoints = new List <PointF>(); item.listPenWidthf = new List <float>(); item.beginPoint = p; m_currentItem = item; }