Documentation for gcanvas.ew v0.10.5
Table of Contents

Utils

Routines to help manipulate the canvas


  • func getGfxCanvasGfx(integer canvasID)   Get a 'handle' on the underlying graphex object used by the canvas.
  • proc gfxCanvasCenter(integer canvasID)   Cause the canvas to be displayed with its contents centered.
  • proc setGfxCanvasGfx(integer canvasID, sequence gfx)   UNTESTED changing the graphex object on the canvas

    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [func]
    getGfxCanvasGfx
    (integer canvasID)

    Get a 'handle' on the underlying graphex object used by the canvas.

    Returns: The graphex gfx id the canvas is using

    Category: Utils


    You can manipulate this gfx any way you like and it should be displayed in the canvas
    (untested)

    See Also: gfxCanvasCenter, setGfxCanvasGfx


    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [proc]
    gfxCanvasCenter
    (integer canvasID)

    Cause the canvas to be displayed with its contents centered.

    Category: Utils

    See Also: getGfxCanvasGfx, setGfxCanvasGfx


    Documentation for gcanvas.ew v0.10.5
    Table of Contents

    [proc]
    setGfxCanvasGfx
    (integer canvasID, sequence gfx)

    UNTESTED changing the graphex object on the canvas

    Category: Utils

    See Also: getGfxCanvasGfx, gfxCanvasCenter