#include <opennurbs_font.h>
◆ ON_TextBox() [1/3]
ON_TextBox::ON_TextBox |
( |
| ) |
|
|
default |
◆ ~ON_TextBox()
ON_TextBox::~ON_TextBox |
( |
| ) |
|
|
default |
◆ ON_TextBox() [2/3]
◆ ON_TextBox() [3/3]
◆ IsSet()
bool ON_TextBox::IsSet |
( |
| ) |
const |
- Returns
- true if bounding box is set.
◆ operator=()
◆ Scale()
◆ Translate() [1/2]
- Returns
- A text box with m_bbmin, m_bbmax, m_max_basepoint are translated by delta. m_advance is not changed.
◆ Translate() [2/2]
static const ON_TextBox ON_TextBox::Translate |
( |
const ON_TextBox & |
text_box, |
|
|
const ON_2dex & |
delta |
|
) |
| |
|
static |
◆ Union()
- Parameters
-
lhs | [in] lhs.m_advance is ignored |
rhs | [in] rhs.m_advance is ignored |
- Returns
- Returned m_bbmin, m_bbmax, m_max_basepoint are the union of the lhs and rhs bounding box. Returned m_advance = (0,0)
◆ m_advance
ON_2dex ON_TextBox::m_advance = ON_2dex::Zero |
◆ m_bbmax
ON_2dex ON_TextBox::m_bbmax = ON_2dex::Unset |
◆ m_bbmin
ON_2dex ON_TextBox::m_bbmin = ON_2dex::Unset |
Tight bounding box of the rendered glyphs.
◆ m_max_basepoint
ON_2dex ON_TextBox::m_max_basepoint = ON_2dex::Zero |
◆ Unset