17#if !defined(OPENNURBS_FONT_INC_)
18#define OPENNURBS_FONT_INC_
44 const wchar_t* face_name,
49#if defined(ON_OS_WINDOWS_GDI)
50 ON_Font(
const LOGFONT& logfont );
102#if defined(ON_OS_WINDOWS_GDI)
163 const wchar_t* facename
249#if defined(ON_OS_WINDOWS_GDI)
250 bool SetLogFont(
const LOGFONT& logfont );
251 const LOGFONT& LogFont()
const;
273#if defined(ON_OS_WINDOWS_GDI)
void SetLinefeedRatio(double linefeed_ratio)
void Dump(ON_TextLog &) const
void UpdateImplementationSettings()
void SetFontName(const wchar_t *)
bool SetFontFaceName(const wchar_t *)
void GetFontName(ON_wString &) const
ON_BOOL32 Read(ON_BinaryArchive &)
const wchar_t * FontName() const
void GetFontFaceName(ON_wString &) const
bool SetFontFaceName(const char *)
ON_BOOL32 Write(ON_BinaryArchive &) const
bool IsUnderlined() const
const wchar_t * FontFaceName() const
ON_UUID ModelObjectId() const
double LinefeedRatio() const
wchar_t m_facename[face_name_size]
static bool IsSymbolFontFaceName(const wchar_t *facename)
bool CreateFontFromFaceName(const wchar_t *face_name, bool bBold, bool bItalic)
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
static const int m_metrics_char
static const double m_default_linefeed_ratio
bool CompareFontCharacteristics(ON_Font &font_to_compare, bool bCompareName) const
int HeightOfLinefeed() const
double AscentRatio() const
void SetFontName(const char *)
ON_Object & operator=(const ON_Object &)