275 lines
12 KiB
HTML
275 lines
12 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGTEXT_EXPORT osgText::Font::Glyph</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::Font::Glyph</A></H2></H2><HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mosg::Image,M,CGlyph,MGlyph.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.3.47.1">Glyph</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.6.3.47.2">~Glyph</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.3.47.3">getGlyphCode</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.4">setHorizontalBearing</A></B>(const osg::Vec2& bearing)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec2& <B><A HREF="#DOC.6.3.47.5">getHorizontalBearing</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.6">setHorizontalAdvance</A></B>(float advance)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.3.47.7">getHorizontalAdvance</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.8">setVerticalBearing</A></B>(const osg::Vec2& bearing)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec2& <B><A HREF="#DOC.6.3.47.9">getVerticalBearing</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.10">setVerticalAdvance</A></B>(float advance)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.3.47.11">getVerticalAdvance</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.12">setTexture</A></B>(<!1><A HREF="GlyphTexture.html">GlyphTexture</A>* texture)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GlyphTexture.html">GlyphTexture</A>* <B><A HREF="#DOC.6.3.47.13">getTexture</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="GlyphTexture.html">GlyphTexture</A>* <B><A HREF="#DOC.6.3.47.14">getTexture</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::StateSet* <B><A HREF="#DOC.6.3.47.15">getStateSet</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::StateSet* <B><A HREF="#DOC.6.3.47.16">getStateSet</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.17">setTexturePosition</A></B>(int posX, int posY)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.47.18">getTexturePositionX</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.47.19">getTexturePositionY</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.20">setMinTexCoord</A></B>(const osg::Vec2& coord)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec2& <B><A HREF="#DOC.6.3.47.21">getMinTexCoord</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.22">setMaxTexCoord</A></B>(const osg::Vec2& coord)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Vec2& <B><A HREF="#DOC.6.3.47.23">getMaxTexCoord</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.24">subload</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.6.3.47.25">draw</A></B>(osg::State& state) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Font.html">Font</A>* <B><A HREF="#DOC.6.3.47.26">_font</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.6.3.47.27">_glyphCode</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec2 <B><A HREF="#DOC.6.3.47.28">_horizontalBearing</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.3.47.29">_horizontalAdvance</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec2 <B><A HREF="#DOC.6.3.47.30">_verticalBearing</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.6.3.47.31">_verticalAdvance</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GlyphTexture.html">GlyphTexture</A>* <B><A HREF="#DOC.6.3.47.32">_texture</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.47.33">_texturePosX</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.3.47.34">_texturePosY</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec2 <B><A HREF="#DOC.6.3.47.35">_minTexCoord</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec2 <B><A HREF="#DOC.6.3.47.36">_maxTexCoord</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="Glyph.html#DOC.6.3.47.37">GLObjectList</A> <B><A HREF="#DOC.6.3.47.38">_globjList</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef osg::buffered_value<GLuint> <B><A HREF="#DOC.6.3.47.37">GLObjectList</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<DL>
|
|
|
|
<A NAME="Glyph"></A>
|
|
<A NAME="DOC.6.3.47.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Glyph()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Glyph"></A>
|
|
<A NAME="DOC.6.3.47.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Glyph()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getGlyphCode"></A>
|
|
<A NAME="DOC.6.3.47.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getGlyphCode() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setHorizontalBearing"></A>
|
|
<A NAME="DOC.6.3.47.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setHorizontalBearing(const osg::Vec2& bearing)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getHorizontalBearing"></A>
|
|
<A NAME="DOC.6.3.47.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec2& getHorizontalBearing() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setHorizontalAdvance"></A>
|
|
<A NAME="DOC.6.3.47.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setHorizontalAdvance(float advance)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getHorizontalAdvance"></A>
|
|
<A NAME="DOC.6.3.47.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getHorizontalAdvance() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setVerticalBearing"></A>
|
|
<A NAME="DOC.6.3.47.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setVerticalBearing(const osg::Vec2& bearing)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getVerticalBearing"></A>
|
|
<A NAME="DOC.6.3.47.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec2& getVerticalBearing() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setVerticalAdvance"></A>
|
|
<A NAME="DOC.6.3.47.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setVerticalAdvance(float advance)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getVerticalAdvance"></A>
|
|
<A NAME="DOC.6.3.47.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getVerticalAdvance() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTexture"></A>
|
|
<A NAME="DOC.6.3.47.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTexture(<!1><A HREF="GlyphTexture.html">GlyphTexture</A>* texture)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTexture"></A>
|
|
<A NAME="DOC.6.3.47.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GlyphTexture.html">GlyphTexture</A>* getTexture()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTexture"></A>
|
|
<A NAME="DOC.6.3.47.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="GlyphTexture.html">GlyphTexture</A>* getTexture() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getStateSet"></A>
|
|
<A NAME="DOC.6.3.47.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::StateSet* getStateSet()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getStateSet"></A>
|
|
<A NAME="DOC.6.3.47.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::StateSet* getStateSet() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTexturePosition"></A>
|
|
<A NAME="DOC.6.3.47.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTexturePosition(int posX, int posY)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTexturePositionX"></A>
|
|
<A NAME="DOC.6.3.47.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getTexturePositionX() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTexturePositionY"></A>
|
|
<A NAME="DOC.6.3.47.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getTexturePositionY() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMinTexCoord"></A>
|
|
<A NAME="DOC.6.3.47.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMinTexCoord(const osg::Vec2& coord)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMinTexCoord"></A>
|
|
<A NAME="DOC.6.3.47.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec2& getMinTexCoord() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMaxTexCoord"></A>
|
|
<A NAME="DOC.6.3.47.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMaxTexCoord(const osg::Vec2& coord)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMaxTexCoord"></A>
|
|
<A NAME="DOC.6.3.47.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec2& getMaxTexCoord() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="subload"></A>
|
|
<A NAME="DOC.6.3.47.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void subload() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="draw"></A>
|
|
<A NAME="DOC.6.3.47.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void draw(osg::State& state) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_font"></A>
|
|
<A NAME="DOC.6.3.47.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Font.html">Font</A>* _font</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_glyphCode"></A>
|
|
<A NAME="DOC.6.3.47.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _glyphCode</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_horizontalBearing"></A>
|
|
<A NAME="DOC.6.3.47.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec2 _horizontalBearing</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_horizontalAdvance"></A>
|
|
<A NAME="DOC.6.3.47.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _horizontalAdvance</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_verticalBearing"></A>
|
|
<A NAME="DOC.6.3.47.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec2 _verticalBearing</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_verticalAdvance"></A>
|
|
<A NAME="DOC.6.3.47.31"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _verticalAdvance</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_texture"></A>
|
|
<A NAME="DOC.6.3.47.32"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GlyphTexture.html">GlyphTexture</A>* _texture</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_texturePosX"></A>
|
|
<A NAME="DOC.6.3.47.33"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _texturePosX</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_texturePosY"></A>
|
|
<A NAME="DOC.6.3.47.34"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _texturePosY</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_minTexCoord"></A>
|
|
<A NAME="DOC.6.3.47.35"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec2 _minTexCoord</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_maxTexCoord"></A>
|
|
<A NAME="DOC.6.3.47.36"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec2 _maxTexCoord</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="GLObjectList"></A>
|
|
<A NAME="DOC.6.3.47.37"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef osg::buffered_value<GLuint> GLObjectList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_globjList"></A>
|
|
<A NAME="DOC.6.3.47.38"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="Glyph.html#DOC.6.3.47.37">GLObjectList</A> _globjList</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><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://www.linuxsupportline.com/~doc++">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|