15 #if !defined(OPENNURBS_TEXT_STYLE_INC_) 16 #define OPENNURBS_TEXT_STYLE_INC_ 64 const wchar_t* FontDescriptionAsPointer()
const;
68 const wchar_t* AppleFontNameAsPointer()
const;
75 const ON_Font* font_characteristics
78 const ON_Font& font_characteristics
92 void SetFontFromDescription(
93 const wchar_t* font_description,
94 const wchar_t* apple_font_name,
100 bool FontIsSet()
const;
103 bool FontIsLocked()
const;
118 const wchar_t* GetNameAndFontDescription(
119 const wchar_t* sSeparator,
123 static bool EqualTextStyleFontAndName(
137 const ON_Font* m_managed_font =
nullptr;
139 enum :
unsigned char {
143 unsigned char m_is_set_bits = 0;
144 unsigned char m_is_locked_bits = 0;
146 unsigned char m_reserved1 = 0;
147 unsigned int m_reserved2 = 0;
148 ON__UINT_PTR m_reserved_ptr_1 = 0;
149 ON__UINT_PTR m_reserved_ptr_2 = 0;
150 double m_reserved_double_0 = 0.0;
151 double m_reserved_double_1 = 0.0;
166 static const unsigned int binary_archive_opennurbs_version;
176 #if defined(ON_DLL_TEMPLATE) static const ON_TextStyle Unset
Definition: opennurbs_text_style.h:24
The ON_ModelComponent class is a base class for all components in a model and manages the index...
Definition: opennurbs_model_component.h:24
void Dump(ON_TextLog &) const override
Creates a text dump of the object.
static const ON_TextStyle ByLayer
Definition: opennurbs_text_style.h:26
bool IsValid(class ON_TextLog *text_log=nullptr) const override
Tests an object to see if its data members are correctly initialized.
ON_Object array is used to store lists of classes that are derived from ON_Object. It differs from ON_ClassArray in that the virtual ON_Object::MemoryRelocate function is called when growing the dynamic array requires changing the location of the memory buffer used to store the elements in the array.
Definition: opennurbs_array.h:725
Definition: opennurbs_string.h:2020
An ON_Font is a face in a font family. It corresponds to a Windows LOGFONT, a .NET System...
Definition: opennurbs_font.h:225
static const ON_TextStyle Default
Definition: opennurbs_text_style.h:25
static const ON_TextStyle ByParent
Definition: opennurbs_text_style.h:27
Definition: opennurbs_text_style.h:19
Definition: opennurbs_textlog.h:20
Definition: opennurbs_archive.h:1783
ON_ModelComponent & operator=(const ON_ModelComponent &source)
virtual bool Read(ON_BinaryArchive &binary_archive)
Low level archive writing tool used by ON_BinaryArchive::ReadObject().
Definition: opennurbs_model_component.h:1622
virtual bool Write(ON_BinaryArchive &binary_archive) const
Low level archive writing tool used by ON_BinaryArchive::WriteObject().