Rendering group for decorative elements (e.g., glyph underlines) in all text layouts.
The group disables GL_TEXTURE_2D.
Constructor:
Create an ordered group.
Parameters: |
|
---|
Methods:
set_state() set_state_recursive() Set this group and its ancestry. unset_state() Repeal the OpenGL state change. unset_state_recursive() Unset this group and its ancestry.
Methods
- TextLayoutForegroundDecorationGroup.set_state_recursive()
Set this group and its ancestry.
Call this method if you are using a group in isolation: the parent groups will be called in top-down order, with this class’s set being called last.
- TextLayoutForegroundDecorationGroup.unset_state()
Repeal the OpenGL state change.
The default implementation does nothing.
- TextLayoutForegroundDecorationGroup.unset_state_recursive()
Unset this group and its ancestry.
The inverse of set_state_recursive.