29# warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
85 virtual FTBBox BBox(
const char*
string,
const int len = -1,
98 virtual FTBBox BBox(
const wchar_t*
string,
const int len = -1,
111 virtual void Render(
const char *
string,
const int len = -1,
125 virtual void Render(
const wchar_t *
string,
const int len = -1,
struct _FTGLlayout FTGLlayout
void ftglGetLayoutBBox(FTGLlayout *layout, const char *string, float bounds[6])
Get the bounding box for a string.
FT_Error ftglGetLayoutError(FTGLlayout *layout)
Query a layout for errors.
void ftglRenderLayout(FTGLlayout *layout, const char *string, int mode)
Render a string of characters.
void ftglDestroyLayout(FTGLlayout *layout)
Destroy an FTGL layout object.
FTBBox is a convenience class for handling bounding boxes.
FTLayout is the interface for layout managers that render text.
virtual FT_Error Error() const
Queries the Layout for errors.
virtual void Render(const char *string, const int len=-1, FTPoint position=FTPoint(), int renderMode=FTGL::RENDER_ALL)=0
Render a string of characters.
virtual void Render(const wchar_t *string, const int len=-1, FTPoint position=FTPoint(), int renderMode=FTGL::RENDER_ALL)=0
Render a string of characters.
virtual FTBBox BBox(const wchar_t *string, const int len=-1, FTPoint position=FTPoint())=0
Get the bounding box for a formatted string.
virtual FTBBox BBox(const char *string, const int len=-1, FTPoint position=FTPoint())=0
Get the bounding box for a formatted string.
virtual ~FTLayout()
Destructor.
FTPoint class is a basic 3-dimensional point or vector.
FTSimpleLayout is a specialisation of FTLayout for simple text boxes.
#define FTGL_BEGIN_C_DECLS