| Copyright | (c) 2011-2014 Ian-Woo Kim |
|---|---|
| License | BSD3 |
| Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell98 |
Hoodle.Type.Enum
Description
- data DrawFlag
- data AddDirection
- data ZoomModeRel
- data PenType
- data PenColor
- data BackgroundStyle
- data VerticalSpaceMode
- data SelectType
- data SelectInfo = SelectInfo {}
- data RotateDir
- data NewPageModeType
- selectType :: Simple Lens SelectInfo SelectType
- penColorNameMap :: Map PenColor ByteString
- penColorRGBAmap :: Map PenColor (Double, Double, Double, Double)
- convertPenColorToRGBA :: PenColor -> (Double, Double, Double, Double)
- convertRGBAToHex :: (Double, Double, Double, Double) -> ByteString
- convertPenColorToByteString :: PenColor -> ByteString
- convertBackgroundStyleToByteString :: BackgroundStyle -> ByteString
Documentation
drawing efficiency
Constructors
| Clear | |
| BkgEfficient | |
| Efficient |
pen tool type
Constructors
| PenWork | |
| HighlighterWork | |
| EraserWork | |
| VerticalSpaceWork |
predefined pen colors
data BackgroundStyle Source #
predefined background styles
Constructors
| BkgStylePlain | |
| BkgStyleLined | |
| BkgStyleRuled | |
| BkgStyleGraph |
Instances
data VerticalSpaceMode Source #
mode for vertical space adding
data SelectType Source #
select tool type
Constructors
| SelectLassoWork | |
| SelectRectangleWork | |
| SelectHandToolWork |
Instances
data NewPageModeType Source #
Instances
convertRGBAToHex :: (Double, Double, Double, Double) -> ByteString Source #