aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes capture painted graphics outside canvas?? pls help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "capture painted graphics outside canvas?? pls help" Watch "capture painted graphics outside canvas?? pls help" New topic
Author

capture painted graphics outside canvas?? pls help

Iason Dimitrakopoulos
Greenhorn

Joined: Nov 14, 2001
Posts: 13
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

Joined: Oct 29, 2001
Posts: 8900
    
    8

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)?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: capture painted graphics outside canvas?? pls help