Safe Haskell | None |
---|
Data.Geometry.Ipe.InternalTypes
- data IpeFile a = IpeFile {}
- data IpeStyle = IpeStyle (Maybe String) [XmlTree]
- data IpePreamble = IpePreamble (Maybe String) XmlTree
- type IpeBitmap = XmlTree
- data IpePage a = IpePage [LayerDefinition] [ViewDefinition] [IpeObject a]
- type LayerDefinition = String
- data ViewDefinition = ViewDefinition {
- layerNames :: [String]
- activeLayer :: String
- data IpeObject a
- type AMap = Map String String
- data Operation a
- class HasAttributes c where
Documentation
A complete ipe file
Constructors
IpeFile | |
Instances
Eq a => Eq (IpeFile a) | |
Show a => Show (IpeFile a) | |
Coordinate a => XmlPickler (IpeFile a) | |
IsConvertableToIGC (IpeFile a) |
the maybe string is the styles name
data IpePreamble Source
The maybe string is the encoding
Constructors
IpePreamble (Maybe String) XmlTree |
Instances
Represents the page tag
Constructors
IpePage [LayerDefinition] [ViewDefinition] [IpeObject a] |
Instances
Eq a => Eq (IpePage a) | |
Show a => Show (IpePage a) | |
Coordinate a => XmlPickler (IpePage a) | |
IsConvertableToIGC (IpePage a) |
type LayerDefinition = StringSource
data ViewDefinition Source
The definition of a view make active layer into an index ?
Constructors
ViewDefinition | |
Fields
|
An ipe-object. The main `thing'
that defines the drawings
Constructors
Path [Operation a] AMap | |
Group [IpeObject a] AMap | |
IpeText String AMap | |
Use (Point2' a) AMap |
Instances
IsPoint2Functor IpeObject | |
Eq a => Eq (IpeObject a) | |
Show a => Show (IpeObject a) | |
Coordinate a => XmlPickler (IpeObject a) | |
HasAttributes (IpeObject a) | |
IsConvertableToIGC (IpeObject a) |
type that represents a path in ipe.
class HasAttributes c whereSource
Stuff with attributes
Methods
updateWith :: (AMap -> AMap) -> c -> cSource
getAttr :: String -> c -> Maybe StringSource
setAttr :: String -> String -> c -> cSource
setAttrs :: [(String, String)] -> c -> cSource
hasAttrWithValue :: String -> String -> c -> BoolSource
hasAttr :: String -> c -> BoolSource
extractAttr :: String -> c -> cSource
Instances