OpenSceneGraph/doc/doc++/osgText/BitmapFont.html
2002-02-09 10:54:18 +00:00

144 lines
5.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGTEXT_EXPORT osgText::BitmapFont</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGTEXT_EXPORT <A HREF="#DOC.DOCU">osgText::BitmapFont</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,CRasterFont,MRasterFont.html,CBitmapFont,MBitmapFont.html">
<param name=before value="M,M,M,M">
<param name=after value="Md_SPSP,Md_SP,Md_,M">
<param name=indent value="0,1,2,3">
<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">BitmapFont</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.5.2">BitmapFont</A></B>(const <!1><A HREF="BitmapFont.html#DOC.6.5.2">BitmapFont</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.5.3">BitmapFont</A></B>(const std::string&amp; font, int point_size)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.6.5.4">META_Font</A></B>(<!1><A HREF="BitmapFont.html">BitmapFont</A>)
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual FTFont* <B><A HREF="#DOC.6.5.5">createFontObj</A></B>(void)
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="RasterFont.html">RasterFont</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>isSameKindAs</B>(const osg::Object* obj) const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>className</B>() const
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Font.html">Font</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>open</B>(const char* font)
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>open</B>(const std::string&amp; font)
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>create</B>(osg::State&amp; state, int pointSize, const unsigned int res = 72 )
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>create</B>(osg::State&amp; state)
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual void <B>output</B>(osg::State&amp; state, const char* text)
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>isOk</B>(void) const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>isCreated</B>(void) const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual float <B>getWidth</B>(const char* text) const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual int <B>getHeight</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual int <B>getDescender</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual int <B>getAscender</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>int <B>getPointSize</B>(void) const
<DT>
<IMG ALT="o" SRC=icon2.gif>int <B>getTextureSize</B>(void) const
<DT>
<IMG ALT="o" SRC=icon2.gif>const std::string&amp; <B>getFontName</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>FTFont* <B>getFont</B>(void)
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>_init</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>_created</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>FTFont* <B>_font</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>std::string <B>_fontName</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>int <B>_pointSize</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>int <B>_res</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>int <B>_textureSize</B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>virtual void <B>clear</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>bool <B>init</B>(const std::string&amp; font)
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="BitmapFont"></A>
<A NAME="DOC.6.5.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BitmapFont()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BitmapFont"></A>
<A NAME="DOC.6.5.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BitmapFont(const <!1><A HREF="BitmapFont.html#DOC.6.5.2">BitmapFont</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BitmapFont"></A>
<A NAME="DOC.6.5.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BitmapFont(const std::string&amp; font, int point_size)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="META_Font"></A>
<A NAME="DOC.6.5.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Font(<!1><A HREF="BitmapFont.html">BitmapFont</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createFontObj"></A>
<A NAME="DOC.6.5.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual FTFont* createFontObj(void)</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://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>