fltk/gl.h File Reference
Detailed Description
Portably include the OpenGL header files, and define a few OpenGL drawing functions provided by
fltk. You may want to use the OpenGL Extension Wrangler (glew), which will make it much easier to call modern OpenGL extensions. If so, include glew.h before this file, or define USE_GLEW to 1 before including this.
|
Namespaces |
| namespace | fltk |
Functions |
| void | fltk::gldrawimage (const uchar *, int x, int y, int w, int h, int d=3, int ld=0) |
| void | fltk::gldrawtext (const char *, int n, float x, float y, float z=0) |
| void | fltk::gldrawtext (const char *, float x, float y, float z=0) |
| void | fltk::gldrawtext (const char *, int n) |
| void | fltk::gldrawtext (const char *) |
| void | fltk::glfillrect (int x, int y, int w, int h) |
| void | fltk::glfinish () |
|
float | fltk::glgetascent () |
|
float | fltk::glgetdescent () |
|
float | fltk::glgetwidth (const char *, int n) |
|
float | fltk::glgetwidth (const char *) |
| void | fltk::glsetcolor (Color) |
| void | fltk::glsetfont (Font *f, float size) |
| void | fltk::glstart () |
| void | fltk::glstrokerect (int x, int y, int w, int h) |