Esempio n. 1
0
 public UIShowZoneBaseHandler(IPictureBase pict, RectangleF mirrorBound)
 {
     pict_                    = pict;
     mirrorBound_             = mirrorBound;
     ClientBound              = pict_.Image2Client(mirrorBound_);
     pict_.ConversionChanged += OnConversionChanged;
 }
Esempio n. 2
0
        public UISelMirrorBoundHandler(IPictureBase pict, RectangleF mirrorBound, Options options)
        {
            pict_            = pict;
            options_         = options;
            pen_             = new Pen(options.SelectPenColor, 1);
            pen_.DashPattern = new float[] { 6.0F, 3.0F };
            MirrorBound      = mirrorBound;
            bound_           = pict_.Image2Client(mirrorBound);

            pict_.ConversionChanged += OnConversionChanged;
        }
Esempio n. 3
0
        public UISelNewMirrorBoundHandler(IPictureBase pict, Options options)
        {
            pict_            = pict;
            pen_             = new Pen(options.SelectPenColor, 1);
            pen_.DashPattern = new float[] { 6.0F, 3.0F };

            using (System.IO.MemoryStream cursorMemoryStream = new System.IO.MemoryStream(Properties.Resources.Selrect))
            {
                selRectCursor_ = new Cursor(cursorMemoryStream);
            }
        }
Esempio n. 4
0
 public UIShowZoneBoundsHandler(IPictureBase pict, RectangleF mirrorBound, Options options)
     : base(pict, mirrorBound)
 {
     pict_    = pict;
     options_ = options;
 }
Esempio n. 5
0
 public UIOffHandler(IPictureBase pict)
 {
     pict_ = pict;
 }