Documentation for graphex.ew v0.10.5
Table of Contents

Misc

Misc stuff :)


  • func gfxHidden(gfx_id)   Returns w32True if the gfx object is hidden
  • proc gfxHide(gfx_id, true_or_false)   Set the hidden status of the gfx object. Supply w32True or w32False
  • proc gfxRedrawRect(id,x1,y1,x2,y2)   Analogue of repaintRect :
  • func in_round(atom x)   Round to nearest integer
  • func SCREENHEIGHT()   Get the full screen height available
  • func SCREENWIDTH()   Get the full screen size available width

    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxHidden
    (gfx_id)

    Returns w32True if the gfx object is hidden

    Returns: w32True = hidden, w32False = not hidden

    Category: Misc

    See Also: gfxHide, gfxRedrawRect, in_round, SCREENHEIGHT, SCREENWIDTH


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [proc]
    gfxHide
    (gfx_id, true_or_false)

    Set the hidden status of the gfx object. Supply w32True or w32False

    Category: Misc

    See Also: gfxHidden, gfxRedrawRect, in_round, SCREENHEIGHT, SCREENWIDTH


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [proc]
    gfxRedrawRect
    (id,x1,y1,x2,y2)

    Analogue of repaintRect :

    Category: Misc

    Supplied by Derek Parnell in response to this on EUForum
    Date: Wed 21 08:41
    From: Derek Parnell
    Subject: Re: Windows vertical retrace


    ags wrote:

    > One question though.. why is there no non-erasing equivalent for paintRect?

    Because nobody asked for it.

    See Also: gfxHidden, gfxHide, in_round, SCREENHEIGHT, SCREENWIDTH


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    in_round
    (atom x)

    Round to nearest integer

    Returns: The nearest integer

    Category: Misc

    See Also: gfxHidden, gfxHide, gfxRedrawRect, SCREENHEIGHT, SCREENWIDTH


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    SCREENHEIGHT
    ()

    Get the full screen height available

    Returns: The height in pixels of the 'full screen'

    Category: Misc

    See Also: gfxHidden, gfxHide, gfxRedrawRect, in_round, SCREENWIDTH


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    SCREENWIDTH
    ()

    Get the full screen size available width

    Returns: the width, in pixels of the screen

    Category: Misc

    See Also: gfxHidden, gfxHide, gfxRedrawRect, in_round, SCREENHEIGHT