Orcus
|
#include <import_interface_styles.hpp>
Public Member Functions | |
virtual void | set_bold (bool b)=0 |
virtual void | set_bold_asian (bool b)=0 |
virtual void | set_bold_complex (bool b)=0 |
virtual void | set_italic (bool b)=0 |
virtual void | set_italic_asian (bool b)=0 |
virtual void | set_italic_complex (bool b)=0 |
virtual void | set_name (std::string_view s)=0 |
virtual void | set_name_asian (std::string_view s)=0 |
virtual void | set_name_complex (std::string_view s)=0 |
virtual void | set_size (double point)=0 |
virtual void | set_size_asian (double point)=0 |
virtual void | set_size_complex (double point)=0 |
virtual void | set_underline (underline_t e)=0 |
virtual void | set_underline_width (underline_width_t e)=0 |
virtual void | set_underline_mode (underline_mode_t e)=0 |
virtual void | set_underline_type (underline_type_t e)=0 |
virtual void | set_underline_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual void | set_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual void | set_strikethrough_style (strikethrough_style_t s)=0 |
virtual void | set_strikethrough_type (strikethrough_type_t s)=0 |
virtual void | set_strikethrough_width (strikethrough_width_t s)=0 |
virtual void | set_strikethrough_text (strikethrough_text_t s)=0 |
virtual std::size_t | commit ()=0 |
Interface for importing font style items. The following font style properties store different values for western, asian and complex scripts:
|
pure virtual |
Commit the font style in the current buffer.
|
pure virtual |
Set the font weight to either normal or bold, for western script.
b | whether the font has normal (false) or bold weight (true). |
|
pure virtual |
Set the font weight to either normal or bold, for asian script.
b | whether the font has normal (false) or bold weight (true). |
|
pure virtual |
Set the font weight to either normal or bold, for complex script.
b | whether the font has normal (false) or bold weight (true). |
|
pure virtual |
Specify the color of font in ARGB format.
alpha | alpha component of the color. |
red | red component of the color. |
green | green component of the color. |
blue | blue component of the color. |
|
pure virtual |
Set the font style to either normal or italic, for western script.
b | whether the font has normal (false) or italic style (true). |
|
pure virtual |
Set the font style to either normal or italic, for asian script.
b | whether the font has normal (false) or italic style (true). |
|
pure virtual |
Set the font style to either normal or italic, for complex script.
b | whether the font has normal (false) or italic style (true). |
|
pure virtual |
Set the name of a font, for western script.
s | font name. |
|
pure virtual |
Set the name of a font, for asian script.
s | font name. |
|
pure virtual |
Set the name of a font, for complex script.
s | font name. |
|
pure virtual |
Set the size of a font in points, for western script.
point | font size in points. |
|
pure virtual |
Set the size of a font in points, for asian script.
point | font size in points. |
|
pure virtual |
Set the size of a font in points, for complex script.
point | font size in points. |
|
pure virtual |
Set the strikethrough style of a font.
s | strikethrough style of a font. |
|
pure virtual |
Set the text to use as a strikethrough.
s | text to use as a strikethrough. |
|
pure virtual |
Set whether the strikethrough of a font consists of a single line or a double line.
s | whether the strikethrough of a font consists of a single line or a double line. |
|
pure virtual |
Set the width of the strikethrough of a font.
s | the width of the strikethrough of a font. |
|
pure virtual |
Set the underline type of a font.
e | underline type of a font. |
|
pure virtual |
Specify the color of an underline in ARGB format.
alpha | alpha component of the color. |
red | red component of the color. |
green | green component of the color. |
blue | blue component of the color. |
|
pure virtual |
Set whether the underline of a font is continuous over the gaps, or skip the gaps.
e | whether the underline of a font is continuous over the gaps or skip the gaps. |
|
pure virtual |
Set whether the underline of a font consists of a single line, or a double line.
e | whether the underline of a font consists of a single line, or a double line. |
|
pure virtual |
Set the width of the underline of a font.
e | width of the underline of a font. |