Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }