Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type REltId = Int
- type PChar = Char
- type MPChar = Maybe PChar
- getPCharWidth :: Char -> Int8
- data FillStyle
- data SuperStyle = SuperStyle {}
- superStyle_fromListFormat :: [PChar] -> SuperStyle
- superStyle_toListFormat :: SuperStyle -> [PChar]
- data TextAlign
- convertTextAlignToTextZipperTextAlignment :: TextAlign -> TextAlignment
- data TextStyle = TextStyle {}
- data AttachmentLocation
- type AttachmentOffsetRatio = Ratio Int
- data Attachment = Attachment {}
- attachment_offset_rel_default :: Ratio Int
- attachment_create_default :: REltId -> AttachmentLocation -> Attachment
- data SBoxTitle = SBoxTitle {}
- data SBoxText = SBoxText {}
- data SBoxType
- sBoxType_isText :: SBoxType -> Bool
- sBoxType_hasBorder :: SBoxType -> Bool
- make_sBoxType :: Bool -> Bool -> SBoxType
- data SBox = SBox {}
- sBox_hasLabel :: SBox -> Bool
- data LineAutoStyle
- data LineStyle = LineStyle {}
- lineStyle_fromListFormat :: ([PChar], [PChar], [PChar], [PChar]) -> LineStyle
- lineStyle_toListFormat :: LineStyle -> ([PChar], [PChar], [PChar], [PChar])
- data SAutoLineConstraint = SAutoLineConstraintFixed XY
- data SAutoLineLabelPosition = SAutoLineLabelPositionRelative Float
- data SAutoLineLabel = SAutoLineLabel {}
- data SAutoLine = SAutoLine {
- _sAutoLine_start :: XY
- _sAutoLine_end :: XY
- _sAutoLine_superStyle :: SuperStyle
- _sAutoLine_lineStyle :: LineStyle
- _sAutoLine_lineStyleEnd :: LineStyle
- _sAutoLine_attachStart :: Maybe Attachment
- _sAutoLine_attachEnd :: Maybe Attachment
- _sAutoLine_midpoints :: [SAutoLineConstraint]
- _sAutoLine_labels :: [SAutoLineLabel]
- type TextAreaMapping = Map XY PChar
- data STextArea = STextArea {}
- data SElt
- data SEltLabel = SEltLabel {}
Documentation
getPCharWidth :: Char -> Int8 Source #
Instances
data SuperStyle Source #
Instances
superStyle_fromListFormat :: [PChar] -> SuperStyle Source #
superStyle_toListFormat :: SuperStyle -> [PChar] Source #
Instances
Instances
Generic TextStyle Source # | |
Show TextStyle Source # | |
Binary TextStyle Source # | |
NFData TextStyle Source # | |
Defined in Potato.Flow.Serialization.Versions.V1.SElts | |
Default TextStyle Source # | |
Defined in Potato.Flow.Serialization.Versions.V1.SElts | |
Eq TextStyle Source # | |
FromJSON TextStyle Source # | |
Defined in Potato.Flow.Serialization.Versions.V1.SElts parseJSON :: Value -> Parser TextStyle parseJSONList :: Value -> Parser [TextStyle] | |
ToJSON TextStyle Source # | |
Defined in Potato.Flow.Serialization.Versions.V1.SElts toEncoding :: TextStyle -> Encoding toJSONList :: [TextStyle] -> Value toEncodingList :: [TextStyle] -> Encoding | |
Delta TextStyle DeltaTextStyle Source # | |
Defined in Potato.Flow.Types plusDelta :: TextStyle -> DeltaTextStyle -> TextStyle Source # minusDelta :: TextStyle -> DeltaTextStyle -> TextStyle Source # | |
type Rep TextStyle Source # | |
Defined in Potato.Flow.Serialization.Versions.V1.SElts |
data AttachmentLocation Source #
Instances
type AttachmentOffsetRatio = Ratio Int Source #
data Attachment Source #
Instances
Instances
Instances
Instances
sBoxType_isText :: SBoxType -> Bool Source #
sBoxType_hasBorder :: SBoxType -> Bool Source #
Instances
sBox_hasLabel :: SBox -> Bool Source #
data LineAutoStyle Source #
LineAutoStyle_Auto | |
LineAutoStyle_AutoStraight | |
LineAutoStyle_StraightAlwaysHorizontal | |
LineAutoStyle_StraightAlwaysVertical |
Instances
Instances
data SAutoLineConstraint Source #
Instances
data SAutoLineLabelPosition Source #
Instances
data SAutoLineLabel Source #
Instances
Instances
abitrary text confined to a box