OpenSceneGraph/doc/doc++/osgText/Text.html
2003-10-02 14:28:30 +00:00

893 lines
41 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGTEXT_EXPORT osgText::Text</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::Text</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::Drawable,M,CText,MText.html">
<param name=before value="M,M">
<param name=after value="Md_,M">
<param name=indent value="0,1">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.5.1">Text</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.5.2">Text</A></B>(const <!1><A HREF="Text.html#DOC.6.5.2">Text</A>&amp; text, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.6.5.3">cloneType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.6.5.4">clone</A></B>(const osg::CopyOp&amp; copyop) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.5.5">isSameKindAs</A></B>(const osg::Object* obj) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.6.5.6">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.6.5.7">libraryName</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.8">setFont</A></B>(<!1><A HREF="Font.html">Font</A>* font=0)
<DD><I>Set the Font to use to render the text.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.9">setFont</A></B>(const std::string&amp; fontfile)
<DD><I>Set the font, loaded from the specified front file, to use to render the text, setFont("") sets the use of the default font</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Font.html">Font</A>* <B><A HREF="#DOC.6.5.10">getFont</A></B>() const
<DD><I>Get the font.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.11">setFontSize</A></B>(unsigned int width, unsigned int height)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.12">setFontResolution</A></B>(unsigned int width, unsigned int height)
<DD><I>Set the Font reference width and height resolution in texels.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.5.13">getFontWidth</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.5.14">getFontHeight</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.15">setText</A></B>(const <!1><A HREF="String.html">String</A>&amp; text)
<DD><I>Set the text using a osgText::String</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.16">setText</A></B>(const std::string&amp; text)
<DD><I>Set the text using a std::string, which is converted to an internal TextString</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.17">setText</A></B>(const std::string&amp; text, String::Encoding encoding)
<DD><I>Set the text using a Unicode encoded std::string, which is converted to an internal TextString.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.18">setText</A></B>(const wchar_t* text)
<DD><I>Set the text using a wchar_t string, which is converted to an internal TextString</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="String.html">String</A>&amp; <B><A HREF="#DOC.6.5.19">getText</A></B>()
<DD><I>Get the text string.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="String.html">String</A>&amp; <B><A HREF="#DOC.6.5.20">getText</A></B>() const
<DD><I>Get the const text string</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.21">update</A></B>()
<DD><I>update internal glyph respresnetation used for rendering, and bounding volume</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.22">setCharacterSize</A></B>(float height, float aspectRatio=1.0f)
<DD><I>Set the rendered character size in object coordinates</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.23">getCharacterHeight</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.24">getCharacterAspectRatio</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.26">setCharacterSizeMode</A></B>(<!1><A HREF="Text.html#DOC.6.5.25">CharacterSizeMode</A> mode)
<DD><I>Set how the CharacterSize value relates to the final rendered character</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Text.html#DOC.6.5.25">CharacterSizeMode</A> <B><A HREF="#DOC.6.5.27">getCharacterSizeMode</A></B>() const
<DD><I>Get the CharacterSizeMode</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.28">setMaximumWidth</A></B>(float maximumWidth)
<DD><I>Set the maximum width of the text box.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.29">getMaximumWidth</A></B>() const
<DD><I>Get the maximim width of the text box</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.30">setMaximumHeight</A></B>(float maximumHeight)
<DD><I>Set the maximum height of the text box.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.31">getMaximumHeight</A></B>() const
<DD><I>Get the maximum height of the text box</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.32">setPosition</A></B>(const osg::Vec3&amp; pos)
<DD><I>Set the position of text</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec3&amp; <B><A HREF="#DOC.6.5.33">getPosition</A></B>() const
<DD><I>Get the position of text</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.35">setAlignment</A></B>(<!1><A HREF="Text.html#DOC.6.5.34">AlignmentType</A> alignment)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Text.html#DOC.6.5.34">AlignmentType</A> <B><A HREF="#DOC.6.5.36">getAlignment</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.38">setAxisAlignment</A></B>(<!1><A HREF="Text.html#DOC.6.5.37">AxisAlignment</A> axis)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.39">setRotation</A></B>(const osg::Quat&amp; quat)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Quat&amp; <B><A HREF="#DOC.6.5.40">getRotation</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.41">setAutoRotateToScreen</A></B>(bool autoRotateToScreen)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.5.42">getAutoRotateToScreen</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.44">setLayout</A></B>(<!1><A HREF="Text.html#DOC.6.5.43">Layout</A> layout)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Text.html#DOC.6.5.43">Layout</A> <B><A HREF="#DOC.6.5.45">getLayout</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.46">setColor</A></B>(const osg::Vec4&amp; color)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec4&amp; <B><A HREF="#DOC.6.5.47">getColor</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.49">setDrawMode</A></B>(unsigned int mode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.5.50">getDrawMode</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.51">setKerningType</A></B>(<!1><A HREF="KerningType.html">KerningType</A> kerningType)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="KerningType.html">KerningType</A> <B><A HREF="#DOC.6.5.52">getKerningType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.6.5.53">drawImplementation</A></B>(osg::State&amp; state) const
<DD><I>Draw the text</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.5.54">supports</A></B>(osg::Drawable::AttributeFunctor&amp;) const
<DD><I>return false, osgText::Text does not support accept(AttributeFunctor&)</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.5.55">supports</A></B>(osg::Drawable::ConstAttributeFunctor&amp;) const
<DD><I>return true, osgText::Text does support accept(ConstAttributeFunctor&)</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.6.5.56">accept</A></B>(osg::Drawable::ConstAttributeFunctor&amp; af) const
<DD><I>accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.5.57">supports</A></B>(osg::Drawable::PrimitiveFunctor&amp;) const
<DD><I>return true, osgText::Text does support accept(PrimitiveFunctor&) </I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.6.5.58">accept</A></B>(osg::Drawable::PrimitiveFunctor&amp; pf) const
<DD><I>accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Text.html#DOC.6.5.59">GlyphQuads</A>* <B><A HREF="#DOC.6.5.61">getGlyphQuads</A></B>(osg::StateSet* stateSet) const
<DD><I>Direct Access to GlyphQuads </I>
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.6.5.25">CharacterSizeMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.6.5.34">AlignmentType</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.6.5.37">AxisAlignment</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.6.5.43">Layout</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.6.5.48">DrawModeMask</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct OSGTEXT_EXPORT <B><A HREF="#DOC.6.5.59">GlyphQuads</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map&lt;osg::ref_ptr&lt;osg::StateSet&gt;,<!1><A HREF="Text.html#DOC.6.5.59">GlyphQuads</A>&gt; <B><A HREF="#DOC.6.5.60">TextureGlyphQuadMap</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="Font.html">Font</A>&gt; <B><A HREF="#DOC.6.5.67">_font</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.5.68">_fontWidth</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.5.69">_fontHeight</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.70">_characterHeight</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.71">_characterAspectRatio</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Text.html#DOC.6.5.25">CharacterSizeMode</A> <B><A HREF="#DOC.6.5.72">_characterSizeMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.73">_maximumWidth</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.5.74">_maximumHeight</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="String.html">String</A> <B><A HREF="#DOC.6.5.75">_text</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3 <B><A HREF="#DOC.6.5.76">_position</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Text.html#DOC.6.5.34">AlignmentType</A> <B><A HREF="#DOC.6.5.77">_alignment</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.6.5.78">_rotation</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.5.79">_autoRotateToScreen</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Text.html#DOC.6.5.43">Layout</A> <B><A HREF="#DOC.6.5.80">_layout</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec4 <B><A HREF="#DOC.6.5.81">_color</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.5.82">_drawMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="KerningType.html">KerningType</A> <B><A HREF="#DOC.6.5.83">_kerningType</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="Text.html#DOC.6.5.60">TextureGlyphQuadMap</A> <B><A HREF="#DOC.6.5.84">_textureGlyphQuadMap</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable osg::buffered_object&lt;<!1><A HREF="Text.html#DOC.6.5.86">AutoTransformCache</A>&gt; <B><A HREF="#DOC.6.5.87">_autoTransformCache</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable osg::Vec3 <B><A HREF="#DOC.6.5.88">_offset</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable osg::Vec3 <B><A HREF="#DOC.6.5.89">_normal</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable osg::BoundingBox <B><A HREF="#DOC.6.5.90">_textBB</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.6.5.62">~Text</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.5.63">computeBound</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Font.html">Font</A>* <B><A HREF="#DOC.6.5.64">getActiveFont</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Font.html">Font</A>* <B><A HREF="#DOC.6.5.65">getActiveFont</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>String::iterator <B><A HREF="#DOC.6.5.66">computeLastCharacterOnLine</A></B>(osg::Vec2 cursor, String::iterator first, String::iterator last)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.85">computeGlyphRepresentation</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.91">computePositions</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.5.92">computePositions</A></B>(unsigned int contextID) const
</DL></P>
<P><DL>
<DT><H3>Protected Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.6.5.86">AutoTransformCache</A></B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="Text"></A>
<A NAME="DOC.6.5.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Text()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Text"></A>
<A NAME="DOC.6.5.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Text(const <!1><A HREF="Text.html#DOC.6.5.2">Text</A>&amp; text, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
<A NAME="DOC.6.5.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* cloneType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.6.5.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* clone(const osg::CopyOp&amp; copyop) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.6.5.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const osg::Object* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.6.5.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="libraryName"></A>
<A NAME="DOC.6.5.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* libraryName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setFont"></A>
<A NAME="DOC.6.5.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFont(<!1><A HREF="Font.html">Font</A>* font=0)</B></TT>
<DD>Set the Font to use to render the text.
setFont(0) sets the use of the default font.
<DL><DT><DD></DL><P>
<A NAME="setFont"></A>
<A NAME="DOC.6.5.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFont(const std::string&amp; fontfile)</B></TT>
<DD>Set the font, loaded from the specified front file, to use to render the text,
setFont("") sets the use of the default font
<DL><DT><DD></DL><P>
<A NAME="getFont"></A>
<A NAME="DOC.6.5.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Font.html">Font</A>* getFont() const </B></TT>
<DD>Get the font. Return 0 if default is being used.
<DL><DT><DD></DL><P>
<A NAME="setFontSize"></A>
<A NAME="DOC.6.5.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFontSize(unsigned int width, unsigned int height)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setFontResolution"></A>
<A NAME="DOC.6.5.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFontResolution(unsigned int width, unsigned int height)</B></TT>
<DD>Set the Font reference width and height resolution in texels.
Note, the size may not be supported by current font,
the closest supported font size will be selected.
<DL><DT><DD></DL><P>
<A NAME="getFontWidth"></A>
<A NAME="DOC.6.5.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getFontWidth() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFontHeight"></A>
<A NAME="DOC.6.5.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getFontHeight() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setText"></A>
<A NAME="DOC.6.5.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setText(const <!1><A HREF="String.html">String</A>&amp; text)</B></TT>
<DD>Set the text using a osgText::String
<DL><DT><DD></DL><P>
<A NAME="setText"></A>
<A NAME="DOC.6.5.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setText(const std::string&amp; text)</B></TT>
<DD>Set the text using a std::string,
which is converted to an internal TextString
<DL><DT><DD></DL><P>
<A NAME="setText"></A>
<A NAME="DOC.6.5.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setText(const std::string&amp; text, String::Encoding encoding)</B></TT>
<DD>Set the text using a Unicode encoded std::string, which is converted to an internal TextString.
The encoding parameter specificies which Unicode encodeding is used in the std::string.
<DL><DT><DD></DL><P>
<A NAME="setText"></A>
<A NAME="DOC.6.5.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setText(const wchar_t* text)</B></TT>
<DD>Set the text using a wchar_t string,
which is converted to an internal TextString
<DL><DT><DD></DL><P>
<A NAME="getText"></A>
<A NAME="DOC.6.5.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="String.html">String</A>&amp; getText()</B></TT>
<DD>Get the text string.
Note, if you modify the string you must call Text::update() for
the internal glyph reprentation to be updated.
<DL><DT><DD></DL><P>
<A NAME="getText"></A>
<A NAME="DOC.6.5.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="String.html">String</A>&amp; getText() const </B></TT>
<DD>Get the const text string
<DL><DT><DD></DL><P>
<A NAME="update"></A>
<A NAME="DOC.6.5.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void update()</B></TT>
<DD>update internal glyph respresnetation used for rendering,
and bounding volume
<DL><DT><DD></DL><P>
<A NAME="setCharacterSize"></A>
<A NAME="DOC.6.5.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCharacterSize(float height, float aspectRatio=1.0f)</B></TT>
<DD>Set the rendered character size in object coordinates
<DL><DT><DD></DL><P>
<A NAME="getCharacterHeight"></A>
<A NAME="DOC.6.5.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getCharacterHeight() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCharacterAspectRatio"></A>
<A NAME="DOC.6.5.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getCharacterAspectRatio() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="CharacterSizeMode"></A>
<A NAME="DOC.6.5.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum CharacterSizeMode</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="OBJECT_COORDS"></A>
<A NAME="DOC.6.5.25.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OBJECT_COORDS</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SCREEN_COORDS"></A>
<A NAME="DOC.6.5.25.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SCREEN_COORDS</B></TT>
<DD>default
<DL><DT><DD></DL><P>
<A NAME="OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT"></A>
<A NAME="DOC.6.5.25.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT</B></TT>
<DD>internally scale the characters to be constant screen size
<DL><DT><DD></DL><P></DL>
<A NAME="setCharacterSizeMode"></A>
<A NAME="DOC.6.5.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCharacterSizeMode(<!1><A HREF="Text.html#DOC.6.5.25">CharacterSizeMode</A> mode)</B></TT>
<DD>Set how the CharacterSize value relates to the final rendered character
<DL><DT><DD></DL><P>
<A NAME="getCharacterSizeMode"></A>
<A NAME="DOC.6.5.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.25">CharacterSizeMode</A> getCharacterSizeMode() const </B></TT>
<DD>Get the CharacterSizeMode
<DL><DT><DD></DL><P>
<A NAME="setMaximumWidth"></A>
<A NAME="DOC.6.5.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMaximumWidth(float maximumWidth)</B></TT>
<DD>Set the maximum width of the text box.
With horizontal layouts any characters which do not fit are wrapped around.
0 or negative values indicate that no maximum width is set, lines can be as long as
they need be to fit thre required text
<DL><DT><DD></DL><P>
<A NAME="getMaximumWidth"></A>
<A NAME="DOC.6.5.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getMaximumWidth() const </B></TT>
<DD>Get the maximim width of the text box
<DL><DT><DD></DL><P>
<A NAME="setMaximumHeight"></A>
<A NAME="DOC.6.5.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMaximumHeight(float maximumHeight)</B></TT>
<DD>Set the maximum height of the text box.
With horizontal layouts any characters which do not fit are wrapped around.
0 or negative values indicate that no maximum height is set, lines can be as long as
they need be to fit thre required text
<DL><DT><DD></DL><P>
<A NAME="getMaximumHeight"></A>
<A NAME="DOC.6.5.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getMaximumHeight() const </B></TT>
<DD>Get the maximum height of the text box
<DL><DT><DD></DL><P>
<A NAME="setPosition"></A>
<A NAME="DOC.6.5.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPosition(const osg::Vec3&amp; pos)</B></TT>
<DD>Set the position of text
<DL><DT><DD></DL><P>
<A NAME="getPosition"></A>
<A NAME="DOC.6.5.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3&amp; getPosition() const </B></TT>
<DD>Get the position of text
<DL><DT><DD></DL><P>
<A NAME="AlignmentType"></A>
<A NAME="DOC.6.5.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum AlignmentType</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="LEFT_TOP"></A>
<A NAME="DOC.6.5.34.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LEFT_TOP</B></TT>
<DL><DT><DD></DL><P>
<A NAME="LEFT_CENTER"></A>
<A NAME="DOC.6.5.34.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LEFT_CENTER</B></TT>
<DL><DT><DD></DL><P>
<A NAME="LEFT_BOTTOM"></A>
<A NAME="DOC.6.5.34.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LEFT_BOTTOM</B></TT>
<DL><DT><DD></DL><P>
<A NAME="CENTER_TOP"></A>
<A NAME="DOC.6.5.34.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CENTER_TOP</B></TT>
<DL><DT><DD></DL><P>
<A NAME="CENTER_CENTER"></A>
<A NAME="DOC.6.5.34.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CENTER_CENTER</B></TT>
<DL><DT><DD></DL><P>
<A NAME="CENTER_BOTTOM"></A>
<A NAME="DOC.6.5.34.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CENTER_BOTTOM</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RIGHT_TOP"></A>
<A NAME="DOC.6.5.34.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RIGHT_TOP</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RIGHT_CENTER"></A>
<A NAME="DOC.6.5.34.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RIGHT_CENTER</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RIGHT_BOTTOM"></A>
<A NAME="DOC.6.5.34.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RIGHT_BOTTOM</B></TT>
<DL><DT><DD></DL><P>
<A NAME="LEFT_BASE_LINE"></A>
<A NAME="DOC.6.5.34.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LEFT_BASE_LINE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="CENTER_BASE_LINE"></A>
<A NAME="DOC.6.5.34.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CENTER_BASE_LINE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RIGHT_BASE_LINE"></A>
<A NAME="DOC.6.5.34.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RIGHT_BASE_LINE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BASE_LINE"></A>
<A NAME="DOC.6.5.34.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BASE_LINE</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setAlignment"></A>
<A NAME="DOC.6.5.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAlignment(<!1><A HREF="Text.html#DOC.6.5.34">AlignmentType</A> alignment)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAlignment"></A>
<A NAME="DOC.6.5.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.34">AlignmentType</A> getAlignment() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="AxisAlignment"></A>
<A NAME="DOC.6.5.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum AxisAlignment</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="XY_PLANE"></A>
<A NAME="DOC.6.5.37.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> XY_PLANE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="XZ_PLANE"></A>
<A NAME="DOC.6.5.37.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> XZ_PLANE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="YZ_PLANE"></A>
<A NAME="DOC.6.5.37.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> YZ_PLANE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SCREEN"></A>
<A NAME="DOC.6.5.37.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SCREEN</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setAxisAlignment"></A>
<A NAME="DOC.6.5.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAxisAlignment(<!1><A HREF="Text.html#DOC.6.5.37">AxisAlignment</A> axis)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setRotation"></A>
<A NAME="DOC.6.5.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRotation(const osg::Quat&amp; quat)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getRotation"></A>
<A NAME="DOC.6.5.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Quat&amp; getRotation() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setAutoRotateToScreen"></A>
<A NAME="DOC.6.5.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAutoRotateToScreen(bool autoRotateToScreen)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAutoRotateToScreen"></A>
<A NAME="DOC.6.5.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getAutoRotateToScreen() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="Layout"></A>
<A NAME="DOC.6.5.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum Layout</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="LEFT_TO_RIGHT"></A>
<A NAME="DOC.6.5.43.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LEFT_TO_RIGHT</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RIGHT_TO_LEFT"></A>
<A NAME="DOC.6.5.43.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RIGHT_TO_LEFT</B></TT>
<DD>default
<DL><DT><DD></DL><P>
<A NAME="VERTICAL"></A>
<A NAME="DOC.6.5.43.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> VERTICAL</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setLayout"></A>
<A NAME="DOC.6.5.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLayout(<!1><A HREF="Text.html#DOC.6.5.43">Layout</A> layout)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLayout"></A>
<A NAME="DOC.6.5.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.43">Layout</A> getLayout() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setColor"></A>
<A NAME="DOC.6.5.46"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColor(const osg::Vec4&amp; color)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getColor"></A>
<A NAME="DOC.6.5.47"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec4&amp; getColor() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="DrawModeMask"></A>
<A NAME="DOC.6.5.48"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum DrawModeMask</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="TEXT"></A>
<A NAME="DOC.6.5.48.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TEXT</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BOUNDINGBOX"></A>
<A NAME="DOC.6.5.48.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BOUNDINGBOX</B></TT>
<DD>default
<DL><DT><DD></DL><P>
<A NAME="ALIGNMENT"></A>
<A NAME="DOC.6.5.48.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ALIGNMENT</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setDrawMode"></A>
<A NAME="DOC.6.5.49"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDrawMode(unsigned int mode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDrawMode"></A>
<A NAME="DOC.6.5.50"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getDrawMode() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setKerningType"></A>
<A NAME="DOC.6.5.51"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setKerningType(<!1><A HREF="KerningType.html">KerningType</A> kerningType)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getKerningType"></A>
<A NAME="DOC.6.5.52"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="KerningType.html">KerningType</A> getKerningType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="drawImplementation"></A>
<A NAME="DOC.6.5.53"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawImplementation(osg::State&amp; state) const </B></TT>
<DD>Draw the text
<DL><DT><DD></DL><P>
<A NAME="supports"></A>
<A NAME="DOC.6.5.54"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(osg::Drawable::AttributeFunctor&amp;) const </B></TT>
<DD>return false, osgText::Text does not support accept(AttributeFunctor&)
<DL><DT><DD></DL><P>
<A NAME="supports"></A>
<A NAME="DOC.6.5.55"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(osg::Drawable::ConstAttributeFunctor&amp;) const </B></TT>
<DD>return true, osgText::Text does support accept(ConstAttributeFunctor&)
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.6.5.56"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(osg::Drawable::ConstAttributeFunctor&amp; af) const </B></TT>
<DD>accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
<DL><DT><DD></DL><P>
<A NAME="supports"></A>
<A NAME="DOC.6.5.57"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool supports(osg::Drawable::PrimitiveFunctor&amp;) const </B></TT>
<DD>return true, osgText::Text does support accept(PrimitiveFunctor&)
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.6.5.58"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(osg::Drawable::PrimitiveFunctor&amp; pf) const </B></TT>
<DD>accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has
<DL><DT><DD></DL><P>
<A NAME="GlyphQuads"></A>
<A NAME="DOC.6.5.59"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct OSGTEXT_EXPORT GlyphQuads</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="Glyphs"></A>
<A NAME="DOC.6.5.59.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;Font::Glyph*&gt; Glyphs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Coords2"></A>
<A NAME="DOC.6.5.59.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;osg::Vec2&gt; Coords2</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Coords3"></A>
<A NAME="DOC.6.5.59.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;osg::Vec3&gt; Coords3</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TexCoords"></A>
<A NAME="DOC.6.5.59.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;osg::Vec2&gt; TexCoords</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_glyphs"></A>
<A NAME="DOC.6.5.59.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.1">Glyphs</A> _glyphs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_coords"></A>
<A NAME="DOC.6.5.59.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.2">Coords2</A> _coords</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_transformedCoords"></A>
<A NAME="DOC.6.5.59.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::buffered_object&lt;<!1><A HREF="Text.html#DOC.6.5.59.3">Coords3</A>&gt; _transformedCoords</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_texcoords"></A>
<A NAME="DOC.6.5.59.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.4">TexCoords</A> _texcoords</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getGlyphs"></A>
<A NAME="DOC.6.5.59.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.1">Glyphs</A> getGlyphs()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getGlyphs"></A>
<A NAME="DOC.6.5.59.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Text.html#DOC.6.5.59.1">Glyphs</A> getGlyphs() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCoords"></A>
<A NAME="DOC.6.5.59.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.2">Coords2</A>&amp; getCoords()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCoords"></A>
<A NAME="DOC.6.5.59.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Text.html#DOC.6.5.59.2">Coords2</A>&amp; getCoords() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTransformedCoords"></A>
<A NAME="DOC.6.5.59.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.3">Coords3</A>&amp; getTransformedCoords(unsigned int contexID)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTransformedCoords"></A>
<A NAME="DOC.6.5.59.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Text.html#DOC.6.5.59.3">Coords3</A>&amp; getTransformedCoords(unsigned int contexID) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTexCoords"></A>
<A NAME="DOC.6.5.59.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.59.4">TexCoords</A>&amp; getTexCoords()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTexCoords"></A>
<A NAME="DOC.6.5.59.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Text.html#DOC.6.5.59.4">TexCoords</A>&amp; getTexCoords() const </B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="TextureGlyphQuadMap"></A>
<A NAME="DOC.6.5.60"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map&lt;osg::ref_ptr&lt;osg::StateSet&gt;,<!1><A HREF="Text.html#DOC.6.5.59">GlyphQuads</A>&gt; TextureGlyphQuadMap</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getGlyphQuads"></A>
<A NAME="DOC.6.5.61"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Text.html#DOC.6.5.59">GlyphQuads</A>* getGlyphQuads(osg::StateSet* stateSet) const </B></TT>
<DD>Direct Access to GlyphQuads
<DL><DT><DD></DL><P>
<A NAME="~Text"></A>
<A NAME="DOC.6.5.62"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Text()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="computeBound"></A>
<A NAME="DOC.6.5.63"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool computeBound() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getActiveFont"></A>
<A NAME="DOC.6.5.64"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Font.html">Font</A>* getActiveFont()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getActiveFont"></A>
<A NAME="DOC.6.5.65"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Font.html">Font</A>* getActiveFont() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="computeLastCharacterOnLine"></A>
<A NAME="DOC.6.5.66"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>String::iterator computeLastCharacterOnLine(osg::Vec2 cursor, String::iterator first, String::iterator last)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_font"></A>
<A NAME="DOC.6.5.67"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="Font.html">Font</A>&gt; _font</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fontWidth"></A>
<A NAME="DOC.6.5.68"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _fontWidth</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fontHeight"></A>
<A NAME="DOC.6.5.69"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _fontHeight</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_characterHeight"></A>
<A NAME="DOC.6.5.70"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _characterHeight</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_characterAspectRatio"></A>
<A NAME="DOC.6.5.71"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _characterAspectRatio</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_characterSizeMode"></A>
<A NAME="DOC.6.5.72"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.25">CharacterSizeMode</A> _characterSizeMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_maximumWidth"></A>
<A NAME="DOC.6.5.73"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _maximumWidth</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_maximumHeight"></A>
<A NAME="DOC.6.5.74"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _maximumHeight</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_text"></A>
<A NAME="DOC.6.5.75"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="String.html">String</A> _text</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_position"></A>
<A NAME="DOC.6.5.76"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _position</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_alignment"></A>
<A NAME="DOC.6.5.77"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.34">AlignmentType</A> _alignment</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_rotation"></A>
<A NAME="DOC.6.5.78"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_autoRotateToScreen"></A>
<A NAME="DOC.6.5.79"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _autoRotateToScreen</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_layout"></A>
<A NAME="DOC.6.5.80"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Text.html#DOC.6.5.43">Layout</A> _layout</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_color"></A>
<A NAME="DOC.6.5.81"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec4 _color</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_drawMode"></A>
<A NAME="DOC.6.5.82"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _drawMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_kerningType"></A>
<A NAME="DOC.6.5.83"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="KerningType.html">KerningType</A> _kerningType</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureGlyphQuadMap"></A>
<A NAME="DOC.6.5.84"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="Text.html#DOC.6.5.60">TextureGlyphQuadMap</A> _textureGlyphQuadMap</B></TT>
<DL><DT><DD></DL><P>
<A NAME="computeGlyphRepresentation"></A>
<A NAME="DOC.6.5.85"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computeGlyphRepresentation()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="AutoTransformCache"></A>
<A NAME="DOC.6.5.86"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct AutoTransformCache</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="AutoTransformCache"></A>
<A NAME="DOC.6.5.86.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> AutoTransformCache()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_traversalNumber"></A>
<A NAME="DOC.6.5.86.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _traversalNumber</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_width"></A>
<A NAME="DOC.6.5.86.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _width</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_height"></A>
<A NAME="DOC.6.5.86.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _height</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_transformedPosition"></A>
<A NAME="DOC.6.5.86.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _transformedPosition</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_modelview"></A>
<A NAME="DOC.6.5.86.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix _modelview</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_projection"></A>
<A NAME="DOC.6.5.86.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix _projection</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_matrix"></A>
<A NAME="DOC.6.5.86.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix _matrix</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="_autoTransformCache"></A>
<A NAME="DOC.6.5.87"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable osg::buffered_object&lt;<!1><A HREF="Text.html#DOC.6.5.86">AutoTransformCache</A>&gt; _autoTransformCache</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_offset"></A>
<A NAME="DOC.6.5.88"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable osg::Vec3 _offset</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_normal"></A>
<A NAME="DOC.6.5.89"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable osg::Vec3 _normal</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textBB"></A>
<A NAME="DOC.6.5.90"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable osg::BoundingBox _textBB</B></TT>
<DL><DT><DD></DL><P>
<A NAME="computePositions"></A>
<A NAME="DOC.6.5.91"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computePositions()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="computePositions"></A>
<A NAME="DOC.6.5.92"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computePositions(unsigned int contextID) const </B></TT>
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DT><B>Friends:</B><DD> class <!1><A HREF="Font.html">Font</A><BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>