Copyright | (c) 2014 diagrams-lib team (see LICENSE) |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | diagrams-discuss@googlegroups.com |
Safe Haskell | None |
Language | Haskell2010 |
XXX
- class (AttributeClass (AttrType code), Typeable (PrimType code)) => SplitAttribute code where
- splitAttr :: forall code b v a. SplitAttribute code => code -> RTree b v a -> RTree b v a
Documentation
class (AttributeClass (AttrType code), Typeable (PrimType code)) => SplitAttribute code where Source
splitAttr :: forall code b v a. SplitAttribute code => code -> RTree b v a -> RTree b v a Source
Push certain attributes down until they are at the roots of trees
containing only "safe" nodes. In particular this is used to push
fill attributes down until they are over only loops; see
splitFills
.