fltk/gl.h File Reference


Namespaces

namespace  fltk

Functions

fltk/gl.h
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)

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.

Wed Jun 17 08:45:38 2009. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.