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