| 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 Int
- _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)
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 Int) Source # | |||||
Defined in Ipe.Attributes | |||||
| HasLineJoin (PathAttributesF r f) (f Int) 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 Int))))) :*: ((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 Int) Source # | |
Defined in Ipe.Attributes | |
| HasLineJoin (PathAttributesF r f) (f Int) 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 #