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,
134 virtual FT_Error
Error()
const;
virtual FTBBox BBox(const char *string, const int len=-1, FTPoint position=FTPoint())
Get the bounding box for a formatted string.
virtual ~FTLayout()
Destructor.
struct _FTGLlayout FTGLlayout
FTBBox is a convenience class for handling bounding boxes.
FTLayout is the interface for layout managers that render text.
void ftglRenderLayout(FTGLlayout *layout, const char *string, int mode)
Render a string of characters.
virtual FT_Error Error() const
Queries the Layout for errors.
FT_Error ftglGetLayoutError(FTGLlayout *layout)
Query a layout for errors.
void ftglDestroyLayout(FTGLlayout *layout)
Destroy an FTGL layout object.
void ftglGetLayoutBBox(FTGLlayout *layout, const char *string, float bounds[6])
Get the bounding box for a string.
FTPoint class is a basic 3-dimensional point or vector.
#define FTGL_BEGIN_C_DECLS
virtual void Render(const char *string, const int len=-1, FTPoint position=FTPoint(), int renderMode=FTGL::RENDER_ALL)
Render a string of characters.
FTSimpleLayout is a specialisation of FTLayout for simple text boxes.