| Safe Haskell | None |
|---|
Data.Geometry.Ipe.IpeView
- data Layer a = Layer {
- layerDef :: LayerDefinition
- layerContent :: IGC a
- data ViewInstance a = ViewInstance {
- viewDef :: ViewDefinition
- layers :: [Layer a]
- viewInstance :: [Layer a] -> ViewInstance a
- addLayer :: Layer a -> ViewInstance a -> ViewInstance a
- layer :: String -> IGC a -> Layer a
Documentation
Constructors
| Layer | |
Fields
| |
data ViewInstance a Source
Constructors
| ViewInstance | |
Fields
| |
Instances
| IsConvertableToIGC ViewInstance | |
| RunWith ViewInstance | |
| Eq a => Eq (ViewInstance a) | |
| Show a => Show (ViewInstance a) |
viewInstance :: [Layer a] -> ViewInstance aSource
Given a set of layers construct a view instance. The first layer is used as active layer.
addLayer :: Layer a -> ViewInstance a -> ViewInstance aSource