|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Nodes::GpuSync::GlyphGeometryNode::GlyphGeometryNode | ( | Portal::Text::FontFace & | face, |
| uint32_t | pixel_size, | ||
| std::string | text, | ||
| float | pen_x = 0.F, |
||
| float | pen_y = 0.F, |
||
| float | tolerance = 0.5F |
||
| ) |
Construct from a UTF-8 string with an explicit FontFace.
| face | FontFace to decompose from. Must outlive this node. |
| pixel_size | Glyph size in pixels. |
| text | UTF-8 string to decompose. |
| pen_x | Starting horizontal pen position in pixels. |
| pen_y | Starting vertical pen position in pixels (baseline). |
| tolerance | Bezier flatness tolerance in pixels. |
Definition at line 27 of file GlyphGeometryNode.cpp.
References MayaFlux::Kakshya::VertexLayout::for_lines(), rebuild_outlines(), MayaFlux::Nodes::GpuSync::GeometryWriterNode::set_vertex_layout(), and MayaFlux::Nodes::GpuSync::GeometryWriterNode::set_vertex_stride().
Here is the call graph for this function: