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

Function shape_text_list

node-graph/nodes/text/src/to_path.rs:29–84  ·  view source on GitHub ↗

Shapes each string item of a styled `List ` into vector geometry, reading its font and typesetting from the item's attributes (as set by the 'Text' node) and re-applying its transform and blending attributes onto the produced paths. With `separate_glyphs`, each glyph becomes its own item.

(strings: &List<String>, separate_glyphs: bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

text_to_vectorFunction · 0.85
flatten_vectorFunction · 0.85

Calls 10

to_pathFunction · 0.85
elementMethod · 0.80
attribute_cloned_orMethod · 0.80
set_attributeMethod · 0.80
lenMethod · 0.45
is_emptyMethod · 0.45
cloneMethod · 0.45
into_iterMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected