How to change the size of the canvas?



I have an image that is basically the canvas that the user draws on.
He may also be making changes to the Graphics object that is used to draw on
the canvas.
Then he wants to make the canvas bigger and continue drawing.
I know how to create the bigger Image and draw the old picture on it and
create a new Graphics object from the new Image.
However, I don't know how to make the new Image and Graphic object reflect
changes in properties he may have made.


Any suggestions

Thank


.



Relevant Pages

  • Re: Make a new graphics object have all the properties of the old graphics object
    ... I have an image that is basically the canvas that the user draws on. ... He may also be making changes to the Graphics object that is used to draw on ... graphics object (like PageUnit and InterpolationMode...) ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Questions about drawing on Canvas
    ... I am attempting for the first time to do some drawing on a canvas. ... Why do you subclass from JPanel to draw rectangles, ... // TODO Find out what effect removing these LOC will have. ...
    (comp.lang.java.programmer)
  • Re: Questions about drawing on Canvas
    ... axes and then superimpose a line on the canvas as well, ... Why do you subclass from JPanel to draw rectangles, ... // TODO Find out what effect removing these LOC will have. ...
    (comp.lang.java.programmer)
  • Re: Drawing a string
    ... why don't you ditch the picturebox and do all the painting in the ... OnPaint method of your form, get the graphics object you are passed, draw ... > like the picture box is in front of the string I've drawn. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Newbie looking for info on basic graphics with Delphi.
    ... panel objuct on the main form. ... some of them draw on their parent's canvas. ... I think all of Windows' ...
    (comp.lang.pascal.delphi.misc)