Point Cloud Library (PCL)
1.14.1-dev
|
#include <pcl/surface/3rdparty/opennurbs/opennurbs_font.h>
Public Types | |
enum | { face_name_size = 65 , bold_weight = 700 , medium_weight = 500 , normal_weight = 400 , light_weight = 300 , default_charset = 1 , symbol_charset = 2 , normal_font_height = 256 } |
Public Member Functions | |
ON_Font () | |
~ON_Font () | |
bool | CreateFontFromFaceName (const wchar_t *face_name, bool bBold, bool bItalic) |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
void | Dump (ON_TextLog &) const |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
ON_BOOL32 | Read (ON_BinaryArchive &) |
ON_UUID | ModelObjectId () const |
void | SetFontName (const wchar_t *) |
void | SetFontName (const char *) |
void | GetFontName (ON_wString &) const |
const wchar_t * | FontName () const |
void | SetFontIndex (int) |
int | FontIndex () const |
double | LinefeedRatio () const |
void | SetLinefeedRatio (double linefeed_ratio) |
bool | SetFontFaceName (const wchar_t *) |
bool | SetFontFaceName (const char *) |
void | GetFontFaceName (ON_wString &) const |
const wchar_t * | FontFaceName () const |
int | FontWeight () const |
void | SetFontWeight (int) |
bool | IsItalic () const |
void | SetIsItalic (bool) |
void | SetItalic (bool) |
bool | IsBold () const |
void | SetBold (bool) |
bool | IsUnderlined () const |
void | SetUnderlined (bool) |
void | Defaults () |
int | HeightOfI () const |
int | HeightOfLinefeed () const |
double | AscentRatio () const |
bool | CompareFontCharacteristics (ON_Font &font_to_compare, bool bCompareName) const |
void | UpdateImplementationSettings () |
Public Member Functions inherited from ON_Object | |
bool | CopyFrom (const ON_Object *src) |
ON_Object () | |
ON_Object (const ON_Object &) | |
ON_Object & | operator= (const ON_Object &) |
virtual | ~ON_Object () |
void | EmergencyDestroy () |
virtual void | MemoryRelocate () |
ON_BOOL32 | IsKindOf (const ON_ClassId *pClassId) const |
virtual unsigned int | SizeOf () const |
virtual ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
virtual ON::object_type | ObjectType () const |
bool | SetUserString (const wchar_t *key, const wchar_t *string_value) |
int | SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace) |
bool | GetUserString (const wchar_t *key, ON_wString &string_value) const |
int | GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const |
int | GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const |
int | UserStringCount () const |
ON_BOOL32 | AttachUserData (ON_UserData *pUserData) |
ON_BOOL32 | DetachUserData (ON_UserData *pUserData) |
ON_UserData * | GetUserData (const ON_UUID &userdata_uuid) const |
void | PurgeUserData () |
ON_UserData * | FirstUserData () const |
void | TransformUserData (const ON_Xform &xform) |
void | CopyUserData (const ON_Object &source_object) |
void | MoveUserData (ON_Object &source_object) |
virtual void | DestroyRuntimeCache (bool bDelete=true) |
Static Public Member Functions | |
static bool | IsSymbolFontFaceName (const wchar_t *facename) |
Public Attributes | |
ON_wString | m_font_name |
int | m_font_weight |
bool | m_font_italic |
bool | m_font_underlined |
double | m_linefeed_ratio |
int | m_font_index |
ON_UUID | m_font_id |
wchar_t | m_facename [face_name_size] |
Static Public Attributes | |
static const double | m_default_linefeed_ratio |
static const int | m_metrics_char |
Definition at line 20 of file opennurbs_font.h.
anonymous enum |
Enumerator | |
---|---|
face_name_size | |
bold_weight | |
medium_weight | |
normal_weight | |
light_weight | |
default_charset | |
symbol_charset | |
normal_font_height |
Definition at line 99 of file opennurbs_font.h.
ON_Font::ON_Font | ( | ) |
ON_Font::~ON_Font | ( | ) |
double ON_Font::AscentRatio | ( | ) | const |
bool ON_Font::CompareFontCharacteristics | ( | ON_Font & | font_to_compare, |
bool | bCompareName | ||
) | const |
bool ON_Font::CreateFontFromFaceName | ( | const wchar_t * | face_name, |
bool | bBold, | ||
bool | bItalic | ||
) |
void ON_Font::Defaults | ( | ) |
|
virtual |
Reimplemented from ON_Object.
const wchar_t* ON_Font::FontFaceName | ( | ) | const |
int ON_Font::FontIndex | ( | ) | const |
const wchar_t* ON_Font::FontName | ( | ) | const |
int ON_Font::FontWeight | ( | ) | const |
void ON_Font::GetFontFaceName | ( | ON_wString & | ) | const |
void ON_Font::GetFontName | ( | ON_wString & | ) | const |
int ON_Font::HeightOfI | ( | ) | const |
int ON_Font::HeightOfLinefeed | ( | ) | const |
bool ON_Font::IsBold | ( | ) | const |
bool ON_Font::IsItalic | ( | ) | const |
|
static |
bool ON_Font::IsUnderlined | ( | ) | const |
|
virtual |
Implements ON_Object.
double ON_Font::LinefeedRatio | ( | ) | const |
|
virtual |
Reimplemented from ON_Object.
void ON_Font::SetBold | ( | bool | ) |
bool ON_Font::SetFontFaceName | ( | const char * | ) |
bool ON_Font::SetFontFaceName | ( | const wchar_t * | ) |
void ON_Font::SetFontIndex | ( | int | ) |
void ON_Font::SetFontName | ( | const char * | ) |
void ON_Font::SetFontName | ( | const wchar_t * | ) |
void ON_Font::SetFontWeight | ( | int | ) |
void ON_Font::SetIsItalic | ( | bool | ) |
void ON_Font::SetItalic | ( | bool | ) |
void ON_Font::SetLinefeedRatio | ( | double | linefeed_ratio | ) |
void ON_Font::SetUnderlined | ( | bool | ) |
void ON_Font::UpdateImplementationSettings | ( | ) |
|
virtual |
Reimplemented from ON_Object.
|
static |
Definition at line 150 of file opennurbs_font.h.
wchar_t ON_Font::m_facename[face_name_size] |
Definition at line 262 of file opennurbs_font.h.
ON_UUID ON_Font::m_font_id |
Definition at line 261 of file opennurbs_font.h.
int ON_Font::m_font_index |
Definition at line 260 of file opennurbs_font.h.
bool ON_Font::m_font_italic |
Definition at line 257 of file opennurbs_font.h.
ON_wString ON_Font::m_font_name |
Definition at line 255 of file opennurbs_font.h.
bool ON_Font::m_font_underlined |
Definition at line 258 of file opennurbs_font.h.
int ON_Font::m_font_weight |
Definition at line 256 of file opennurbs_font.h.
double ON_Font::m_linefeed_ratio |
Definition at line 259 of file opennurbs_font.h.
|
static |
Definition at line 153 of file opennurbs_font.h.