|
FL_EXPORT void | gl_color (Fl_Color i) |
| Sets the curent OpenGL color to an FLTK color. More...
|
|
void | gl_color (int c) |
| back compatibility
|
|
FL_EXPORT int | gl_descent () |
| Returns the current font's descent.
|
|
FL_EXPORT void | gl_draw (const char *) |
| Draws a nul-terminated string in the current font at the current position. More...
|
|
FL_EXPORT void | gl_draw (const char *, float x, float y) |
| Draws a nul-terminated string in the current font at the given position. More...
|
|
FL_EXPORT void | gl_draw (const char *, int n) |
| Draws an array of n characters of the string in the current font at the current position. More...
|
|
FL_EXPORT void | gl_draw (const char *, int n, float x, float y) |
| Draws n characters of the string in the current font at the given position. More...
|
|
FL_EXPORT void | gl_draw (const char *, int n, int x, int y) |
| Draws n characters of the string in the current font at the given position. More...
|
|
FL_EXPORT void | gl_draw (const char *, int x, int y) |
| Draws a nul-terminated string in the current font at the given position. More...
|
|
FL_EXPORT void | gl_draw (const char *, int x, int y, int w, int h, Fl_Align) |
| Draws a string formatted into a box, with newlines and tabs expanded, other control characters changed to ^X. More...
|
|
FL_EXPORT void | gl_draw_image (const uchar *, int x, int y, int w, int h, int d=3, int ld=0) |
|
FL_EXPORT void | gl_finish () |
| Releases an OpenGL context.
|
|
FL_EXPORT void | gl_font (int fontid, int size) |
| Sets the current OpenGL font to the same font as calling fl_font()
|
|
FL_EXPORT int | gl_height () |
| Returns the current font's height.
|
|
FL_EXPORT void | gl_measure (const char *, int &x, int &y) |
| Measure how wide and tall the string will be when drawn by the gl_draw() function.
|
|
FL_EXPORT void | gl_rect (int x, int y, int w, int h) |
| Outlines the given rectangle with the current color. More...
|
|
void | gl_rectf (int x, int y, int w, int h) |
| Fills the given rectangle with the current color. More...
|
|
FL_EXPORT void | gl_start () |
| Creates an OpenGL context.
|
|
FL_EXPORT double | gl_width (const char *) |
| Returns the width of the string in the current fnt.
|
|
FL_EXPORT double | gl_width (const char *, int n) |
| Returns the width of n characters of the string in the current font.
|
|
FL_EXPORT double | gl_width (uchar) |
| Returns the width of the character in the current font.
|
|