Logo Search packages:      
Sourcecode: blender version File versions  Download package

FTF_TTFont Class Reference

#include <FTF_TTFont.h>

List of all members.

Detailed Description

FTF_TTFont.h 14444 2008-04-16 22:40:48Z hos

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Copyright (C) 2002 Blender Foundation. All Rights Reserved.

The Original Code is: all of this file.

Contributor(s): none yet.


FTF_TTFont.h 14444 2008-04-16 22:40:48Z hos
Copyright (C) 2001 NaN Technologies B.V. Base class for Using FTGL, iconv and gettext Library.

Definition at line 47 of file FTF_TTFont.h.

Public Member Functions

float DrawString (char *str, unsigned int flag)
 FTF_TTFont (void)
void GetBoundingBox (char *str, float *llx, float *lly, float *llz, float *urx, float *ury, float *urz, unsigned int flag)
int GetSize (void)
float GetStringWidth (char *str, unsigned int flag)
void SetEncoding (char *str)
int SetFont (const unsigned char *str, int datasize, int fontsize)
void SetFontSize (char size)
void SetLanguage (char *str)
void SetMode (int mode)
void SetPosition (float x, float y)
void SetScale (float fsize)
void SetSize (int size)
int TransConvString (char *str, char *ustr, unsigned int flag)
virtual ~FTF_TTFont (void)

Protected Attributes

char encoding_name [32]
FTFont * font
char font_name [128]
int font_size
FTFont * fontl
FTFont * fontm
FTFont * fonts
float fsize
char language [32]
char messagepath [1024]
int mode
float pen_x
float pen_y

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index