Documentation for graphex.ew v0.10.5
Table of Contents

Colour

How to use colours with graphex.ew


Most if not all routines that can accept a colour can take any value that win32lib can handle. ie Predefined constants like White, Blue, Black etc or colour RGB tuples etc.

  • func gfxColor    Synonym for gfxColour
  • func gfxColour   Retreive a colour from the gfx_colour sequence using Euphoria colour constants
  • var gfx_color    Synonym for gfx_colour
  • var gfx_colour   Global sequence of 'DOS like' colours
  • var GREY   Synonym for GRAY

    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxColor

    Synonym for gfxColour

    Category: Colour

    See Also: gfxColour, gfx_color, gfx_colour, GREY


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [func]
    gfxColour

    Retreive a colour from the gfx_colour sequence using Euphoria colour constants

    Category: Colour

    It is mainly used to add one to the colour constant supplied, since BLACK = 0

    See Also: gfxColor, gfx_color, gfx_colour, GREY


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [var]
    gfx_color

    Synonym for gfx_colour

    Category: Colour

    See Also: gfxColor, gfxColour, gfx_colour, GREY


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [var]
    gfx_colour

    Global sequence of 'DOS like' colours

    Category: Colour

    This provides a palette of colours similar to the DOS colours. It can be accessed with Euphoria's colour constants, WHITE, BLUE, BLACK, etc. Which it is interesting to note varies depending on which platform you are using. It seems DOS and Linux interchange RED and BLUE

    The gfx_colour sequence is best used with the gfxColour function

    See Also: gfxColor, gfxColour, gfx_color, GREY


    Documentation for graphex.ew v0.10.5
    Table of Contents

    [var]
    GREY

    Synonym for GRAY

    Category: Colour

    See Also: gfxColor, gfxColour, gfx_color, gfx_colour