mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
Bounding boxes and filters.
This commit is contained in:
parent
f4082fee48
commit
e94e340d18
1 changed files with 2 additions and 0 deletions
|
|
@ -322,6 +322,8 @@ svgBoundingPoints t = map (Transform.transformPoint m) $
|
||||||
UseTree{} -> []
|
UseTree{} -> []
|
||||||
GroupTree g -> concatMap svgBoundingPoints (g^.groupChildren)
|
GroupTree g -> concatMap svgBoundingPoints (g^.groupChildren)
|
||||||
SymbolTree (Symbol g) -> concatMap svgBoundingPoints (g^.groupChildren)
|
SymbolTree (Symbol g) -> concatMap svgBoundingPoints (g^.groupChildren)
|
||||||
|
FilterTree{} -> []
|
||||||
|
DefinitionTree{} -> []
|
||||||
PathTree p -> linePoints $ toLineCommands (p^.pathDefinition)
|
PathTree p -> linePoints $ toLineCommands (p^.pathDefinition)
|
||||||
CircleTree{} -> error "CircleTree"
|
CircleTree{} -> error "CircleTree"
|
||||||
PolyLineTree{} -> error "PolyLineTree"
|
PolyLineTree{} -> error "PolyLineTree"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue