Trait usvg_text_layout::TreeTextToPath
source · pub trait TreeTextToPath {
fn convert_text(&mut self, fontdb: &Database, keep_named_groups: bool);
}
Expand description
A usvg::Tree
extension trait.
Required Methods§
sourcefn convert_text(&mut self, fontdb: &Database, keep_named_groups: bool)
fn convert_text(&mut self, fontdb: &Database, keep_named_groups: bool)
Converts text nodes into paths.
We have not pass Options::keep_named_groups
again,
since this method affects the tree structure.