OpenSceneGraph/doc/doc++/osgText/Font.html
2003-01-24 23:36:35 +00:00

244 lines
10 KiB
HTML

<!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.10">
</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>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.3.1">Font</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.3.2">Font</A></B>(const <!1><A HREF="Font.html#DOC.2.3.2">Font</A>&amp; font, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.3.3">isSameKindAs</A></B>(const osg::Object* obj) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.3.4">libraryName</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.3.5">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.6">open</A></B>(const char* font)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.7">open</A></B>(const std::string&amp; font)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.3.8">create</A></B>(osg::State&amp; state, int pointSize, unsigned int res = 72 )
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.3.9">create</A></B>(osg::State&amp; state)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.10">output</A></B>(osg::State&amp; state, const <!1><A HREF="EncodedText.html">EncodedText</A>* text) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.3.11">isOk</A></B>(void) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.3.12">isCreated</A></B>(void) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.3.13">getWidth</A></B>(const <!1><A HREF="EncodedText.html">EncodedText</A>* text) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.2.3.14">getHeight</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.2.3.15">getDescender</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual int <B><A HREF="#DOC.2.3.16">getAscender</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.3.17">getPointSize</A></B>(void) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.3.18">getTextureSize</A></B>(void) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const std::string&amp; <B><A HREF="#DOC.2.3.19">getFontName</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.20">copyAndInvalidate</A></B>(<!1><A HREF="Font.html">Font</A> &amp;dest)
<DD><I>Transfer font settings to another Font object and invalidate this one</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>FTFont* <B><A HREF="#DOC.2.3.21">getFont</A></B>(void)
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.26">_init</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.27">_created</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>FTFont* <B><A HREF="#DOC.2.3.28">_font</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::string <B><A HREF="#DOC.2.3.29">_fontName</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.3.30">_pointSize</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.3.31">_res</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.3.32">_textureSize</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.2.3.22">~Font</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.23">clear</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual FTFont* <B><A HREF="#DOC.2.3.24">createFontObj</A></B>(void) = 0
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.25">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>
<A NAME="DOC.2.3.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Font()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="Font"></A>
<A NAME="DOC.2.3.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Font(const <!1><A HREF="Font.html#DOC.2.3.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.2.3.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="libraryName"></A>
<A NAME="DOC.2.3.4"></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="className"></A>
<A NAME="DOC.2.3.5"></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>
<A NAME="DOC.2.3.6"></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.2.3.7"></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>
<A NAME="DOC.2.3.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool create(osg::State&amp; state, int pointSize, unsigned int res = 72 )</B></TT>
<DL><DT><DD></DL><P>
<A NAME="create"></A>
<A NAME="DOC.2.3.9"></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>
<A NAME="DOC.2.3.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void output(osg::State&amp; state, const <!1><A HREF="EncodedText.html">EncodedText</A>* text) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isOk"></A>
<A NAME="DOC.2.3.11"></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>
<A NAME="DOC.2.3.12"></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>
<A NAME="DOC.2.3.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getWidth(const <!1><A HREF="EncodedText.html">EncodedText</A>* text) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getHeight"></A>
<A NAME="DOC.2.3.14"></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>
<A NAME="DOC.2.3.15"></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>
<A NAME="DOC.2.3.16"></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>
<A NAME="DOC.2.3.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getPointSize(void) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getTextureSize"></A>
<A NAME="DOC.2.3.18"></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>
<A NAME="DOC.2.3.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const std::string&amp; getFontName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="copyAndInvalidate"></A>
<A NAME="DOC.2.3.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void copyAndInvalidate(<!1><A HREF="Font.html">Font</A> &amp;dest)</B></TT>
<DD>Transfer font settings to another Font object and invalidate this one
<DL><DT><DD></DL><P>
<A NAME="getFont"></A>
<A NAME="DOC.2.3.21"></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>
<A NAME="DOC.2.3.22"></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>
<A NAME="DOC.2.3.23"></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>
<A NAME="DOC.2.3.24"></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>
<A NAME="DOC.2.3.25"></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>
<A NAME="DOC.2.3.26"></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>
<A NAME="DOC.2.3.27"></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>
<A NAME="DOC.2.3.28"></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>
<A NAME="DOC.2.3.29"></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>
<A NAME="DOC.2.3.30"></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>
<A NAME="DOC.2.3.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _res</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_textureSize"></A>
<A NAME="DOC.2.3.32"></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>