Ejemplo n.º 1
0
        private void onBeginDraw(ref PointF p, int status)
        {
            m_bDrawing  = true;
            m_lastPoint = p;
            CanvasItem item = new CanvasItem();

            item.listpoints    = new List <PointF>();
            item.listPenWidthf = new List <float>();
            item.beginPoint    = p;
            m_currentItem      = item;
        }
Ejemplo n.º 2
0
        public void onBeginDrawBezier(ref PointF p, float fPenWidth)
        {
            // doPointDrawing(ref p);
            //return;

            bFristPoint = true;
            lstBezierPoints.Clear();
            m_bDrawing = true;
            lstBezierPoints.Add(p);

            CanvasItem item = new CanvasItem();

            item.listpoints    = new List <PointF>();
            item.listPenWidthf = new List <float>();

            item.beginPoint = p;
            m_currentItem   = item;
        }