OpenSceneGraph/doc/doc++/osgText/BitmapFont.html

148 lines
5.3 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGTEXT_EXPORT osgText::BitmapFont</TITLE>
2003-01-25 07:36:35 +08:00
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</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>
2003-01-25 07:36:35 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.1">BitmapFont</A></B>()
<DT>
2003-01-25 07:36:35 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.2">BitmapFont</A></B>(const <!1><A HREF="BitmapFont.html#DOC.2.6.2">BitmapFont</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DT>
2003-01-25 07:36:35 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.3">BitmapFont</A></B>(const std::string&amp; font, int point_size)
2002-02-09 18:54:18 +08:00
<DT>
2003-01-25 07:36:35 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.4">META_Font</A></B>(<!1><A HREF="osgText.html">osgText</A>, <!1><A HREF="BitmapFont.html">BitmapFont</A>)
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
2003-01-25 07:36:35 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual FTFont* <B><A HREF="#DOC.2.6.5">createFontObj</A></B>(void)
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="RasterFont.html">RasterFont</A>:</H3>
<DL>
2002-02-09 18:54:18 +08:00
<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>
2002-07-17 04:07:32 +08:00
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>libraryName</B>() const
<DT>
2002-02-09 18:54:18 +08:00
<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>
2002-02-09 18:54:18 +08:00
<IMG ALT="o" SRC=icon2.gif>bool <B>open</B>(const char* font)
<DT>
2002-02-09 18:54:18 +08:00
<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, unsigned int res = 72 )
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>create</B>(osg::State&amp; state)
<DT>
2003-01-25 07:36:35 +08:00
<IMG ALT="o" SRC=icon2.gif>virtual void <B>output</B>(osg::State&amp; state, const <!1><A HREF="EncodedText.html">EncodedText</A>* text) const
<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>
2003-01-25 07:36:35 +08:00
<IMG ALT="o" SRC=icon2.gif>virtual float <B>getWidth</B>(const <!1><A HREF="EncodedText.html">EncodedText</A>* 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>
2002-02-09 18:54:18 +08:00
<IMG ALT="o" SRC=icon2.gif>int <B>getTextureSize</B>(void) const
<DT>
2002-07-17 04:07:32 +08:00
<IMG ALT="o" SRC=icon2.gif>const std::string&amp; <B>getFontName</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>copyAndInvalidate</B>(<!1><A HREF="Font.html">Font</A> &amp;dest)
<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>
2002-02-09 18:54:18 +08:00
<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>
2003-01-25 07:36:35 +08:00
<A NAME="DOC.2.6.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>
2003-01-25 07:36:35 +08:00
<A NAME="DOC.2.6.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BitmapFont(const <!1><A HREF="BitmapFont.html#DOC.2.6.2">BitmapFont</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
2002-02-09 18:54:18 +08:00
<DL><DT><DD></DL><P>
<A NAME="BitmapFont"></A>
2003-01-25 07:36:35 +08:00
<A NAME="DOC.2.6.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>
2002-02-09 18:54:18 +08:00
<A NAME="META_Font"></A>
2003-01-25 07:36:35 +08:00
<A NAME="DOC.2.6.4"></A>
2002-07-17 04:07:32 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Font(<!1><A HREF="osgText.html">osgText</A>, <!1><A HREF="BitmapFont.html">BitmapFont</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createFontObj"></A>
2003-01-25 07:36:35 +08:00
<A NAME="DOC.2.6.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>