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_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
virtual import_underline * | start_underline () |
virtual import_strikethrough * | start_strikethrough () |
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. |
|
virtual |
Get an interface for importing the strikethrough attributes and applying them to the font style.
nullptr
if the implementation does not support it.
|
virtual |
Get an interface for importing the underline attributes and applying them to the font style.
nullptr
if the implementation does not support it.