Bounding boxes and filters.

This commit is contained in:
David 2019-03-05 19:38:49 +01:00
commit e94e340d18

View file

@ -322,6 +322,8 @@ svgBoundingPoints t = map (Transform.transformPoint m) $
UseTree{} -> []
GroupTree g -> concatMap svgBoundingPoints (g^.groupChildren)
SymbolTree (Symbol g) -> concatMap svgBoundingPoints (g^.groupChildren)
FilterTree{} -> []
DefinitionTree{} -> []
PathTree p -> linePoints $ toLineCommands (p^.pathDefinition)
CircleTree{} -> error "CircleTree"
PolyLineTree{} -> error "PolyLineTree"