/// \brief /// Set a custom box to clip the text. The box is not copied inline void SetCustomClipRectPtr(const VRectanglef *pCustomBBox) {m_pCustomBBox=pCustomBBox;UpdateAlignment();}
/// \brief /// Sets the vertical alignment of the text inline void SetVerticalAlignment(VisFont_cl::Alignment_e align) { m_vAlign = align; UpdateAlignment(); }
/// \brief /// Sets the horizontal alignment of the text inline void SetHorizontalAlignment(VisFont_cl::Alignment_e align) { m_hAlign = align; UpdateAlignment(); }
/// \brief /// Set a string pointer. The string itself is not copied inline void SetTextPtr(VString *pText) {m_pStringPtr=pText;UpdateAlignment();}
/// \brief /// Set a (unique) string on this state inline void SetText(const char *szString, bool bForceCustom) {if (bForceCustom || UsesCustomText()) {m_sText=szString;m_pStringPtr=&m_sText;}UpdateAlignment();}
/// \brief /// Set text to line wrap mode (i.e. if it does not fit into the size) inline void SetTextWrap(bool bWrap) {m_bTextWrap=bWrap; UpdateAlignment();}