Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

capture painted graphics outside canvas?? pls help

 
Iason Dimitrakopoulos
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to create an image from a canvas using createImage but i want to include graphics that are painted outside the canvas not only the ones i can see..
how is this possible? every and any help appreciated
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
createImage takes a width and height. You could create an image with a comfortable margin on your canvas. What more do you need (other than a reminder that the image's coordinate system starts at 0,0, so you will need to do some transformation before painting the canvas)?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic