public UIShowZoneBaseHandler(IPictureBase pict, RectangleF mirrorBound) { pict_ = pict; mirrorBound_ = mirrorBound; ClientBound = pict_.Image2Client(mirrorBound_); pict_.ConversionChanged += OnConversionChanged; }
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; }
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); } }
public UIShowZoneBoundsHandler(IPictureBase pict, RectangleF mirrorBound, Options options) : base(pict, mirrorBound) { pict_ = pict; options_ = options; }
public UIOffHandler(IPictureBase pict) { pict_ = pict; }