com::mxgraph::mxImageCanvas Class Reference

Implements a canvas that draws onto an image. More...

Inheritance diagram for com::mxgraph::mxImageCanvas:
com::mxgraph::mxICanvas

List of all members.

Public Member Functions

 mxImageCanvas (mxGdiCanvas canvas, int width, int height, Color?background, bool antiAlias)
Object DrawCell (mxCellState state)
 see com.mxgraph.mxICanvas.DrawCell()
Object DrawLabel (string text, mxCellState state, bool html)
 see com.mxgraph.mxICanvas.DrawLabel()
Image Destroy ()
 Destroys this canvas and all allocated resources.

Protected Attributes

mxGdiCanvas canvas
 Inner canvas used for the actual rendering.
Graphics previousGraphics
 Stores the previous graphics reference of the inner canvas.
Image image
 Stores the image that holds the graphics.

Properties

mxGdiCanvas GdiCanvas [get]
 Returns the inner canvas.
Image Image [get]
 Returns the image that hold the graphics.
Point Translate [get, set]
 see com.mxgraph.mxICanvas.Translate
double Scale [get, set]
 see com.mxgraph.mxICanvas.Translate

Detailed Description

Implements a canvas that draws onto an image.


Constructor & Destructor Documentation

com::mxgraph::mxImageCanvas::mxImageCanvas ( mxGdiCanvas  canvas,
int  width,
int  height,
Color?  background,
bool  antiAlias 
) [inline]
Parameters:
canvas 
width 
height 
background 
antiAlias 

Member Function Documentation

Image com::mxgraph::mxImageCanvas::Destroy (  )  [inline]

Destroys this canvas and all allocated resources.

Object com::mxgraph::mxImageCanvas::DrawCell ( mxCellState  state  )  [inline]
Object com::mxgraph::mxImageCanvas::DrawLabel ( string  text,
mxCellState  state,
bool  html 
) [inline]

Member Data Documentation

Inner canvas used for the actual rendering.

Stores the image that holds the graphics.

Stores the previous graphics reference of the inner canvas.


Property Documentation

mxGdiCanvas com::mxgraph::mxImageCanvas::GdiCanvas [get]

Returns the inner canvas.

Image com::mxgraph::mxImageCanvas::Image [get]

Returns the image that hold the graphics.

double com::mxgraph::mxImageCanvas::Scale [get, set]
Point com::mxgraph::mxImageCanvas::Translate [get, set]

The documentation for this class was generated from the following file:
Generated on Thu Jun 14 13:40:39 2012 for mxGraph by  doxygen 1.6.3