PIGALE 1.3.9 Documentation (original) (raw)
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor
H. de Fraysseix P. Ossona de Mendez
color.h File Reference

Enumerations
- enum {
White = 0, Black = 1, Red = 2, Green = 3,
Blue = 4, Yellow = 5, Violet = 6, Orange = 7,
Cyan = 8, Brown = 9, Pink = 10, Green2 = 11,
Blue2 = 12, Grey1 = 13, Grey2 = 14, Grey3 = 15,
Ivory = 16
}
Functions
- int GetRed (unsigned int rgb)
- int GetGreen (unsigned int rgb)
- int GetBlue (unsigned int rgb)
- unsigned int SetRgb (int r, int g, int b)
Enumeration Type Documentation
Enumerator:
| White | | | -------- | | | Black | | | Red | | | Green | | | Blue | | | Yellow | | | Violet | | | Orange | | | Cyan | | | Brown | | | Pink | | | Green2 | | | Blue2 | | | Grey1 | | | Grey2 | | | Grey3 | | | Ivory | |
Function Documentation
| int GetBlue | ( | unsigned int | rgb | ) | [inline] |
|---|
| int GetGreen | ( | unsigned int | rgb | ) | [inline] |
|---|
| int GetRed | ( | unsigned int | rgb | ) | [inline] |
|---|
| unsigned int SetRgb | ( | int | r, |
|---|---|---|---|
| int | g, | ||
| int | b | ||
| ) | [inline] |
