Beispiel #1
0
 public static void DrawGDIPaths(Graphics g, Size canvasSize, NShape nshape, NPath npath, float multiplier)
 {
     if (nshape != null)
     {
         //NShape gdiShape =;
         using (GraphicsPath drawPath = GetGraphicsPath(NShape.GetPoints(nshape, npath, OutputPointTypeID.GDI, canvasSize, multiplier))) //npath))
         {
             if (drawPath.PointCount > 0)
             {
                 PaintGraphicsPath(g, drawPath, npath.PenColor, npath.PenWidth, npath.FillColor);
             }
         }
     }
 }