Referencia de la Clase Bgi
|
Métodos públicos |
| | Bgi () |
| void | clearviewport (int color=-1) |
| void | clearviewport (int x1, int y1, int x2, int y2, int color=-1) |
| void | setcolor (int color) |
| int | getncolors (void) |
| void | setcolorrgb (int color, int r, int g, int b) |
| void | putpixel (int x, int y, int color=-1) |
| void | line (int x1, int y1, int x2, int y2, int color=-1) |
| void | rectangle (int x1, int y1, int x2, int y2, int color=-1) |
| void | bar (int x1, int y1, int x2, int y2, int color=-1, int bkcolor=-1) |
| void | circle (int x, int y, int r, int color=-1) |
| void | ellipse (int x, int y, int rx, int ry, int color=-1) |
| int | kbhit (void) |
| int | getkey (void) |
Métodos protegidos |
| void | initgraph (int W, int H) |
| void | closegraph (void) |
Descripción detallada
Definición en la línea 427 del archivo graph.cpp.
Documentación del constructor y destructor
Documentación de las funciones miembro
| void Bgi::initgraph |
( |
int |
W, |
|
|
int |
H | |
|
) |
| | [protected, virtual] |
| void Bgi::closegraph |
( |
void |
|
) |
[protected, virtual] |
| void Bgi::clearviewport |
( |
int |
color = -1 |
) |
[inline, virtual] |
| void Bgi::clearviewport |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
color = -1 | |
|
) |
| | [virtual] |
| void Bgi::setcolor |
( |
int |
color |
) |
[virtual] |
| int Bgi::getncolors |
( |
void |
|
) |
[virtual] |
| void Bgi::setcolorrgb |
( |
int |
color, |
|
|
int |
r, |
|
|
int |
g, |
|
|
int |
b | |
|
) |
| | [virtual] |
| void Bgi::putpixel |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
color = -1 | |
|
) |
| | [virtual] |
| void Bgi::line |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
color = -1 | |
|
) |
| | [virtual] |
| void Bgi::rectangle |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
color = -1 | |
|
) |
| | [virtual] |
| void Bgi::bar |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
color = -1, |
|
|
int |
bkcolor = -1 | |
|
) |
| | [virtual] |
| void Bgi::circle |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
r, |
|
|
int |
color = -1 | |
|
) |
| | [virtual] |
| void Bgi::ellipse |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
rx, |
|
|
int |
ry, |
|
|
int |
color = -1 | |
|
) |
| | [virtual] |
| int Bgi::kbhit |
( |
void |
|
) |
[virtual] |
| int Bgi::getkey |
( |
void |
|
) |
[virtual] |
La documentación para esta clase fue generada a partir del siguiente fichero: