Exemplo n.º 1
0
 /**
  * Function: createImage
  */
 function createImage($clip = null, $background = null)
 {
     return mxGdCanvas::drawGraph($this, $clip, $background);
 }
Exemplo n.º 2
0
 /**
  * Constructor: mxGdCanvas
  *
  * Constructs a new GD canvas. Use a HTML color definition for
  * the optional background parameter, eg. white or #FFFFFF.
  */
 function mxHtmlCanvas($scale = 1, $basePath = "")
 {
     parent::mxGdCanvas(null, null, $scale, null, $basePath);
     $this->html = "";
 }