Ejemplo 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;
 }
Ejemplo 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;
 }
Ejemplo 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;
        }