One originating text-decoration declaration, independent of descendant declarations. More...
#include "donner/svg/components/text/ComputedTextComponent.h"
Public Member Functions | |
| bool | usesPreparedFill (const ResolvedPaintServer &prepared) const |
| Whether prepared paint names this origin's resource in the same coordinate context. | |
Public Attributes | |
| TextDecoration | lines = TextDecoration::None |
| Lines contributed by this origin. | |
| ResolvedPaintServer | fill = PaintServer::None() |
| Origin's resolved fill. | |
| ResolvedPaintServer | stroke = PaintServer::None() |
| Origin's resolved stroke. | |
| double | fillOpacity = 1.0 |
| Origin's fill opacity. | |
| double | strokeOpacity = 1.0 |
| Origin's stroke opacity. | |
| std::optional< ResolvedTextFont > | font |
| Origin's resolved face and used size. | |
| std::shared_ptr< const SnapshotFontPayload > | snapshotFont |
| Snapshot-owned font bytes. | |
| double | strokeWidth = 0.0 |
| Origin's resolved SVG stroke width. | |
| PaintOrder | paintOrder |
| Origin's paint-order, which orders the decoration's fill/stroke. | |
| TextDecorationStyle | style = TextDecorationStyle::Solid |
| Declaring element's line style. | |
| TextDecorationThickness | thickness |
| Explicit dimensions are resolved to pixels. | |
One originating text-decoration declaration, independent of descendant declarations.
|
inline |
Whether prepared paint names this origin's resource in the same coordinate context.
| prepared | Paint whose backend resource is available for reuse. |