MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / layout_text

Method layout_text

node-graph/nodes/text/src/text_context.rs:109–131  ·  view source on GitHub ↗

Create a text layout from the given font resource and typesetting configuration.

(&mut self, text: &str, font: &Resource, typesetting: TypesettingConfig)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

render_svgMethod · 0.80
render_to_velloMethod · 0.80
to_pathMethod · 0.80
bounding_boxMethod · 0.80

Calls 6

get_font_infoMethod · 0.80
push_defaultMethod · 0.80
weightMethod · 0.80
widthMethod · 0.45
buildMethod · 0.45
alignMethod · 0.45

Tested by

no test coverage detected