forked from 1b-agent/opencadstudio-upstream
feat(explode): MTEXT explodes into single-line TEXT at its laid-out runs
EXPLODE left MTEXT untouched. Each laid-out run becomes a TEXT at its own baseline origin, height, rotation and width, keeping inline colours. Fixes #760 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d70cc46712
commit
746edaa32b
2 files changed
+37
No files matched your search
@@ -114,6 +114,7 @@ pub fn explode_entity(entity: &EntityType, document: &CadDocument) -> Vec<Entity
|
||||
}
|
||||
EntityType::MLine(ml) => explode_mline(ml),
|
||||
EntityType::Dimension(dim) => explode_dimension(dim, document),
|
||||
EntityType::MText(t) => crate::entities::mtext::explode_mtext(t, document),
|
||||
_ => vec![],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user