Package lepl :: Package cairo :: Module colour
[hide private]
[frames] | no frames]

Module colour

source code

Provide some short-hand colour definitions for cairo.

As far as I can tell, cairo uses pre-multiplied alpha - http://en.wikipedia.org/wiki/Alpha_compositing

Classes [hide private]
  Colour
Functions [hide private]
 
_replace(index) source code
Variables [hide private]
  BLACK = Colour(0, 0, 0)
  RED = Colour(1, 0, 0)
  GREEN = Colour(0, 1, 0)
  BLUE = Colour(0, 0, 1)
  YELLOW = Colour(1, 1, 0)
  CYAN = Colour(0, 1, 1)
  MAGENTA = Colour(1, 0, 1)
  WHITE = Colour(1, 1, 1)