HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_FontBuildOptions Class Reference

#include <GU_Font.h>

Public Types

enum  HAlignment { HALIGN_LEFT, HALIGN_CENTER, HALIGN_RIGHT }
 
enum  VAlignment { VALIGN_FIRST_LINE, VALIGN_TOP, VALIGN_MIDDLE, VALIGN_BOTTOM }
 

Public Member Functions

 GU_FontBuildOptions ()
 
void setOrigin (const UT_Vector3 &origin)
 
void setScale (const UT_Vector2 &scale)
 
void setTracking (const UT_Vector2 &track)
 
void setAutoKerning (bool enable)
 
void setOblique (fpreal oblique)
 
void setHAlignment (HAlignment h_align)
 
void setVAlignment (VAlignment v_align)
 
void setVAlignOnDescender (bool ad)
 
void setAddAttributes (bool add_attribs)
 

Friends

class gu_Font
 

Detailed Description

Definition at line 24 of file GU_Font.h.

Member Enumeration Documentation

Enumerator
HALIGN_LEFT 
HALIGN_CENTER 
HALIGN_RIGHT 

Definition at line 27 of file GU_Font.h.

Enumerator
VALIGN_FIRST_LINE 
VALIGN_TOP 
VALIGN_MIDDLE 
VALIGN_BOTTOM 

Definition at line 34 of file GU_Font.h.

Constructor & Destructor Documentation

GU_FontBuildOptions::GU_FontBuildOptions ( )
inline

Definition at line 43 of file GU_Font.h.

Member Function Documentation

void GU_FontBuildOptions::setAddAttributes ( bool  add_attribs)
inline

Definition at line 64 of file GU_Font.h.

void GU_FontBuildOptions::setAutoKerning ( bool  enable)
inline

Definition at line 59 of file GU_Font.h.

void GU_FontBuildOptions::setHAlignment ( HAlignment  h_align)
inline

Definition at line 61 of file GU_Font.h.

void GU_FontBuildOptions::setOblique ( fpreal  oblique)
inline

Definition at line 60 of file GU_Font.h.

void GU_FontBuildOptions::setOrigin ( const UT_Vector3 origin)
inline

Definition at line 56 of file GU_Font.h.

void GU_FontBuildOptions::setScale ( const UT_Vector2 scale)
inline

Definition at line 57 of file GU_Font.h.

void GU_FontBuildOptions::setTracking ( const UT_Vector2 track)
inline

Definition at line 58 of file GU_Font.h.

void GU_FontBuildOptions::setVAlignment ( VAlignment  v_align)
inline

Definition at line 62 of file GU_Font.h.

void GU_FontBuildOptions::setVAlignOnDescender ( bool  ad)
inline

Definition at line 63 of file GU_Font.h.

Friends And Related Function Documentation

friend class gu_Font
friend

Definition at line 67 of file GU_Font.h.


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