Documentation for graphex.ew v0.10.5
Table of Contents

Data

Accessing data associated with a gfx object


All of these functions only accept a gfx id returned by gfxNew

  • func gfxBuf(gfx)   Get the win32lib id of the Pixmap buffer of the gfx
  • func gfxControl(gfx)   Get the id of the Bitmap control associated with the gfx
  • func gfxHeight(gfx)   Get the height of the gfx object
  • func gfxParent(gfx)   Get the parent win32lib id of the gfx
  • func gfxWidth(gfx)   Get the width of a Gfx object
  • func gfxX(gfx)   Get the X coordinate of the gfx object in its parent
  • func gfxY(gfx)   Get the Y coordinate of the gfx object in its parent
  • var GFX_*   

    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxBuf
    (gfx)

    Get the win32lib id of the Pixmap buffer of the gfx

    Returns: The id of the Pixmap buffer, in win32lib ids

    Category: Data

    See Also: gfxControl, gfxHeight, gfxParent, gfxWidth, gfxX, gfxY, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxControl
    (gfx)

    Get the id of the Bitmap control associated with the gfx

    Returns: The win32lib id of the Bitmap control for attaching event handlers to.

    Category: Data

    dimensions and 'location' as the Pixmap buffer therefore is the gfx's interface to the 'outside world'. Unless there's a way for Pixmaps to receive events that I don't know about :)

    See Also: gfxBuf, gfxHeight, gfxParent, gfxWidth, gfxX, gfxY, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxHeight
    (gfx)

    Get the height of the gfx object

    Returns: The height of the gfx, in pixels

    Category: Data

    See Also: gfxBuf, gfxControl, gfxParent, gfxWidth, gfxX, gfxY, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxParent
    (gfx)

    Get the parent win32lib id of the gfx

    Returns: The parent win32lib id, usually a Window

    Category: Data

    See Also: gfxBuf, gfxControl, gfxHeight, gfxWidth, gfxX, gfxY, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxWidth
    (gfx)

    Get the width of a Gfx object

    Returns: The width, in pixels.

    Category: Data

    See Also: gfxBuf, gfxControl, gfxHeight, gfxParent, gfxX, gfxY, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxX
    (gfx)

    Get the X coordinate of the gfx object in its parent

    Returns: The x coordinate in the parent of 0,0 of the gfx object

    Category: Data

    See Also: gfxBuf, gfxControl, gfxHeight, gfxParent, gfxWidth, gfxY, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxY
    (gfx)

    Get the Y coordinate of the gfx object in its parent

    Returns: The Y coordinate in Pixels (positive down)

    Category: Data

    See Also: gfxBuf, gfxControl, gfxHeight, gfxParent, gfxWidth, gfxX, GFX_*


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [var]
    GFX_*

    Category: Data

    These are indexes into a gfx sequence if you choose not to use the access methods
    GFX_CONTROL see gfxControl
    GFX_BUFFER see gfxBuf
    GFX_WIDTH see gfxWidth
    GFX_HEIGHT see gfxHeight
    GFX_PARENT see gfxParent
    GFX_X see gfxX
    GFX_Y see gfxY
    GFX_HIDDEN see gfxHide but better to manipulate directly
    GFX_TOP used for sequence length verification

    See Also: gfxBuf, gfxControl, gfxHeight, gfxParent, gfxWidth, gfxX, gfxY