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

Method bounding_box

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

Calculate the bounding box of text using the specified font and typesetting configuration

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

mirrorFunction · 0.45
fillFunction · 0.45
pack_stripsFunction · 0.45
scatter_pointsFunction · 0.45
subpaths_bounding_boxFunction · 0.45
lines_clippingMethod · 0.45
bounding_boxFunction · 0.45

Calls 2

layout_textMethod · 0.80
heightMethod · 0.45

Tested by

no test coverage detected