Esempio n. 1
0
 public DrawingGraphics(Graphics gr, Image canvasImage)
 {
     this.Graphics = gr;
     this.canvasImage = canvasImage;
     this.state = new DrawingHelperState(this.ValidateExtendsFromLogic);
     this.drawingExtends = new Rectangle();
     this.MaxWidth = canvasImage.Width;
     this.MaxHeight = canvasImage.Height;
 }
Esempio n. 2
0
 public DrawingGraphics(Graphics gr, Image canvasImage)
 {
     this.Graphics       = gr;
     this.canvasImage    = canvasImage;
     this.state          = new DrawingHelperState(this.ValidateExtendsFromLogic);
     this.drawingExtends = new Rectangle();
     this.MaxWidth       = canvasImage.Width;
     this.MaxHeight      = canvasImage.Height;
 }
Esempio n. 3
0
        public DrawingGraphics(Graphics gr, Image canvasImage)
        {
            this.Graphics = gr;
            this.canvasImage = canvasImage;
            this.state = new DrawingHelperState(this.ValidateExtendsFromLogic);
            this.drawingExtends = new Rectangle();

            //! Fork: fleuxdesktop2, Change Set 6a7e167f7196
            this.MaxWidth = canvasImage.Width;
            this.MaxHeight = canvasImage.Height;
        }