|
Orcus
|
#include <import_interface_styles.hpp>
Public Member Functions | |
| virtual void | set_pattern_type (fill_pattern_t fp)=0 |
| virtual void | set_fg_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
| virtual void | set_bg_color (color_elem_t alpha, color_elem_t red, color_elem_t green, color_elem_t blue)=0 |
| virtual size_t | commit ()=0 |
Interface for importing fill style items.
|
pure virtual |
Commit the fill style in the current buffer.
|
pure virtual |
Set the background color of a fill. Note that this color will be ignored for a solid fill type.
| alpha | alpha component ranging from 0 (fully transparent) to 255 (fully opaque). |
| red | red component ranging from 0 to 255. |
| green | green component ranging from 0 to 255. |
| blue | blue component ranging from 0 to 255. |
|
pure virtual |
Set the foreground color of a fill. Note that for a solid fill type, the foreground color will be used.
| alpha | alpha component ranging from 0 (fully transparent) to 255 (fully opaque). |
| red | red component ranging from 0 to 255. |
| green | green component ranging from 0 to 255. |
| blue | blue component ranging from 0 to 255. |
|
pure virtual |
Set the type of fill pattern.
| fp | fill pattern type. |