Esempio n. 1
0
        public Object Clone()
        {
            NShape me = new NShape();

            me.LibraryName       = LibraryName;
            me.Name              = Name;
            me.Namespace         = Namespace;
            me.Paths             = (NPathCollection)Paths.Clone();
            me.XAxisGridMultiple = XAxisGridMultiple;
            me.YAxisGridMultiple = YAxisGridMultiple;
            me.Properties        = Properties;
            return(me);
        }
Esempio n. 2
0
        public static NPath GetPoints(NShape cartesian, NPath npath, OutputPointTypeID returnPointType, Size canvasSize, float multiplier)
        {
            NPath returnValue = null;

            switch (returnPointType)
            {
            case OutputPointTypeID.GDI:
                returnValue = GetGDIPoints(npath, canvasSize, multiplier);
                break;

            case OutputPointTypeID.NShape:
                returnValue = GetNShapePoints(npath, canvasSize, multiplier);
                break;
            }
            return(returnValue);
        }