diagrams-lib-1.1.0.7: Embedded domain-specific language for declarative graphics

Maintainerdiagrams-discuss@googlegroups.com
Safe HaskellNone

Diagrams.Attributes.Compile

Description

XXX

Synopsis

Documentation

class (AttributeClass (AttrType code), Typeable (PrimType code)) => SplitAttribute code whereSource

Associated Types

type AttrType code :: *Source

type PrimType code :: *Source

Methods

primOK :: code -> PrimType code -> BoolSource

splitAttr :: forall code b v a. SplitAttribute code => code -> RTree b v a -> RTree b v aSource

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.