|
|
| text_stencil (alignment alignment, std::u8string_view text, text_style style) noexcept |
| |
|
| text_stencil (alignment alignment, std::u8string text, text_style style) noexcept |
| |
| f32x4 | preferred_extent () noexcept override |
| | Return the extent that this cell wants to be drawn as.
|
| |
| void | draw (draw_context context, bool use_context_color=false) noexcept override |
| | Draw the cell.
|
| |
|
| stencil (alignment alignment) |
| |
|
| stencil (stencil const &) noexcept=delete |
| |
|
| stencil (stencil &&) noexcept=delete |
| |
|
stencil & | operator= (stencil const &) noexcept=delete |
| |
|
stencil & | operator= (stencil &&) noexcept=delete |
| |
| virtual void | set_layout_parameters (aarect const &rectangle, float base_line_position=std::numeric_limits< float >::infinity()) noexcept |
| | Pass layout parameters in local coordinates.
|
| |
◆ draw()
| void tt::text_stencil::draw |
( |
draw_context | context, |
|
|
bool | use_context_color = false ) |
|
overridevirtualnoexcept |
Draw the cell.
- Parameters
-
| context | The current draw context. |
| use_context_color | True to use the colors in the context, False to use the colors in the cell itself. |
Implements tt::stencil.
◆ preferred_extent()
| f32x4 tt::text_stencil::preferred_extent |
( |
| ) |
|
|
overridevirtualnoexcept |
Return the extent that this cell wants to be drawn as.
Reimplemented from tt::stencil.
The documentation for this class was generated from the following file: