Esempio n. 1
0
        internal ProtractorRoiInfo(ProtractorGraphic protractor) : base(protractor.ParentPresentationImage)
        {
            _points = new List <PointF>();

            protractor.CoordinateSystem = CoordinateSystem.Source;
            try
            {
                for (int i = 0; i < protractor.Points.Count; ++i)
                {
                    _points.Add(protractor.Points[i]);
                }
            }
            finally
            {
                protractor.ResetCoordinateSystem();
            }
        }
Esempio n. 2
0
 protected ProtractorGraphic(ProtractorGraphic source, ICloningContext context)
     : base(source, context)
 {
     context.CloneFields(source, this);
 }