#include <opennurbs_font.h>
◆ Member
Enumerator |
---|
Unset | |
Regular | |
Bold | |
Italic | |
BoldItalic | |
◆ ON_FontFaceQuartet() [1/3]
ON_FontFaceQuartet::ON_FontFaceQuartet |
( |
| ) |
|
|
default |
◆ ~ON_FontFaceQuartet()
ON_FontFaceQuartet::~ON_FontFaceQuartet |
( |
| ) |
|
|
default |
◆ ON_FontFaceQuartet() [2/3]
◆ ON_FontFaceQuartet() [3/3]
ON_FontFaceQuartet::ON_FontFaceQuartet |
( |
const wchar_t * |
quartet_name, |
|
|
const class ON_Font * |
regular, |
|
|
const class ON_Font * |
bold, |
|
|
const class ON_Font * |
italic, |
|
|
const class ON_Font * |
bold_italic |
|
) |
| |
◆ BoldFace()
const class ON_Font* ON_FontFaceQuartet::BoldFace |
( |
| ) |
const |
◆ BoldItalicDeviation()
Description: When an exact quartet face bold/italic match is not available, choosing an available quartet face that minimizes ON_FontFaceQuartet::BoldItalicDeviation() is one way to select which available quartet face to use. Returns: A distance between two quartet face members.
◆ BoldItalicFace()
const class ON_Font* ON_FontFaceQuartet::BoldItalicFace |
( |
| ) |
const |
◆ ClosestFace() [1/2]
const ON_Font* ON_FontFaceQuartet::ClosestFace |
( |
bool |
bPreferedBold, |
|
|
bool |
bPreferedItalic |
|
) |
| const |
◆ ClosestFace() [2/2]
Parameters: member - [in] Returns: Closest quartet member.
◆ CompareQuartetName()
◆ Dump()
void ON_FontFaceQuartet::Dump |
( |
ON_TextLog & |
text_log | ) |
const |
◆ Face() [1/2]
const ON_Font* ON_FontFaceQuartet::Face |
( |
bool |
bBold, |
|
|
bool |
bItalic |
|
) |
| const |
◆ Face() [2/2]
Parameters: member - [in] Returns: Specified quartet member.
◆ FaceCount()
unsigned int ON_FontFaceQuartet::FaceCount |
( |
| ) |
const |
- Returns
- Total number of available faces (0 to 4).
◆ HasAllFaces()
bool ON_FontFaceQuartet::HasAllFaces |
( |
| ) |
const |
◆ HasBoldFace()
bool ON_FontFaceQuartet::HasBoldFace |
( |
| ) |
const |
◆ HasBoldItalicFace()
bool ON_FontFaceQuartet::HasBoldItalicFace |
( |
| ) |
const |
◆ HasItalicFace()
bool ON_FontFaceQuartet::HasItalicFace |
( |
| ) |
const |
◆ HasRegularFace()
bool ON_FontFaceQuartet::HasRegularFace |
( |
| ) |
const |
◆ IsEmpty()
bool ON_FontFaceQuartet::IsEmpty |
( |
| ) |
const |
- Returns
- True if FaceCount() = 0. (The name may be empty or not empty.)
◆ IsNotEmpty()
bool ON_FontFaceQuartet::IsNotEmpty |
( |
| ) |
const |
- Returns
- True if FaceCount() > 0. (The name may be empty or not empty.)
◆ ItalicFace()
const class ON_Font* ON_FontFaceQuartet::ItalicFace |
( |
| ) |
const |
◆ MemberFromBoldAndItalic()
◆ MemberFromUnsigned()
◆ MemberToString()
◆ NotInstalledFaceCount()
unsigned int ON_FontFaceQuartet::NotInstalledFaceCount |
( |
| ) |
const |
- Returns
- Number of faces that are not installed on this device (0 to FaceCount()).
◆ operator=()
◆ QuartetMember()
Parameters: font - [in] Font to test Returns: If font exactly matches a quartet member, that member is identified. Otherwise, ON_FontFaceQuartet::Member::Unset is returned.
◆ QuartetName()
const ON_wString ON_FontFaceQuartet::QuartetName |
( |
| ) |
const |
◆ RegularFace()
const class ON_Font* ON_FontFaceQuartet::RegularFace |
( |
| ) |
const |
◆ RichTextSample()
Returns a sample rich text string demonstrating the faces in the quartet.
◆ SimulatedFaceCount()
unsigned int ON_FontFaceQuartet::SimulatedFaceCount |
( |
| ) |
const |
- Returns
- Number of faces that are simulated (0 to FaceCount()).
◆ Empty