![]() |
Murl Engine API
Version 2025.1
|
The ITextStyleLayer graph node interface. More...
#include <murl_graph_i_text_style_layer.h>
The ITextStyleLayer graph node interface.
Public Member Functions | |
| virtual INode * | GetNodeInterface ()=0 |
| Get the mutable Graph::INode interface. More... | |
| virtual const INode * | GetNodeInterface () const =0 |
| Get the constant Graph::INode interface. More... | |
| virtual ITextStyleLayerNodeTarget * | GetSubTextStyleLayerNodeTarget ()=0 |
| Get the mutable container holding the optional child layers. More... | |
| virtual const ITextStyleLayerNodeTarget * | GetSubTextStyleLayerNodeTarget () const =0 |
| Get the constant container holding the optional child layers. More... | |
| virtual Bool | SetLayerType (IEnums::LayerType type)=0 |
| Set the type of this layer. More... | |
| virtual IEnums::LayerType | GetLayerType () const =0 |
| Get the layer type. More... | |
| virtual Bool | SetLayerRenderOperation (IEnums::AluOperation layerOperation)=0 |
| Set the render operation for this layer. More... | |
| virtual IEnums::AluOperation | GetLayerRenderOperation () const =0 |
| Get the render operation. More... | |
| virtual Bool | SetTextColor (const Color &textColor)=0 |
| Set the foreground (text) color used for rendering the text. More... | |
| virtual const Color & | GetTextColor () const =0 |
| Get the text color. More... | |
| virtual Bool | SetTextColorOperation (IEnums::AluOperation textColorOperation)=0 |
| Set the color operation to apply to text rendered in this layer. More... | |
| virtual IEnums::AluOperation | GetTextColorOperation () const =0 |
| Get the text color operation. More... | |
| virtual Bool | SetBackgroundColor (const Color &backgroundColor)=0 |
| Set the background color used for rendering. More... | |
| virtual const Color & | GetBackgroundColor () const =0 |
| Get the background color. More... | |
| virtual Bool | SetBackgroundColorOperation (IEnums::AluOperation backgroundColorOperation)=0 |
| Set the color operation to apply to this layers background. More... | |
| virtual IEnums::AluOperation | GetBackgroundColorOperation () const =0 |
| Get the background color operation. More... | |
| virtual Bool | SetEmbolding (Real strength)=0 |
| Set the embolding strength value. More... | |
| virtual Real | GetEmbolding () const =0 |
| Get the embolding strength value. More... | |
| virtual Bool | SetEmboldingOperation (IEnums::AluOperation emboldingOperation)=0 |
| Set the embolding operation. More... | |
| virtual IEnums::AluOperation | GetEmboldingOperation () const =0 |
| Get the embolding operation. More... | |
| virtual Bool | SetBlur (Real strength)=0 |
| Set the blur strength value. More... | |
| virtual Real | GetBlur () const =0 |
| Get the blur strength value. More... | |
| virtual Bool | SetBlurOperation (IEnums::AluOperation blurOperation)=0 |
| Set the blur operation. More... | |
| virtual IEnums::AluOperation | GetBlurOperation () const =0 |
| Get the blur operation. More... | |
| virtual Bool | SetOffset (Real offsetX, Real offsetY)=0 |
| Set horizontal and vertical offsets used for outline rendering. More... | |
| virtual Bool | SetOffsetX (Real offsetX)=0 |
| Set the horizontal offset used for outline rendering. More... | |
| virtual Bool | SetOffsetY (Real offsetY)=0 |
| Set the vertical offset used for outline rendering. More... | |
| virtual Real | GetOffsetX () const =0 |
| Get the horizontal offset used for outline rendering. More... | |
| virtual Real | GetOffsetY () const =0 |
| Get the vertical offset used for outline rendering. More... | |
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
|
pure virtual |
Get the mutable container holding the optional child layers.
This method returns a mutable pointer to the node's Graph::ITextStyleLayerNodeTarget sub container, which is used to store multiple sub-layers.
|
pure virtual |
Get the constant container holding the optional child layers.
This method returns a constant pointer to the node's Graph::ITextStyleLayerNodeTarget sub container, which is used to store multiple sub-layers.
|
pure virtual |
Set the type of this layer.
| textColor | The layer type. |
|
pure virtual |
Get the layer type.
|
pure virtual |
Set the render operation for this layer.
| layerOperation | The render operation. |
|
pure virtual |
Get the render operation.
Set the foreground (text) color used for rendering the text.
| textColor | The text color. |
|
pure virtual |
Get the text color.
|
pure virtual |
Set the color operation to apply to text rendered in this layer.
| textColorOperation | The color operation. |
|
pure virtual |
Get the text color operation.
|
pure virtual |
Set the background color used for rendering.
| backgroundColor | The background color. |
|
pure virtual |
Get the background color.
|
pure virtual |
Set the color operation to apply to this layers background.
| backgroundColorOperation | The color operation. |
|
pure virtual |
Get the background color operation.
Set the embolding strength value.
The embolding strength determines the "boldness" or "weight" of the font's rendered glyphs. Positive values result in thicker lines, and negative values can be used to make the font "thinner". Useful values are in the range from -1 to +1, but can also lie beyond that range.
Note that not all types of fonts allow glyph embolding. If not supported, this method returns false.
| strength | The embolding strength value. |
|
pure virtual |
Get the embolding strength value.
|
pure virtual |
Set the embolding operation.
| emboldingOperation | The embolding operation. |
|
pure virtual |
Get the embolding operation.
Set the blur strength value.
| strength | The positive blur strength value. |
|
pure virtual |
Get the blur strength value.
|
pure virtual |
Set the blur operation.
| blurOperation | The blur operation. |
|
pure virtual |
Get the blur operation.
Set horizontal and vertical offsets used for outline rendering.
| offsetX | The horizontal offset. |
| offsetY | The vertical offset. |
Set the horizontal offset used for outline rendering.
| offsetX | The horizontal offset. |
Set the vertical offset used for outline rendering.
| offsetY | The vertical offset. |
|
pure virtual |
Get the horizontal offset used for outline rendering.
|
pure virtual |
Get the vertical offset used for outline rendering.