| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | GHC2024 |
Ipe.Attributes
Description
Possible Attributes we can assign to items in an Ipe file
Synopsis
- data CommonAttributes r (f :: Type -> Type) = CommonAttributes {
- _layer :: f LayerName
- _matrix :: f (Matrix 3 3 r)
- _pin :: f PinType
- _transformations :: f TransformationTypes
- class HasCommonAttributes c r (f :: Type -> Type) | c -> r f where
- commonAttributes :: Lens' c (CommonAttributes r f)
- layer :: Lens' c (f LayerName)
- matrix :: Lens' c (f (Matrix 3 3 r))
- pin :: Lens' c (f PinType)
- transformations :: Lens' c (f TransformationTypes)
- data SymbolAttributesF r (f :: Type -> Type) = SymbolAttributes {
- _commonAttrs :: !(CommonAttributes r f)
- _stroke :: f (IpeColor r)
- _fill :: f (IpeColor r)
- _pen :: f (IpePen r)
- _symbolSize :: f (IpeSize r)
- type SymbolAttributes r = SymbolAttributesF r Maybe
- class HasStroke s a | s -> a where
- class HasFill s a | s -> a where
- class HasPen s a | s -> a where
- class HasSymbolSize s a | s -> a where
- symbolSize :: Lens' s a
- data PathAttributesF r (f :: Type -> Type) = PathAttributes {
- _commonAttrs :: !(CommonAttributes r f)
- _stroke :: f (IpeColor r)
- _fill :: f (IpeColor r)
- _pen :: f (IpePen r)
- _dash :: f (IpeDash r)
- _lineCap :: f Int
- _lineJoin :: f LineJoin
- _fillRule :: f FillType
- _arrow :: f (IpeArrow r)
- _rArrow :: f (IpeArrow r)
- _strokeOpacity :: f (IpeValue r)
- _opacity :: f (IpeValue r)
- _tiling :: f IpeTiling
- _gradient :: f IpeGradient
- type PathAttributes r = PathAttributesF r Maybe
- class HasDash s a | s -> a where
- class HasLineCap s a | s -> a where
- class HasLineJoin s a | s -> a where
- class HasFillRule s a | s -> a where
- class HasArrow s a | s -> a where
- class HasRArrow s a | s -> a where
- class HasStrokeOpacity s a | s -> a where
- strokeOpacity :: Lens' s a
- class HasOpacity s a | s -> a where
- class HasTiling s a | s -> a where
- class HasGradient s a | s -> a where
- data GroupAttributesF r (f :: Type -> Type) = GroupAttributes {
- _commonAttrs :: !(CommonAttributes r f)
- _clip :: f (Path r)
- type GroupAttributes r = GroupAttributesF r Maybe
- class HasClip s a | s -> a where
- data TextAttributesF r (f :: Type -> Type) = TextAttributes {
- _commonAttrs :: !(CommonAttributes r f)
- _stroke :: f (IpeColor r)
- _textSize :: f (IpeSize r)
- _opacity :: f (IpeValue r)
- _textWidth :: f (TextSizeUnit r)
- _textHeight :: f (TextSizeUnit r)
- _depth :: f (TextSizeUnit r)
- _hAlign :: f HorizontalAlignment
- _vAlign :: f VerticalAlignment
- _style :: f TeXStyle
- type TextAttributes r = TextAttributesF r Maybe
- class HasTextSize s a | s -> a where
- class HasTextWidth s a | s -> a where
- class HasTextHeight s a | s -> a where
- textHeight :: Lens' s a
- class HasDepth s a | s -> a where
- class HasHAlign s a | s -> a where
- class HasVAlign s a | s -> a where
- class HasStyle s a | s -> a where
- type ImageAttributes r = CommonAttributes r Maybe
- class AttributeNames (ats :: (k -> Type) -> Type) where
- attributeNames :: ats (Const Text :: k -> Type)
- mkAttrs :: Default at => [at -> at] -> at
- applyAttrs :: [at -> at] -> at -> at
- traverseCommon :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> CommonAttributes r f -> g (CommonAttributes s f)
- traverseText :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> TextAttributesF r f -> g (TextAttributesF s f)
- traversePath :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> PathAttributesF r f -> g (PathAttributesF s f)
- traverseSymbol :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> SymbolAttributesF r f -> g (SymbolAttributesF s f)
- traverseGroup :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> GroupAttributesF r f -> g (GroupAttributesF s f)
- _Bevel :: Prism' LineJoin ()
- _Miter :: Prism' LineJoin ()
- _Round :: Prism' LineJoin ()
- arrowName :: forall r f. Functor f => (Text -> f Text) -> IpeArrow r -> f (IpeArrow r)
- arrowSize :: forall r1 r2 f. Functor f => (IpeSize r1 -> f (IpeSize r2)) -> IpeArrow r1 -> f (IpeArrow r2)
- normalArrow :: IpeArrow r
- data FillType
- data HorizontalAlignment
- data IpeArrow r = IpeArrow {
- _arrowName :: Text
- _arrowSize :: IpeSize r
- data IpeDash r
- = DashNamed Text
- | DashPattern [r] r
- type IpeGradient = Text
- type IpeOpacity = Text
- newtype IpePen r = IpePen (IpeValue r)
- newtype IpeSize r = IpeSize (IpeValue r)
- type IpeTiling = Text
- data LineJoin
- data PinType
- = No
- | Yes
- | Horizontal
- | Vertical
- type TeXStyle = Text
- newtype TextSizeUnit r = TextSizeUnit r
- data TransformationTypes
- = Affine
- | Rigid
- | Translations
- data VerticalAlignment
Documentation
data CommonAttributes r (f :: Type -> Type) Source #
Constructors
| CommonAttributes | |
Fields
| |
Instances
class HasCommonAttributes c r (f :: Type -> Type) | c -> r f where Source #
Minimal complete definition
Methods
commonAttributes :: Lens' c (CommonAttributes r f) Source #
layer :: Lens' c (f LayerName) Source #
matrix :: Lens' c (f (Matrix 3 3 r)) Source #
pin :: Lens' c (f PinType) Source #
transformations :: Lens' c (f TransformationTypes) Source #
Instances
| HasCommonAttributes (IpeObject r) r Maybe Source # | Access the attributes |
Defined in Ipe.Content Methods commonAttributes :: Lens' (IpeObject r) (CommonAttributes r Maybe) Source # layer :: Lens' (IpeObject r) (Maybe LayerName) Source # matrix :: Lens' (IpeObject r) (Maybe (Matrix 3 3 r)) Source # pin :: Lens' (IpeObject r) (Maybe PinType) Source # transformations :: Lens' (IpeObject r) (Maybe TransformationTypes) Source # | |
| HasCommonAttributes (g :+ GroupAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ GroupAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ GroupAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ GroupAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ GroupAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ GroupAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (g :+ PathAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ PathAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ PathAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ PathAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ PathAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ PathAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (g :+ SymbolAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ SymbolAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ SymbolAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ SymbolAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ SymbolAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ SymbolAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (g :+ TextAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ TextAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ TextAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ TextAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ TextAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ TextAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (CommonAttributes r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (CommonAttributes r f) (CommonAttributes r f) Source # layer :: Lens' (CommonAttributes r f) (f LayerName) Source # matrix :: Lens' (CommonAttributes r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (CommonAttributes r f) (f PinType) Source # transformations :: Lens' (CommonAttributes r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (GroupAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (GroupAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (GroupAttributesF r f) (f LayerName) Source # matrix :: Lens' (GroupAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (GroupAttributesF r f) (f PinType) Source # transformations :: Lens' (GroupAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (PathAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (PathAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (PathAttributesF r f) (f LayerName) Source # matrix :: Lens' (PathAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (PathAttributesF r f) (f PinType) Source # transformations :: Lens' (PathAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (SymbolAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (SymbolAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (SymbolAttributesF r f) (f LayerName) Source # matrix :: Lens' (SymbolAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (SymbolAttributesF r f) (f PinType) Source # transformations :: Lens' (SymbolAttributesF r f) (f TransformationTypes) Source # | |
| HasCommonAttributes (TextAttributesF r f) r f Source # | |
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (TextAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (TextAttributesF r f) (f LayerName) Source # matrix :: Lens' (TextAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (TextAttributesF r f) (f PinType) Source # transformations :: Lens' (TextAttributesF r f) (f TransformationTypes) Source # | |
data SymbolAttributesF r (f :: Type -> Type) Source #
Constructors
| SymbolAttributes | |
Fields
| |
Instances
| ApplicativeB (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bpure :: (forall a. f a) -> SymbolAttributesF r f Source # bprod :: forall (f :: Type -> Type) (g :: Type -> Type). SymbolAttributesF r f -> SymbolAttributesF r g -> SymbolAttributesF r (Product f g) Source # | |||||
| ConstraintsB (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods baddDicts :: forall (c :: Type -> Constraint) (f :: Type -> Type). AllB c (SymbolAttributesF r) => SymbolAttributesF r f -> SymbolAttributesF r (Product (Dict c) f) Source # | |||||
| FunctorB (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bmap :: (forall a. f a -> g a) -> SymbolAttributesF r f -> SymbolAttributesF r g Source # | |||||
| TraversableB (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods btraverse :: Applicative e => (forall a. f a -> e (g a)) -> SymbolAttributesF r f -> e (SymbolAttributesF r g) Source # | |||||
| AttributeNames (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods attributeNames :: SymbolAttributesF r (Const Text :: Type -> Type) Source # | |||||
| (AllB IpeReadText (SymbolAttributesF r), AllB IpeReadText (CommonAttributes r)) => IpeReadAttributes (SymbolAttributes r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadAttrs :: [(Text, Text)] -> Either ConversionError (SymbolAttributes r) Source # | |||||
| (AllB IpeWriteText (CommonAttributes r), IpeWriteText r) => IpeWriteAttributes (SymbolAttributes r) Source # | |||||
Defined in Ipe.Writer Methods ipeWriteAttrs :: SymbolAttributes r -> [(Text, Text)] Source # | |||||
| (forall a. Default (f a)) => Default (SymbolAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods def :: SymbolAttributesF r f Source # | |||||
| Generic (SymbolAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Associated Types
Methods from :: SymbolAttributesF r f -> Rep (SymbolAttributesF r f) x Source # to :: Rep (SymbolAttributesF r f) x -> SymbolAttributesF r f Source # | |||||
| (Show1 f, Show r) => Show (SymbolAttributesF r f) Source # | |||||
Defined in Ipe.Attributes | |||||
| (Eq1 f, Eq r) => Eq (SymbolAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods (==) :: SymbolAttributesF r f -> SymbolAttributesF r f -> Bool Source # (/=) :: SymbolAttributesF r f -> SymbolAttributesF r f -> Bool Source # | |||||
| (HasDefaultIpeOut g, DefaultIpeOut g ~ IpeSymbol, NumType g ~ r) => HasDefaultIpeOut (g :+ SymbolAttributes r) Source # | |||||
Defined in Ipe.IpeOut Associated Types
Methods defIO :: IpeOut (g :+ SymbolAttributes r) (DefaultIpeOut (g :+ SymbolAttributes r)) (NumType (g :+ SymbolAttributes r)) Source # | |||||
| HasCommonAttributes (g :+ SymbolAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ SymbolAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ SymbolAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ SymbolAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ SymbolAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ SymbolAttributesF r f) (f TransformationTypes) Source # | |||||
| HasCommonAttributes (SymbolAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (SymbolAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (SymbolAttributesF r f) (f LayerName) Source # matrix :: Lens' (SymbolAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (SymbolAttributesF r f) (f PinType) Source # transformations :: Lens' (SymbolAttributesF r f) (f TransformationTypes) Source # | |||||
| HasFill (g :+ SymbolAttributes r) (Maybe (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasFill (SymbolAttributesF r f) (f (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (g :+ SymbolAttributes r) (Maybe (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (SymbolAttributesF r f) (f (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStroke (g :+ SymbolAttributes r) (Maybe (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStroke (SymbolAttributesF r f) (f (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasSymbolSize (g :+ SymbolAttributes r) (Maybe (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes Methods symbolSize :: Lens' (g :+ SymbolAttributes r) (Maybe (IpeSize r)) Source # | |||||
| HasSymbolSize (SymbolAttributesF r f) (f (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes Methods symbolSize :: Lens' (SymbolAttributesF r f) (f (IpeSize r)) Source # | |||||
| type AllB (c :: Type -> Constraint) (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes type AllB (c :: Type -> Constraint) (SymbolAttributesF r :: (Type -> Type) -> Type) = GAll 0 c (GAllRepB (SymbolAttributesF r)) | |||||
| type Rep (SymbolAttributesF r f) Source # | |||||
Defined in Ipe.Attributes type Rep (SymbolAttributesF r f) = D1 ('MetaData "SymbolAttributesF" "Ipe.Attributes" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "SymbolAttributes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_commonAttrs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CommonAttributes r f)) :*: S1 ('MetaSel ('Just "_stroke") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeColor r)))) :*: (S1 ('MetaSel ('Just "_fill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeColor r))) :*: (S1 ('MetaSel ('Just "_pen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpePen r))) :*: S1 ('MetaSel ('Just "_symbolSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeSize r))))))) | |||||
| type DefaultIpeOut (g :+ SymbolAttributes r) Source # | |||||
Defined in Ipe.IpeOut | |||||
type SymbolAttributes r = SymbolAttributesF r Maybe Source #
class HasStroke s a | s -> a where Source #
Instances
| HasStroke (g :+ PathAttributes r) (Maybe (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasStroke (g :+ SymbolAttributes r) (Maybe (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasStroke (g :+ TextAttributes r) (Maybe (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasStroke (PathAttributesF r f) (f (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasStroke (SymbolAttributesF r f) (f (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasStroke (TextAttributesF r f) (f (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
class HasFill s a | s -> a where Source #
Instances
| HasFill (g :+ PathAttributes r) (Maybe (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasFill (g :+ SymbolAttributes r) (Maybe (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasFill (PathAttributesF r f) (f (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
| HasFill (SymbolAttributesF r f) (f (IpeColor r)) Source # | |
Defined in Ipe.Attributes | |
class HasPen s a | s -> a where Source #
Instances
| HasPen (g :+ PathAttributes r) (Maybe (IpePen r)) Source # | |
Defined in Ipe.Attributes | |
| HasPen (g :+ SymbolAttributes r) (Maybe (IpePen r)) Source # | |
Defined in Ipe.Attributes | |
| HasPen (PathAttributesF r f) (f (IpePen r)) Source # | |
Defined in Ipe.Attributes | |
| HasPen (SymbolAttributesF r f) (f (IpePen r)) Source # | |
Defined in Ipe.Attributes | |
class HasSymbolSize s a | s -> a where Source #
Methods
symbolSize :: Lens' s a Source #
Instances
| HasSymbolSize (g :+ SymbolAttributes r) (Maybe (IpeSize r)) Source # | |
Defined in Ipe.Attributes Methods symbolSize :: Lens' (g :+ SymbolAttributes r) (Maybe (IpeSize r)) Source # | |
| HasSymbolSize (SymbolAttributesF r f) (f (IpeSize r)) Source # | |
Defined in Ipe.Attributes Methods symbolSize :: Lens' (SymbolAttributesF r f) (f (IpeSize r)) Source # | |
data PathAttributesF r (f :: Type -> Type) Source #
Path Attributes
Constructors
| PathAttributes | |
Fields
| |
Instances
| ApplicativeB (PathAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bpure :: (forall a. f a) -> PathAttributesF r f Source # bprod :: forall (f :: Type -> Type) (g :: Type -> Type). PathAttributesF r f -> PathAttributesF r g -> PathAttributesF r (Product f g) Source # | |||||
| ConstraintsB (PathAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods baddDicts :: forall (c :: Type -> Constraint) (f :: Type -> Type). AllB c (PathAttributesF r) => PathAttributesF r f -> PathAttributesF r (Product (Dict c) f) Source # | |||||
| FunctorB (PathAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bmap :: (forall a. f a -> g a) -> PathAttributesF r f -> PathAttributesF r g Source # | |||||
| TraversableB (PathAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods btraverse :: Applicative e => (forall a. f a -> e (g a)) -> PathAttributesF r f -> e (PathAttributesF r g) Source # | |||||
| AttributeNames (PathAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods attributeNames :: PathAttributesF r (Const Text :: Type -> Type) Source # | |||||
| (AllB IpeReadText (SymbolAttributesF r), AllB IpeReadText (CommonAttributes r), Coordinate r) => IpeReadAttributes (PathAttributes r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadAttrs :: [(Text, Text)] -> Either ConversionError (PathAttributes r) Source # | |||||
| (AllB IpeWriteText (CommonAttributes r), IpeWriteText r) => IpeWriteAttributes (PathAttributes r) Source # | |||||
Defined in Ipe.Writer Methods ipeWriteAttrs :: PathAttributes r -> [(Text, Text)] Source # | |||||
| (forall a. Default (f a)) => Default (PathAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods def :: PathAttributesF r f Source # | |||||
| Generic (PathAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Associated Types
Methods from :: PathAttributesF r f -> Rep (PathAttributesF r f) x Source # to :: Rep (PathAttributesF r f) x -> PathAttributesF r f Source # | |||||
| (Show1 f, Show r) => Show (PathAttributesF r f) Source # | |||||
Defined in Ipe.Attributes | |||||
| (Eq1 f, Eq r) => Eq (PathAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods (==) :: PathAttributesF r f -> PathAttributesF r f -> Bool Source # (/=) :: PathAttributesF r f -> PathAttributesF r f -> Bool Source # | |||||
| (HasDefaultIpeOut g, DefaultIpeOut g ~ Path, NumType g ~ r) => HasDefaultIpeOut (g :+ PathAttributes r) Source # | |||||
Defined in Ipe.IpeOut Associated Types
Methods defIO :: IpeOut (g :+ PathAttributes r) (DefaultIpeOut (g :+ PathAttributes r)) (NumType (g :+ PathAttributes r)) Source # | |||||
| HasCommonAttributes (g :+ PathAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ PathAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ PathAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ PathAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ PathAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ PathAttributesF r f) (f TransformationTypes) Source # | |||||
| HasCommonAttributes (PathAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (PathAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (PathAttributesF r f) (f LayerName) Source # matrix :: Lens' (PathAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (PathAttributesF r f) (f PinType) Source # transformations :: Lens' (PathAttributesF r f) (f TransformationTypes) Source # | |||||
| HasArrow (g :+ PathAttributes r) (Maybe (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasArrow (PathAttributesF r f) (f (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasDash (g :+ PathAttributes r) (Maybe (IpeDash r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasDash (PathAttributesF r f) (f (IpeDash r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasFill (g :+ PathAttributes r) (Maybe (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasFill (PathAttributesF r f) (f (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasFillRule (g :+ PathAttributes r) (Maybe FillType) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasFillRule (PathAttributesF r f) (f FillType) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasGradient (g :+ PathAttributes r) (Maybe IpeGradient) Source # | |||||
Defined in Ipe.Attributes Methods gradient :: Lens' (g :+ PathAttributes r) (Maybe IpeGradient) Source # | |||||
| HasGradient (PathAttributesF r f) (f IpeGradient) Source # | |||||
Defined in Ipe.Attributes Methods gradient :: Lens' (PathAttributesF r f) (f IpeGradient) Source # | |||||
| HasLineCap (g :+ PathAttributes r) (Maybe Int) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasLineCap (PathAttributesF r f) (f Int) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasLineJoin (g :+ PathAttributes r) (Maybe LineJoin) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasLineJoin (PathAttributesF r f) (f LineJoin) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasOpacity (g :+ PathAttributes r) (Maybe (IpeValue r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasOpacity (PathAttributesF r f) (f (IpeValue r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (g :+ PathAttributes r) (Maybe (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (PathAttributesF r f) (f (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasRArrow (g :+ PathAttributes r) (Maybe (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasRArrow (PathAttributesF r f) (f (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStroke (g :+ PathAttributes r) (Maybe (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStroke (PathAttributesF r f) (f (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStrokeOpacity (g :+ PathAttributes r) (Maybe (IpeValue r)) Source # | |||||
Defined in Ipe.Attributes Methods strokeOpacity :: Lens' (g :+ PathAttributes r) (Maybe (IpeValue r)) Source # | |||||
| HasStrokeOpacity (PathAttributesF r f) (f (IpeValue r)) Source # | |||||
Defined in Ipe.Attributes Methods strokeOpacity :: Lens' (PathAttributesF r f) (f (IpeValue r)) Source # | |||||
| HasTiling (g :+ PathAttributes r) (Maybe IpeTiling) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasTiling (PathAttributesF r f) (f IpeTiling) Source # | |||||
Defined in Ipe.Attributes | |||||
| type AllB (c :: Type -> Constraint) (PathAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes type AllB (c :: Type -> Constraint) (PathAttributesF r :: (Type -> Type) -> Type) = GAll 0 c (GAllRepB (PathAttributesF r)) | |||||
| type Rep (PathAttributesF r f) Source # | |||||
Defined in Ipe.Attributes type Rep (PathAttributesF r f) = D1 ('MetaData "PathAttributesF" "Ipe.Attributes" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "PathAttributes" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_commonAttrs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CommonAttributes r f)) :*: (S1 ('MetaSel ('Just "_stroke") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeColor r))) :*: S1 ('MetaSel ('Just "_fill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeColor r))))) :*: ((S1 ('MetaSel ('Just "_pen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpePen r))) :*: S1 ('MetaSel ('Just "_dash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeDash r)))) :*: (S1 ('MetaSel ('Just "_lineCap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f Int)) :*: S1 ('MetaSel ('Just "_lineJoin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f LineJoin))))) :*: ((S1 ('MetaSel ('Just "_fillRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f FillType)) :*: (S1 ('MetaSel ('Just "_arrow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeArrow r))) :*: S1 ('MetaSel ('Just "_rArrow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeArrow r))))) :*: ((S1 ('MetaSel ('Just "_strokeOpacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeValue r))) :*: S1 ('MetaSel ('Just "_opacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeValue r)))) :*: (S1 ('MetaSel ('Just "_tiling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f IpeTiling)) :*: S1 ('MetaSel ('Just "_gradient") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f IpeGradient))))))) | |||||
| type DefaultIpeOut (g :+ PathAttributes r) Source # | |||||
Defined in Ipe.IpeOut | |||||
type PathAttributes r = PathAttributesF r Maybe Source #
class HasDash s a | s -> a where Source #
Instances
| HasDash (g :+ PathAttributes r) (Maybe (IpeDash r)) Source # | |
Defined in Ipe.Attributes | |
| HasDash (PathAttributesF r f) (f (IpeDash r)) Source # | |
Defined in Ipe.Attributes | |
class HasLineCap s a | s -> a where Source #
Instances
| HasLineCap (g :+ PathAttributes r) (Maybe Int) Source # | |
Defined in Ipe.Attributes | |
| HasLineCap (PathAttributesF r f) (f Int) Source # | |
Defined in Ipe.Attributes | |
class HasLineJoin s a | s -> a where Source #
Instances
| HasLineJoin (g :+ PathAttributes r) (Maybe LineJoin) Source # | |
Defined in Ipe.Attributes | |
| HasLineJoin (PathAttributesF r f) (f LineJoin) Source # | |
Defined in Ipe.Attributes | |
class HasFillRule s a | s -> a where Source #
Instances
| HasFillRule (g :+ PathAttributes r) (Maybe FillType) Source # | |
Defined in Ipe.Attributes | |
| HasFillRule (PathAttributesF r f) (f FillType) Source # | |
Defined in Ipe.Attributes | |
class HasArrow s a | s -> a where Source #
Instances
| HasArrow (g :+ PathAttributes r) (Maybe (IpeArrow r)) Source # | |
Defined in Ipe.Attributes | |
| HasArrow (PathAttributesF r f) (f (IpeArrow r)) Source # | |
Defined in Ipe.Attributes | |
class HasRArrow s a | s -> a where Source #
Instances
| HasRArrow (g :+ PathAttributes r) (Maybe (IpeArrow r)) Source # | |
Defined in Ipe.Attributes | |
| HasRArrow (PathAttributesF r f) (f (IpeArrow r)) Source # | |
Defined in Ipe.Attributes | |
class HasStrokeOpacity s a | s -> a where Source #
Methods
strokeOpacity :: Lens' s a Source #
Instances
| HasStrokeOpacity (g :+ PathAttributes r) (Maybe (IpeValue r)) Source # | |
Defined in Ipe.Attributes Methods strokeOpacity :: Lens' (g :+ PathAttributes r) (Maybe (IpeValue r)) Source # | |
| HasStrokeOpacity (PathAttributesF r f) (f (IpeValue r)) Source # | |
Defined in Ipe.Attributes Methods strokeOpacity :: Lens' (PathAttributesF r f) (f (IpeValue r)) Source # | |
class HasOpacity s a | s -> a where Source #
Instances
| HasOpacity (g :+ PathAttributes r) (Maybe (IpeValue r)) Source # | |
Defined in Ipe.Attributes | |
| HasOpacity (g :+ TextAttributes r) (Maybe (IpeValue r)) Source # | |
Defined in Ipe.Attributes | |
| HasOpacity (PathAttributesF r f) (f (IpeValue r)) Source # | |
Defined in Ipe.Attributes | |
| HasOpacity (TextAttributesF r f) (f (IpeValue r)) Source # | |
Defined in Ipe.Attributes | |
class HasTiling s a | s -> a where Source #
Instances
| HasTiling (g :+ PathAttributes r) (Maybe IpeTiling) Source # | |
Defined in Ipe.Attributes | |
| HasTiling (PathAttributesF r f) (f IpeTiling) Source # | |
Defined in Ipe.Attributes | |
class HasGradient s a | s -> a where Source #
Instances
| HasGradient (g :+ PathAttributes r) (Maybe IpeGradient) Source # | |
Defined in Ipe.Attributes Methods gradient :: Lens' (g :+ PathAttributes r) (Maybe IpeGradient) Source # | |
| HasGradient (PathAttributesF r f) (f IpeGradient) Source # | |
Defined in Ipe.Attributes Methods gradient :: Lens' (PathAttributesF r f) (f IpeGradient) Source # | |
data GroupAttributesF r (f :: Type -> Type) Source #
Constructors
| GroupAttributes | |
Fields
| |
Instances
| ApplicativeB (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bpure :: (forall a. f a) -> GroupAttributesF r f Source # bprod :: forall (f :: Type -> Type) (g :: Type -> Type). GroupAttributesF r f -> GroupAttributesF r g -> GroupAttributesF r (Product f g) Source # | |||||
| ConstraintsB (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods baddDicts :: forall (c :: Type -> Constraint) (f :: Type -> Type). AllB c (GroupAttributesF r) => GroupAttributesF r f -> GroupAttributesF r (Product (Dict c) f) Source # | |||||
| FunctorB (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bmap :: (forall a. f a -> g a) -> GroupAttributesF r f -> GroupAttributesF r g Source # | |||||
| TraversableB (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods btraverse :: Applicative e => (forall a. f a -> e (g a)) -> GroupAttributesF r f -> e (GroupAttributesF r g) Source # | |||||
| AttributeNames (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods attributeNames :: GroupAttributesF r (Const Text :: Type -> Type) Source # | |||||
| (AllB IpeReadText (SymbolAttributesF r), AllB IpeReadText (CommonAttributes r), Eq r, Coordinate r) => IpeReadAttributes (GroupAttributes r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadAttrs :: [(Text, Text)] -> Either ConversionError (GroupAttributes r) Source # | |||||
| (AllB IpeWriteText (CommonAttributes r), IpeWriteText r) => IpeWriteAttributes (GroupAttributes r) Source # | |||||
Defined in Ipe.Writer Methods ipeWriteAttrs :: GroupAttributes r -> [(Text, Text)] Source # | |||||
| (forall a. Default (f a)) => Default (GroupAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods def :: GroupAttributesF r f Source # | |||||
| Generic (GroupAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Associated Types
Methods from :: GroupAttributesF r f -> Rep (GroupAttributesF r f) x Source # to :: Rep (GroupAttributesF r f) x -> GroupAttributesF r f Source # | |||||
| (Show1 f, Show r) => Show (GroupAttributesF r f) Source # | |||||
Defined in Ipe.Attributes | |||||
| (Eq1 f, Eq r) => Eq (GroupAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods (==) :: GroupAttributesF r f -> GroupAttributesF r f -> Bool Source # (/=) :: GroupAttributesF r f -> GroupAttributesF r f -> Bool Source # | |||||
| (HasDefaultIpeOut g, DefaultIpeOut g ~ Group, NumType g ~ r) => HasDefaultIpeOut (g :+ GroupAttributes r) Source # | |||||
Defined in Ipe.IpeOut Associated Types
Methods defIO :: IpeOut (g :+ GroupAttributes r) (DefaultIpeOut (g :+ GroupAttributes r)) (NumType (g :+ GroupAttributes r)) Source # | |||||
| HasCommonAttributes (g :+ GroupAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ GroupAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ GroupAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ GroupAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ GroupAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ GroupAttributesF r f) (f TransformationTypes) Source # | |||||
| HasCommonAttributes (GroupAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (GroupAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (GroupAttributesF r f) (f LayerName) Source # matrix :: Lens' (GroupAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (GroupAttributesF r f) (f PinType) Source # transformations :: Lens' (GroupAttributesF r f) (f TransformationTypes) Source # | |||||
| HasClip (g :+ GroupAttributes r) (Maybe (Path r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasClip (GroupAttributesF r f) (f (Path r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| type AllB (c :: Type -> Constraint) (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes type AllB (c :: Type -> Constraint) (GroupAttributesF r :: (Type -> Type) -> Type) = GAll 0 c (GAllRepB (GroupAttributesF r)) | |||||
| type Rep (GroupAttributesF r f) Source # | |||||
Defined in Ipe.Attributes type Rep (GroupAttributesF r f) = D1 ('MetaData "GroupAttributesF" "Ipe.Attributes" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "GroupAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "_commonAttrs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CommonAttributes r f)) :*: S1 ('MetaSel ('Just "_clip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (Path r))))) | |||||
| type DefaultIpeOut (g :+ GroupAttributes r) Source # | |||||
Defined in Ipe.IpeOut | |||||
type GroupAttributes r = GroupAttributesF r Maybe Source #
class HasClip s a | s -> a where Source #
Instances
| HasClip (g :+ GroupAttributes r) (Maybe (Path r)) Source # | |
Defined in Ipe.Attributes | |
| HasClip (GroupAttributesF r f) (f (Path r)) Source # | |
Defined in Ipe.Attributes | |
data TextAttributesF r (f :: Type -> Type) Source #
Constructors
| TextAttributes | |
Fields
| |
Instances
| ApplicativeB (TextAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bpure :: (forall a. f a) -> TextAttributesF r f Source # bprod :: forall (f :: Type -> Type) (g :: Type -> Type). TextAttributesF r f -> TextAttributesF r g -> TextAttributesF r (Product f g) Source # | |||||
| ConstraintsB (TextAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods baddDicts :: forall (c :: Type -> Constraint) (f :: Type -> Type). AllB c (TextAttributesF r) => TextAttributesF r f -> TextAttributesF r (Product (Dict c) f) Source # | |||||
| FunctorB (TextAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods bmap :: (forall a. f a -> g a) -> TextAttributesF r f -> TextAttributesF r g Source # | |||||
| TraversableB (TextAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods btraverse :: Applicative e => (forall a. f a -> e (g a)) -> TextAttributesF r f -> e (TextAttributesF r g) Source # | |||||
| AttributeNames (TextAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes Methods attributeNames :: TextAttributesF r (Const Text :: Type -> Type) Source # | |||||
| (AllB IpeReadText (SymbolAttributesF r), AllB IpeReadText (CommonAttributes r), Coordinate r) => IpeReadAttributes (TextAttributes r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadAttrs :: [(Text, Text)] -> Either ConversionError (TextAttributes r) Source # | |||||
| (AllB IpeWriteText (CommonAttributes r), IpeWriteText r) => IpeWriteAttributes (TextAttributes r) Source # | |||||
Defined in Ipe.Writer Methods ipeWriteAttrs :: TextAttributes r -> [(Text, Text)] Source # | |||||
| (forall a. Default (f a)) => Default (TextAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods def :: TextAttributesF r f Source # | |||||
| Generic (TextAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Associated Types
Methods from :: TextAttributesF r f -> Rep (TextAttributesF r f) x Source # to :: Rep (TextAttributesF r f) x -> TextAttributesF r f Source # | |||||
| (Show1 f, Show r) => Show (TextAttributesF r f) Source # | |||||
Defined in Ipe.Attributes | |||||
| (Eq1 f, Eq r) => Eq (TextAttributesF r f) Source # | |||||
Defined in Ipe.Attributes Methods (==) :: TextAttributesF r f -> TextAttributesF r f -> Bool Source # (/=) :: TextAttributesF r f -> TextAttributesF r f -> Bool Source # | |||||
| HasCommonAttributes (g :+ TextAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (g :+ TextAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (g :+ TextAttributesF r f) (f LayerName) Source # matrix :: Lens' (g :+ TextAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (g :+ TextAttributesF r f) (f PinType) Source # transformations :: Lens' (g :+ TextAttributesF r f) (f TransformationTypes) Source # | |||||
| HasCommonAttributes (TextAttributesF r f) r f Source # | |||||
Defined in Ipe.Attributes Methods commonAttributes :: Lens' (TextAttributesF r f) (CommonAttributes r f) Source # layer :: Lens' (TextAttributesF r f) (f LayerName) Source # matrix :: Lens' (TextAttributesF r f) (f (Matrix 3 3 r)) Source # pin :: Lens' (TextAttributesF r f) (f PinType) Source # transformations :: Lens' (TextAttributesF r f) (f TransformationTypes) Source # | |||||
| HasDepth (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods depth :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
| HasDepth (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods depth :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
| HasHAlign (g :+ TextAttributes r) (Maybe HorizontalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods hAlign :: Lens' (g :+ TextAttributes r) (Maybe HorizontalAlignment) Source # | |||||
| HasHAlign (TextAttributesF r f) (f HorizontalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods hAlign :: Lens' (TextAttributesF r f) (f HorizontalAlignment) Source # | |||||
| HasOpacity (g :+ TextAttributes r) (Maybe (IpeValue r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasOpacity (TextAttributesF r f) (f (IpeValue r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStroke (g :+ TextAttributes r) (Maybe (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStroke (TextAttributesF r f) (f (IpeColor r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStyle (g :+ TextAttributes r) (Maybe TeXStyle) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasStyle (TextAttributesF r f) (f TeXStyle) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasTextHeight (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textHeight :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
| HasTextHeight (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textHeight :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
| HasTextSize (g :+ TextAttributes r) (Maybe (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasTextSize (TextAttributesF r f) (f (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasTextWidth (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textWidth :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
| HasTextWidth (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textWidth :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
| HasVAlign (g :+ TextAttributes r) (Maybe VerticalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods vAlign :: Lens' (g :+ TextAttributes r) (Maybe VerticalAlignment) Source # | |||||
| HasVAlign (TextAttributesF r f) (f VerticalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods vAlign :: Lens' (TextAttributesF r f) (f VerticalAlignment) Source # | |||||
| type AllB (c :: Type -> Constraint) (TextAttributesF r :: (Type -> Type) -> Type) Source # | |||||
Defined in Ipe.Attributes type AllB (c :: Type -> Constraint) (TextAttributesF r :: (Type -> Type) -> Type) = GAll 0 c (GAllRepB (TextAttributesF r)) | |||||
| type Rep (TextAttributesF r f) Source # | |||||
Defined in Ipe.Attributes type Rep (TextAttributesF r f) = D1 ('MetaData "TextAttributesF" "Ipe.Attributes" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "TextAttributes" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_commonAttrs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (CommonAttributes r f)) :*: S1 ('MetaSel ('Just "_stroke") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeColor r)))) :*: (S1 ('MetaSel ('Just "_textSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeSize r))) :*: (S1 ('MetaSel ('Just "_opacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (IpeValue r))) :*: S1 ('MetaSel ('Just "_textWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TextSizeUnit r)))))) :*: ((S1 ('MetaSel ('Just "_textHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TextSizeUnit r))) :*: S1 ('MetaSel ('Just "_depth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f (TextSizeUnit r)))) :*: (S1 ('MetaSel ('Just "_hAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f HorizontalAlignment)) :*: (S1 ('MetaSel ('Just "_vAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f VerticalAlignment)) :*: S1 ('MetaSel ('Just "_style") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f TeXStyle))))))) | |||||
type TextAttributes r = TextAttributesF r Maybe Source #
class HasTextSize s a | s -> a where Source #
Instances
| HasTextSize (g :+ TextAttributes r) (Maybe (IpeSize r)) Source # | |
Defined in Ipe.Attributes | |
| HasTextSize (TextAttributesF r f) (f (IpeSize r)) Source # | |
Defined in Ipe.Attributes | |
class HasTextWidth s a | s -> a where Source #
Instances
| HasTextWidth (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |
Defined in Ipe.Attributes Methods textWidth :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |
| HasTextWidth (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |
Defined in Ipe.Attributes Methods textWidth :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |
class HasTextHeight s a | s -> a where Source #
Methods
textHeight :: Lens' s a Source #
Instances
| HasTextHeight (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |
Defined in Ipe.Attributes Methods textHeight :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |
| HasTextHeight (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |
Defined in Ipe.Attributes Methods textHeight :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |
class HasDepth s a | s -> a where Source #
Instances
| HasDepth (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |
Defined in Ipe.Attributes Methods depth :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |
| HasDepth (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |
Defined in Ipe.Attributes Methods depth :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |
class HasHAlign s a | s -> a where Source #
Instances
| HasHAlign (g :+ TextAttributes r) (Maybe HorizontalAlignment) Source # | |
Defined in Ipe.Attributes Methods hAlign :: Lens' (g :+ TextAttributes r) (Maybe HorizontalAlignment) Source # | |
| HasHAlign (TextAttributesF r f) (f HorizontalAlignment) Source # | |
Defined in Ipe.Attributes Methods hAlign :: Lens' (TextAttributesF r f) (f HorizontalAlignment) Source # | |
class HasVAlign s a | s -> a where Source #
Instances
| HasVAlign (g :+ TextAttributes r) (Maybe VerticalAlignment) Source # | |
Defined in Ipe.Attributes Methods vAlign :: Lens' (g :+ TextAttributes r) (Maybe VerticalAlignment) Source # | |
| HasVAlign (TextAttributesF r f) (f VerticalAlignment) Source # | |
Defined in Ipe.Attributes Methods vAlign :: Lens' (TextAttributesF r f) (f VerticalAlignment) Source # | |
class HasStyle s a | s -> a where Source #
Instances
| HasStyle (g :+ TextAttributes r) (Maybe TeXStyle) Source # | |
Defined in Ipe.Attributes | |
| HasStyle (TextAttributesF r f) (f TeXStyle) Source # | |
Defined in Ipe.Attributes | |
type ImageAttributes r = CommonAttributes r Maybe Source #
class AttributeNames (ats :: (k -> Type) -> Type) where Source #
Instances
| AttributeNames (CommonAttributes r :: (Type -> Type) -> Type) Source # | |
Defined in Ipe.Attributes Methods attributeNames :: CommonAttributes r (Const Text :: Type -> Type) Source # | |
| AttributeNames (GroupAttributesF r :: (Type -> Type) -> Type) Source # | |
Defined in Ipe.Attributes Methods attributeNames :: GroupAttributesF r (Const Text :: Type -> Type) Source # | |
| AttributeNames (PathAttributesF r :: (Type -> Type) -> Type) Source # | |
Defined in Ipe.Attributes Methods attributeNames :: PathAttributesF r (Const Text :: Type -> Type) Source # | |
| AttributeNames (SymbolAttributesF r :: (Type -> Type) -> Type) Source # | |
Defined in Ipe.Attributes Methods attributeNames :: SymbolAttributesF r (Const Text :: Type -> Type) Source # | |
| AttributeNames (TextAttributesF r :: (Type -> Type) -> Type) Source # | |
Defined in Ipe.Attributes Methods attributeNames :: TextAttributesF r (Const Text :: Type -> Type) Source # | |
applyAttrs :: [at -> at] -> at -> at Source #
Apply a the attributes
traverseCommon :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> CommonAttributes r f -> g (CommonAttributes s f) Source #
Traverse for common attributes
traverseText :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> TextAttributesF r f -> g (TextAttributesF s f) Source #
traversePath :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> PathAttributesF r f -> g (PathAttributesF s f) Source #
traverseSymbol :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> SymbolAttributesF r f -> g (SymbolAttributesF s f) Source #
traverseGroup :: forall g (f :: Type -> Type) r s. (Applicative g, Traversable f) => (r -> g s) -> GroupAttributesF r f -> g (GroupAttributesF s f) Source #
arrowSize :: forall r1 r2 f. Functor f => (IpeSize r1 -> f (IpeSize r2)) -> IpeArrow r1 -> f (IpeArrow r2) Source #
normalArrow :: IpeArrow r Source #
A normal arrow
Allowed Fill types
Instances
| Finitary FillType Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Generic FillType Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Read FillType Source # | |||||
| Show FillType Source # | |||||
| Eq FillType Source # | |||||
| IpeReadText FillType Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError FillType Source # | |||||
| IpeWriteText FillType Source # | |||||
Defined in Ipe.Writer | |||||
| HasFillRule (g :+ PathAttributes r) (Maybe FillType) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasFillRule (PathAttributesF r f) (f FillType) Source # | |||||
Defined in Ipe.Attributes | |||||
| type Cardinality FillType Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| type Rep FillType Source # | |||||
data HorizontalAlignment Source #
Constructors
| AlignLeft | |
| AlignHCenter | |
| AlignRight |
Instances
| Finitary HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods fromFinite :: Finite (Cardinality HorizontalAlignment) -> HorizontalAlignment Source # toFinite :: HorizontalAlignment -> Finite (Cardinality HorizontalAlignment) Source # start :: HorizontalAlignment Source # end :: HorizontalAlignment Source # previous :: HorizontalAlignment -> Maybe HorizontalAlignment Source # next :: HorizontalAlignment -> Maybe HorizontalAlignment Source # | |||||
| Generic HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods from :: HorizontalAlignment -> Rep HorizontalAlignment x Source # to :: Rep HorizontalAlignment x -> HorizontalAlignment Source # | |||||
| Read HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Show HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Eq HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Methods (==) :: HorizontalAlignment -> HorizontalAlignment -> Bool Source # (/=) :: HorizontalAlignment -> HorizontalAlignment -> Bool Source # | |||||
| Ord HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Methods compare :: HorizontalAlignment -> HorizontalAlignment -> Ordering Source # (<) :: HorizontalAlignment -> HorizontalAlignment -> Bool Source # (<=) :: HorizontalAlignment -> HorizontalAlignment -> Bool Source # (>) :: HorizontalAlignment -> HorizontalAlignment -> Bool Source # (>=) :: HorizontalAlignment -> HorizontalAlignment -> Bool Source # max :: HorizontalAlignment -> HorizontalAlignment -> HorizontalAlignment Source # min :: HorizontalAlignment -> HorizontalAlignment -> HorizontalAlignment Source # | |||||
| IpeReadText HorizontalAlignment Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError HorizontalAlignment Source # | |||||
| IpeWriteText HorizontalAlignment Source # | |||||
Defined in Ipe.Writer Methods | |||||
| HasHAlign (g :+ TextAttributes r) (Maybe HorizontalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods hAlign :: Lens' (g :+ TextAttributes r) (Maybe HorizontalAlignment) Source # | |||||
| HasHAlign (TextAttributesF r f) (f HorizontalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods hAlign :: Lens' (TextAttributesF r f) (f HorizontalAlignment) Source # | |||||
| type Cardinality HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| type Rep HorizontalAlignment Source # | |||||
Defined in Ipe.Attributes.Types type Rep HorizontalAlignment = D1 ('MetaData "HorizontalAlignment" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlignHCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Possible values for an ipe arrow
Constructors
| IpeArrow | |
Fields
| |
Instances
| Functor IpeArrow Source # | |||||
| Foldable IpeArrow Source # | |||||
Defined in Ipe.Attributes.Types Methods fold :: Monoid m => IpeArrow m -> m Source # foldMap :: Monoid m => (a -> m) -> IpeArrow a -> m Source # foldMap' :: Monoid m => (a -> m) -> IpeArrow a -> m Source # foldr :: (a -> b -> b) -> b -> IpeArrow a -> b Source # foldr' :: (a -> b -> b) -> b -> IpeArrow a -> b Source # foldl :: (b -> a -> b) -> b -> IpeArrow a -> b Source # foldl' :: (b -> a -> b) -> b -> IpeArrow a -> b Source # foldr1 :: (a -> a -> a) -> IpeArrow a -> a Source # foldl1 :: (a -> a -> a) -> IpeArrow a -> a Source # toList :: IpeArrow a -> [a] Source # null :: IpeArrow a -> Bool Source # length :: IpeArrow a -> Int Source # elem :: Eq a => a -> IpeArrow a -> Bool Source # maximum :: Ord a => IpeArrow a -> a Source # minimum :: Ord a => IpeArrow a -> a Source # | |||||
| Traversable IpeArrow Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Generic (IpeArrow r) Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Show r => Show (IpeArrow r) Source # | |||||
| Eq r => Eq (IpeArrow r) Source # | |||||
| Coordinate r => IpeReadText (IpeArrow r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError (IpeArrow r) Source # | |||||
| IpeWriteText r => IpeWriteText (IpeArrow r) Source # | |||||
Defined in Ipe.Writer | |||||
| HasArrow (g :+ PathAttributes r) (Maybe (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasArrow (PathAttributesF r f) (f (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasRArrow (g :+ PathAttributes r) (Maybe (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasRArrow (PathAttributesF r f) (f (IpeArrow r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| type Rep (IpeArrow r) Source # | |||||
Defined in Ipe.Attributes.Types type Rep (IpeArrow r) = D1 ('MetaData "IpeArrow" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "IpeArrow" 'PrefixI 'True) (S1 ('MetaSel ('Just "_arrowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_arrowSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IpeSize r)))) | |||||
Possible values for Dash
Constructors
| DashNamed Text | |
| DashPattern [r] r |
Instances
| Functor IpeDash Source # | |||||
| Foldable IpeDash Source # | |||||
Defined in Ipe.Attributes.Types Methods fold :: Monoid m => IpeDash m -> m Source # foldMap :: Monoid m => (a -> m) -> IpeDash a -> m Source # foldMap' :: Monoid m => (a -> m) -> IpeDash a -> m Source # foldr :: (a -> b -> b) -> b -> IpeDash a -> b Source # foldr' :: (a -> b -> b) -> b -> IpeDash a -> b Source # foldl :: (b -> a -> b) -> b -> IpeDash a -> b Source # foldl' :: (b -> a -> b) -> b -> IpeDash a -> b Source # foldr1 :: (a -> a -> a) -> IpeDash a -> a Source # foldl1 :: (a -> a -> a) -> IpeDash a -> a Source # toList :: IpeDash a -> [a] Source # null :: IpeDash a -> Bool Source # length :: IpeDash a -> Int Source # elem :: Eq a => a -> IpeDash a -> Bool Source # maximum :: Ord a => IpeDash a -> a Source # minimum :: Ord a => IpeDash a -> a Source # | |||||
| Traversable IpeDash Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Generic (IpeDash r) Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Show r => Show (IpeDash r) Source # | |||||
| Eq r => Eq (IpeDash r) Source # | |||||
| Coordinate r => IpeReadText (IpeDash r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError (IpeDash r) Source # | |||||
| IpeWriteText r => IpeWriteText (IpeDash r) Source # | |||||
Defined in Ipe.Writer | |||||
| HasDash (g :+ PathAttributes r) (Maybe (IpeDash r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasDash (PathAttributesF r f) (f (IpeDash r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| type Rep (IpeDash r) Source # | |||||
Defined in Ipe.Attributes.Types type Rep (IpeDash r) = D1 ('MetaData "IpeDash" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "DashNamed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "DashPattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [r]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 r))) | |||||
type IpeGradient = Text Source #
type IpeOpacity = Text Source #
IpeOpacity, IpeTyling, and IpeGradient are all symbolic values
Pen/Thickness
Instances
| Functor IpePen Source # | |||||
| Foldable IpePen Source # | |||||
Defined in Ipe.Attributes.Types Methods fold :: Monoid m => IpePen m -> m Source # foldMap :: Monoid m => (a -> m) -> IpePen a -> m Source # foldMap' :: Monoid m => (a -> m) -> IpePen a -> m Source # foldr :: (a -> b -> b) -> b -> IpePen a -> b Source # foldr' :: (a -> b -> b) -> b -> IpePen a -> b Source # foldl :: (b -> a -> b) -> b -> IpePen a -> b Source # foldl' :: (b -> a -> b) -> b -> IpePen a -> b Source # foldr1 :: (a -> a -> a) -> IpePen a -> a Source # foldl1 :: (a -> a -> a) -> IpePen a -> a Source # toList :: IpePen a -> [a] Source # null :: IpePen a -> Bool Source # length :: IpePen a -> Int Source # elem :: Eq a => a -> IpePen a -> Bool Source # maximum :: Ord a => IpePen a -> a Source # minimum :: Ord a => IpePen a -> a Source # | |||||
| Traversable IpePen Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Generic (IpePen r) Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Show r => Show (IpePen r) Source # | |||||
| Eq r => Eq (IpePen r) Source # | |||||
| Ord r => Ord (IpePen r) Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Coordinate r => IpeReadText (IpePen r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError (IpePen r) Source # | |||||
| IpeWriteText r => IpeWriteText (IpePen r) Source # | |||||
Defined in Ipe.Writer | |||||
| HasPen (g :+ PathAttributes r) (Maybe (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (g :+ SymbolAttributes r) (Maybe (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (PathAttributesF r f) (f (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasPen (SymbolAttributesF r f) (f (IpePen r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| type Rep (IpePen r) Source # | |||||
Defined in Ipe.Attributes.Types | |||||
The optional Attributes for a symbol data SymbolAttributeUniverse = SymbolStroke | SymbolFill | SymbolPen | Size deriving (Show,Eq)
Size
Instances
| Functor IpeSize Source # | |||||
| Foldable IpeSize Source # | |||||
Defined in Ipe.Attributes.Types Methods fold :: Monoid m => IpeSize m -> m Source # foldMap :: Monoid m => (a -> m) -> IpeSize a -> m Source # foldMap' :: Monoid m => (a -> m) -> IpeSize a -> m Source # foldr :: (a -> b -> b) -> b -> IpeSize a -> b Source # foldr' :: (a -> b -> b) -> b -> IpeSize a -> b Source # foldl :: (b -> a -> b) -> b -> IpeSize a -> b Source # foldl' :: (b -> a -> b) -> b -> IpeSize a -> b Source # foldr1 :: (a -> a -> a) -> IpeSize a -> a Source # foldl1 :: (a -> a -> a) -> IpeSize a -> a Source # toList :: IpeSize a -> [a] Source # null :: IpeSize a -> Bool Source # length :: IpeSize a -> Int Source # elem :: Eq a => a -> IpeSize a -> Bool Source # maximum :: Ord a => IpeSize a -> a Source # minimum :: Ord a => IpeSize a -> a Source # | |||||
| Traversable IpeSize Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Generic (IpeSize r) Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Show r => Show (IpeSize r) Source # | |||||
| Eq r => Eq (IpeSize r) Source # | |||||
| Ord r => Ord (IpeSize r) Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Coordinate r => IpeReadText (IpeSize r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError (IpeSize r) Source # | |||||
| IpeWriteText r => IpeWriteText (IpeSize r) Source # | |||||
Defined in Ipe.Writer | |||||
| HasSymbolSize (g :+ SymbolAttributes r) (Maybe (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes Methods symbolSize :: Lens' (g :+ SymbolAttributes r) (Maybe (IpeSize r)) Source # | |||||
| HasSymbolSize (SymbolAttributesF r f) (f (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes Methods symbolSize :: Lens' (SymbolAttributesF r f) (f (IpeSize r)) Source # | |||||
| HasTextSize (g :+ TextAttributes r) (Maybe (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasTextSize (TextAttributesF r f) (f (IpeSize r)) Source # | |||||
Defined in Ipe.Attributes | |||||
| type Rep (IpeSize r) Source # | |||||
Defined in Ipe.Attributes.Types | |||||
A type Representing possible LineJoin values
Instances
| Default LineJoin Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Finitary LineJoin Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Generic LineJoin Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Read LineJoin Source # | |||||
| Show LineJoin Source # | |||||
| Eq LineJoin Source # | |||||
| IpeReadText LineJoin Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError LineJoin Source # | |||||
| IpeWriteText LineJoin Source # | |||||
Defined in Ipe.Writer | |||||
| HasLineJoin (g :+ PathAttributes r) (Maybe LineJoin) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasLineJoin (PathAttributesF r f) (f LineJoin) Source # | |||||
Defined in Ipe.Attributes | |||||
| type Cardinality LineJoin Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| type Rep LineJoin Source # | |||||
Defined in Ipe.Attributes.Types | |||||
Possible values for Pin
Constructors
| No | |
| Yes | |
| Horizontal | |
| Vertical |
Instances
| Finitary PinType Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Generic PinType Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
| |||||
| Read PinType Source # | |||||
| Show PinType Source # | |||||
| Eq PinType Source # | |||||
| IpeReadText PinType Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError PinType Source # | |||||
| IpeWriteText PinType Source # | |||||
Defined in Ipe.Writer | |||||
| type Cardinality PinType Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| type Rep PinType Source # | |||||
Defined in Ipe.Attributes.Types type Rep PinType = D1 ('MetaData "PinType" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'False) ((C1 ('MetaCons "No" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Yes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Horizontal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Vertical" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
newtype TextSizeUnit r Source #
size of text in points
Constructors
| TextSizeUnit r |
Instances
| Functor TextSizeUnit Source # | |||||
Defined in Ipe.Attributes.Types Methods fmap :: (a -> b) -> TextSizeUnit a -> TextSizeUnit b Source # (<$) :: a -> TextSizeUnit b -> TextSizeUnit a Source # | |||||
| Foldable TextSizeUnit Source # | |||||
Defined in Ipe.Attributes.Types Methods fold :: Monoid m => TextSizeUnit m -> m Source # foldMap :: Monoid m => (a -> m) -> TextSizeUnit a -> m Source # foldMap' :: Monoid m => (a -> m) -> TextSizeUnit a -> m Source # foldr :: (a -> b -> b) -> b -> TextSizeUnit a -> b Source # foldr' :: (a -> b -> b) -> b -> TextSizeUnit a -> b Source # foldl :: (b -> a -> b) -> b -> TextSizeUnit a -> b Source # foldl' :: (b -> a -> b) -> b -> TextSizeUnit a -> b Source # foldr1 :: (a -> a -> a) -> TextSizeUnit a -> a Source # foldl1 :: (a -> a -> a) -> TextSizeUnit a -> a Source # toList :: TextSizeUnit a -> [a] Source # null :: TextSizeUnit a -> Bool Source # length :: TextSizeUnit a -> Int Source # elem :: Eq a => a -> TextSizeUnit a -> Bool Source # maximum :: Ord a => TextSizeUnit a -> a Source # minimum :: Ord a => TextSizeUnit a -> a Source # sum :: Num a => TextSizeUnit a -> a Source # product :: Num a => TextSizeUnit a -> a Source # | |||||
| Traversable TextSizeUnit Source # | |||||
Defined in Ipe.Attributes.Types Methods traverse :: Applicative f => (a -> f b) -> TextSizeUnit a -> f (TextSizeUnit b) Source # sequenceA :: Applicative f => TextSizeUnit (f a) -> f (TextSizeUnit a) Source # mapM :: Monad m => (a -> m b) -> TextSizeUnit a -> m (TextSizeUnit b) Source # sequence :: Monad m => TextSizeUnit (m a) -> m (TextSizeUnit a) Source # | |||||
| Generic (TextSizeUnit r) Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods from :: TextSizeUnit r -> Rep (TextSizeUnit r) x Source # to :: Rep (TextSizeUnit r) x -> TextSizeUnit r Source # | |||||
| Read r => Read (TextSizeUnit r) Source # | |||||
Defined in Ipe.Attributes.Types Methods readsPrec :: Int -> ReadS (TextSizeUnit r) Source # readList :: ReadS [TextSizeUnit r] Source # readPrec :: ReadPrec (TextSizeUnit r) Source # readListPrec :: ReadPrec [TextSizeUnit r] Source # | |||||
| Show r => Show (TextSizeUnit r) Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Eq r => Eq (TextSizeUnit r) Source # | |||||
Defined in Ipe.Attributes.Types Methods (==) :: TextSizeUnit r -> TextSizeUnit r -> Bool Source # (/=) :: TextSizeUnit r -> TextSizeUnit r -> Bool Source # | |||||
| Ord r => Ord (TextSizeUnit r) Source # | |||||
Defined in Ipe.Attributes.Types Methods compare :: TextSizeUnit r -> TextSizeUnit r -> Ordering Source # (<) :: TextSizeUnit r -> TextSizeUnit r -> Bool Source # (<=) :: TextSizeUnit r -> TextSizeUnit r -> Bool Source # (>) :: TextSizeUnit r -> TextSizeUnit r -> Bool Source # (>=) :: TextSizeUnit r -> TextSizeUnit r -> Bool Source # max :: TextSizeUnit r -> TextSizeUnit r -> TextSizeUnit r Source # min :: TextSizeUnit r -> TextSizeUnit r -> TextSizeUnit r Source # | |||||
| Coordinate r => IpeReadText (TextSizeUnit r) Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError (TextSizeUnit r) Source # | |||||
| IpeWriteText r => IpeWriteText (TextSizeUnit r) Source # | |||||
Defined in Ipe.Writer Methods ipeWriteText :: TextSizeUnit r -> Maybe Text Source # | |||||
| HasDepth (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods depth :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
| HasDepth (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods depth :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
| HasTextHeight (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textHeight :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
| HasTextHeight (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textHeight :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
| HasTextWidth (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textWidth :: Lens' (g :+ TextAttributes r) (Maybe (TextSizeUnit r)) Source # | |||||
| HasTextWidth (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
Defined in Ipe.Attributes Methods textWidth :: Lens' (TextAttributesF r f) (f (TextSizeUnit r)) Source # | |||||
| type Rep (TextSizeUnit r) Source # | |||||
Defined in Ipe.Attributes.Types type Rep (TextSizeUnit r) = D1 ('MetaData "TextSizeUnit" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'True) (C1 ('MetaCons "TextSizeUnit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 r))) | |||||
data TransformationTypes Source #
Possible values for Transformation
Constructors
| Affine | |
| Rigid | |
| Translations |
Instances
| Finitary TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods fromFinite :: Finite (Cardinality TransformationTypes) -> TransformationTypes Source # toFinite :: TransformationTypes -> Finite (Cardinality TransformationTypes) Source # start :: TransformationTypes Source # end :: TransformationTypes Source # previous :: TransformationTypes -> Maybe TransformationTypes Source # next :: TransformationTypes -> Maybe TransformationTypes Source # | |||||
| Generic TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods from :: TransformationTypes -> Rep TransformationTypes x Source # to :: Rep TransformationTypes x -> TransformationTypes Source # | |||||
| Read TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Show TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Eq TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types Methods (==) :: TransformationTypes -> TransformationTypes -> Bool Source # (/=) :: TransformationTypes -> TransformationTypes -> Bool Source # | |||||
| IpeReadText TransformationTypes Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError TransformationTypes Source # | |||||
| IpeWriteText TransformationTypes Source # | |||||
Defined in Ipe.Writer Methods | |||||
| type Cardinality TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| type Rep TransformationTypes Source # | |||||
Defined in Ipe.Attributes.Types type Rep TransformationTypes = D1 ('MetaData "TransformationTypes" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'False) (C1 ('MetaCons "Affine" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Rigid" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Translations" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data VerticalAlignment Source #
Constructors
| AlignTop | |
| AlignVCenter | |
| AlignBottom | |
| AlignBaseline |
Instances
| Finitary VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods fromFinite :: Finite (Cardinality VerticalAlignment) -> VerticalAlignment Source # toFinite :: VerticalAlignment -> Finite (Cardinality VerticalAlignment) Source # start :: VerticalAlignment Source # end :: VerticalAlignment Source # previous :: VerticalAlignment -> Maybe VerticalAlignment Source # next :: VerticalAlignment -> Maybe VerticalAlignment Source # | |||||
| Generic VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Associated Types
Methods from :: VerticalAlignment -> Rep VerticalAlignment x Source # to :: Rep VerticalAlignment x -> VerticalAlignment Source # | |||||
| Read VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Show VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| Eq VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Methods (==) :: VerticalAlignment -> VerticalAlignment -> Bool Source # (/=) :: VerticalAlignment -> VerticalAlignment -> Bool Source # | |||||
| Ord VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types Methods compare :: VerticalAlignment -> VerticalAlignment -> Ordering Source # (<) :: VerticalAlignment -> VerticalAlignment -> Bool Source # (<=) :: VerticalAlignment -> VerticalAlignment -> Bool Source # (>) :: VerticalAlignment -> VerticalAlignment -> Bool Source # (>=) :: VerticalAlignment -> VerticalAlignment -> Bool Source # max :: VerticalAlignment -> VerticalAlignment -> VerticalAlignment Source # min :: VerticalAlignment -> VerticalAlignment -> VerticalAlignment Source # | |||||
| IpeReadText VerticalAlignment Source # | |||||
Defined in Ipe.Reader Methods ipeReadText :: Text -> Either ConversionError VerticalAlignment Source # | |||||
| IpeWriteText VerticalAlignment Source # | |||||
Defined in Ipe.Writer Methods | |||||
| HasVAlign (g :+ TextAttributes r) (Maybe VerticalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods vAlign :: Lens' (g :+ TextAttributes r) (Maybe VerticalAlignment) Source # | |||||
| HasVAlign (TextAttributesF r f) (f VerticalAlignment) Source # | |||||
Defined in Ipe.Attributes Methods vAlign :: Lens' (TextAttributesF r f) (f VerticalAlignment) Source # | |||||
| type Cardinality VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types | |||||
| type Rep VerticalAlignment Source # | |||||
Defined in Ipe.Attributes.Types type Rep VerticalAlignment = D1 ('MetaData "VerticalAlignment" "Ipe.Attributes.Types" "hgeometry-ipe-1.0.0.0-inplace" 'False) ((C1 ('MetaCons "AlignTop" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignVCenter" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlignBottom" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignBaseline" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||