A drawable area that will go to a PImage in memory.
![]() | PMemoryCanvas ( const PImage & img ) Create a canvas using the specified image. |
![]() | ~PMemoryCanvas () Destroy the canvas and image. |
![]() | GetDrawingBounds () const Get the drawable area of the image, for instance, this would be the dimensions of the PPixelImage used by the canvas. |
![]() | GetImage () Get the image created by the canvas. |
![]() | Overrides from class PCanvas |
![]() | New functions for class |
![]() | image Image to draw into. |
PORDINATE Member variables
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
A drawable area that will go to a PImage in memory. Note that the PImage object passed to the PMemoryCanvas is undefined while the PMemoryCanvas exists. Not until the PMemoryCanvas is destroyed is the PImage object guarenteed to be updated.NOTE *********************************** On Some platforms, canvases are a limited resource. Do NOT create and leave them around for long periods. As soon as it is not required till the next user event, destroy it!
virtual ~PMemoryCanvas()
Overrides from class PCanvas
virtual PRect GetDrawingBounds() const
New functions for class
const PImage GetImage()
Alphabetic index HTML hierarchy of classes or Java