OpenSceneGraph/doc/doc++/osgText/Font.html

230 lines
9.4 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGTEXT_EXPORT osgText::Font</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::Font</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
<param name=classes value="Mosg::Object,M,CFont,MFont.html,CVectorFont,MVectorFont.html,CRasterFont,MRasterFont.html">
<param name=before value="M,M,M|_,Mr_">
<param name=after value="Md_,M,M,M">
<param name=indent value="0,1,1,1">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.2.1">Font</A></B>()
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.2.2">Font</A></B>(const <!1><A HREF="Font.html#DOC.6.2.2">Font</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.2.3">isSameKindAs</A></B>(const osg::Object* obj) const
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.6.2.4">className</A></B>() const
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.5">open</A></B>(const char* font)
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.6">open</A></B>(const std::string&amp; font)
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.2.7">create</A></B>(osg::State&amp; state, int pointSize, const unsigned int res = 72 )
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.2.8">create</A></B>(osg::State&amp; state)
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.6.2.9">output</A></B>(osg::State&amp; state, const char* text)
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.2.10">isOk</A></B>(void) const
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.6.2.11">isCreated</A></B>(void) const
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.6.2.12">getWidth</A></B>(const char* text) const
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.6.2.13">getHeight</A></B>() const
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.6.2.14">getDescender</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.6.2.15">getAscender</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.16">getPointSize</A></B>(void) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.17">getTextureSize</A></B>(void) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const std::string&amp; <B><A HREF="#DOC.6.2.18">getFontName</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>FTFont* <B><A HREF="#DOC.6.2.19">getFont</A></B>(void)
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.24">_init</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.25">_created</A></B>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>FTFont* <B><A HREF="#DOC.6.2.26">_font</A></B>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.6.2.27">_fontName</A></B>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.28">_pointSize</A></B>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.29">_res</A></B>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.6.2.30">_textureSize</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.6.2.20">~Font</A></B>()
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.6.2.21">clear</A></B>()
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual FTFont* <B><A HREF="#DOC.6.2.22">createFontObj</A></B>(void) = 0
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.6.2.23">init</A></B>(const std::string&amp; font)
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="Font"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Font()</B></TT>
<DL><DT><DD></DL><P>
2002-02-09 18:54:18 +08:00
<A NAME="Font"></A>
<A NAME="DOC.6.2.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Font(const <!1><A HREF="Font.html#DOC.6.2.2">Font</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.6.2.3"></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.2.4"></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="open"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool open(const char* font)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="open"></A>
<A NAME="DOC.6.2.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool open(const std::string&amp; font)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="create"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool create(osg::State&amp; state, int pointSize, const unsigned int res = 72 )</B></TT>
<DL><DT><DD></DL><P>
<A NAME="create"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool create(osg::State&amp; state)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="output"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void output(osg::State&amp; state, const char* text)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isOk"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isOk(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCreated"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isCreated(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getWidth"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getWidth(const char* text) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getHeight"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual int getHeight() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDescender"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual int getDescender() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getAscender"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual int getAscender() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getPointSize"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getPointSize(void) const </B></TT>
<DL><DT><DD></DL><P>
2002-02-09 18:54:18 +08:00
<A NAME="getTextureSize"></A>
<A NAME="DOC.6.2.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getTextureSize(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFontName"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const std::string&amp; getFontName()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFont"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>FTFont* getFont(void)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~Font"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Font()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="clear"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void clear()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createFontObj"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual FTFont* createFontObj(void) = 0</B></TT>
<DL><DT><DD></DL><P>
<A NAME="init"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool init(const std::string&amp; font)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_init"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _init</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_created"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _created</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_font"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>FTFont* _font</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fontName"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::string _fontName</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_pointSize"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _pointSize</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_res"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.6.2.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _res</B></TT>
2002-02-09 18:54:18 +08:00
<DL><DT><DD></DL><P>
<A NAME="_textureSize"></A>
<A NAME="DOC.6.2.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _textureSize</B></TT>
<DL><DT><DD></DL><P></DL>
<HR>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="VectorFont.html">VectorFont</A><BR>
<A HREF="RasterFont.html">RasterFont</A><BR>
</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://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>