Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data LineStyle
- data CapStyle
- data JoinStyle
- data LineDrawStyle = LineDrawStyle (Maybe LineStyle) (Maybe CapStyle) (Maybe JoinStyle)
- flcSetColor :: Color -> IO ()
- flcSetColorWithRgb :: RGB -> IO ()
- flcColor :: IO Color
- flcPushClip :: Rectangle -> IO ()
- flcPushNoClip :: IO ()
- flcPopClip :: IO ()
- flcNotClipped :: Rectangle -> IO Bool
- flcClipBox :: Rectangle -> IO (Either UnknownError Rectangle)
- flcRestoreClip :: IO ()
- flcSetClipRegion :: Ref FlRegion -> IO ()
- flcClipRegion :: IO (Maybe (Ref FlRegion))
- flcPoint :: Position -> IO ()
- flcLineStyle :: LineDrawStyle -> Maybe Width -> Maybe Text -> IO ()
- flcRect :: Rectangle -> IO ()
- flcRectWithColor :: Rectangle -> Color -> IO ()
- flcRectf :: Rectangle -> IO ()
- flcRectfWithColor :: Rectangle -> Color -> IO ()
- flcRectfWithRgb :: Rectangle -> RGB -> IO ()
- flcLine :: Position -> Position -> IO ()
- flcLineWith2Edges :: Position -> Position -> Position -> IO ()
- flcLoop :: Position -> Position -> Position -> IO ()
- flcLoopWith4Sides :: Position -> Position -> Position -> Position -> IO ()
- flcPolygon :: Position -> Position -> Position -> IO ()
- flcPolygonWith4Sides :: Position -> Position -> Position -> Position -> IO ()
- flcXyline :: Position -> X -> IO ()
- flcXylineDownByY :: Position -> X -> Y -> IO ()
- flcXylineDownByYAcrossByX :: Position -> X -> Y -> X -> IO ()
- flcYxline :: Position -> Y -> IO ()
- flcYxlineAcrossByX :: Position -> Y -> X -> IO ()
- flcYxlineAcrossByXDownByY :: Position -> Y -> X -> Y -> IO ()
- flcArcByWidthHeight :: Rectangle -> PreciseAngle -> PreciseAngle -> IO ()
- flcPie :: Rectangle -> PreciseAngle -> PreciseAngle -> IO ()
- flcPushMatrix :: IO ()
- flcPopMatrix :: IO ()
- flcScaleWithY :: ByXY -> IO ()
- flcScale :: ByX -> IO ()
- flcTranslate :: ByXY -> IO ()
- flcRotate :: PreciseAngle -> IO ()
- flcMultMatrix :: Double -> Double -> Double -> Double -> ByXY -> IO ()
- flcBeginPoints :: IO ()
- flcBeginLine :: IO ()
- flcBeginLoop :: IO ()
- flcBeginPolygon :: IO ()
- flcVertex :: PrecisePosition -> IO ()
- flcCurve :: PrecisePosition -> PrecisePosition -> PrecisePosition -> PrecisePosition -> IO ()
- flcArcByRadius :: PrecisePosition -> Double -> PreciseAngle -> PreciseAngle -> IO ()
- flcCircle :: PrecisePosition -> Double -> IO ()
- flcEndPoints :: IO ()
- flcEndLine :: IO ()
- flcEndLoop :: IO ()
- flcEndPolygon :: IO ()
- flcBeginComplexPolygon :: IO ()
- flcGap :: IO ()
- flcEndComplexPolygon :: IO ()
- flcTransformX :: ByXY -> IO Double
- flcTransformY :: ByXY -> IO Double
- flcTransformDx :: ByXY -> IO Double
- flcTransformDy :: ByXY -> IO Double
- flcTransformedVertex :: PrecisePosition -> IO ()
- flcSetFont :: Font -> FontSize -> IO ()
- flcFont :: IO Font
- flcSize :: IO FontSize
- flcHeight :: IO Height
- flcHeightOfFont :: Font -> FontSize -> IO Height
- flcDescent :: IO Int
- flcWidth :: Text -> IO PreciseWidth
- flcWidthOfChar :: Int -> IO PreciseWidth
- flcTextExtents :: Text -> IO Rectangle
- flcLatin1ToLocal :: Text -> IO Text
- flcLocalToLatin1 :: Text -> IO Text
- flcMacRomanToLocal :: Text -> IO Text
- flcLocalToMacRoman :: Text -> IO Text
- flcDraw :: Text -> Position -> IO ()
- flcDrawWithAngle :: Int -> Text -> Position -> IO ()
- flcRtlDraw :: Text -> Int -> Position -> IO ()
- flcMeasure :: Text -> Maybe Width -> Bool -> IO Size
- flcDrawInBoxWithImageReference :: Parent a Image => Text -> Rectangle -> Alignments -> Maybe DrawCallback -> Ref a -> Maybe Bool -> IO ()
- flcDrawInBox :: Text -> Rectangle -> Alignments -> Maybe DrawCallback -> Maybe Bool -> IO ()
- flcFrame :: Text -> Rectangle -> IO ()
- flcFrame2 :: Text -> Rectangle -> IO ()
- flcDrawBox :: Boxtype -> Rectangle -> Color -> IO ()
- flcDrawImageBuf :: ByteString -> Rectangle -> Delta -> LineDelta -> IO ()
- flcDrawImageMonoBuf :: ByteString -> Rectangle -> Delta -> LineDelta -> IO ()
- flcCanDoAlphaBlending :: IO Bool
- flcReadImage :: Rectangle -> Bool -> IO ByteString
- flcDrawPixmapWithColor :: PixmapHs -> Position -> Color -> IO (Either UnknownError ())
- flcDrawPixmap :: PixmapHs -> Position -> IO (Either UnknownError ())
- flcDrawPixmapWithCdataColor :: PixmapHs -> Position -> Color -> IO (Either UnknownError ())
- flcDrawPixmapWithCdata :: PixmapHs -> Position -> IO (Either UnknownError ())
- flcMeasurePixmap :: PixmapHs -> IO (Either UnknownError Size)
- flcMeasurePixmapWithCdata :: PixmapHs -> IO (Either UnknownError Size)
- flcShortcutLabel :: ShortcutKeySequence -> IO Text
- flcOldShortcut :: Text -> IO (Maybe ShortcutKeySequence)
- flcOverlayRect :: Rectangle -> IO ()
- flcOverlayClear :: IO ()
- flcCursorWithFgBg :: Cursor -> Color -> Color -> IO ()
- flcCursorWithFg :: Cursor -> Color -> IO ()
- flcCursorWithBg :: Cursor -> Color -> IO ()
- flcCursor :: Cursor -> IO ()
- flcSetStatus :: Rectangle -> IO ()
- flcSetSpotWithWin :: Parent a WindowBase => Font -> FontSize -> Rectangle -> Ref a -> IO ()
- flcSetSpot :: Font -> FontSize -> Rectangle -> IO ()
- flcResetSpot :: IO ()
- flcDrawSymbol :: Text -> Rectangle -> Color -> IO (Either UnknownError ())
- flcDrawShortcut :: IO (Maybe DrawShortcut)
- flcSetDrawShortcut :: Maybe DrawShortcut -> IO ()
- flcCreateOffscreen :: Size -> IO FlOffscreen
- flcBeginOffscreen :: FlOffscreen -> IO ()
- flcEndOffscreen :: IO ()
- flcDeleteOffscreen :: FlOffscreen -> IO ()
- flcRescaleOffscreen :: FlOffscreen -> IO ()
- flcCopyOffscreen :: Position -> Size -> FlOffscreen -> Position -> IO ()
Documentation
Instances
Enum LineStyle Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Draw succ :: LineStyle -> LineStyle # pred :: LineStyle -> LineStyle # fromEnum :: LineStyle -> Int # enumFrom :: LineStyle -> [LineStyle] # enumFromThen :: LineStyle -> LineStyle -> [LineStyle] # enumFromTo :: LineStyle -> LineStyle -> [LineStyle] # enumFromThenTo :: LineStyle -> LineStyle -> LineStyle -> [LineStyle] # | |
Eq LineStyle Source # | |
Ord LineStyle Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Draw | |
Show LineStyle Source # | |
Instances
Enum CapStyle Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Draw | |
Eq CapStyle Source # | |
Ord CapStyle Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Draw | |
Show CapStyle Source # | |
Instances
Enum JoinStyle Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Draw succ :: JoinStyle -> JoinStyle # pred :: JoinStyle -> JoinStyle # fromEnum :: JoinStyle -> Int # enumFrom :: JoinStyle -> [JoinStyle] # enumFromThen :: JoinStyle -> JoinStyle -> [JoinStyle] # enumFromTo :: JoinStyle -> JoinStyle -> [JoinStyle] # enumFromThenTo :: JoinStyle -> JoinStyle -> JoinStyle -> [JoinStyle] # | |
Eq JoinStyle Source # | |
Ord JoinStyle Source # | |
Defined in Graphics.UI.FLTK.LowLevel.Draw | |
Show JoinStyle Source # | |
data LineDrawStyle Source #
flcSetColor :: Color -> IO () Source #
flcSetColorWithRgb :: RGB -> IO () Source #
flcPushClip :: Rectangle -> IO () Source #
flcPushNoClip :: IO () Source #
flcPopClip :: IO () Source #
flcClipBox :: Rectangle -> IO (Either UnknownError Rectangle) Source #
flcRestoreClip :: IO () Source #
flcLineStyle :: LineDrawStyle -> Maybe Width -> Maybe Text -> IO () Source #
flcArcByWidthHeight :: Rectangle -> PreciseAngle -> PreciseAngle -> IO () Source #
flcPie :: Rectangle -> PreciseAngle -> PreciseAngle -> IO () Source #
flcPushMatrix :: IO () Source #
flcPopMatrix :: IO () Source #
flcScaleWithY :: ByXY -> IO () Source #
flcTranslate :: ByXY -> IO () Source #
flcRotate :: PreciseAngle -> IO () Source #
flcBeginPoints :: IO () Source #
flcBeginLine :: IO () Source #
flcBeginLoop :: IO () Source #
flcBeginPolygon :: IO () Source #
flcVertex :: PrecisePosition -> IO () Source #
flcCurve :: PrecisePosition -> PrecisePosition -> PrecisePosition -> PrecisePosition -> IO () Source #
flcArcByRadius :: PrecisePosition -> Double -> PreciseAngle -> PreciseAngle -> IO () Source #
flcEndPoints :: IO () Source #
flcEndLine :: IO () Source #
flcEndLoop :: IO () Source #
flcEndPolygon :: IO () Source #
flcBeginComplexPolygon :: IO () Source #
flcEndComplexPolygon :: IO () Source #
flcTransformedVertex :: PrecisePosition -> IO () Source #
flcDescent :: IO Int Source #
flcWidthOfChar :: Int -> IO PreciseWidth Source #
flcDrawInBoxWithImageReference :: Parent a Image => Text -> Rectangle -> Alignments -> Maybe DrawCallback -> Ref a -> Maybe Bool -> IO () Source #
flcDrawInBox :: Text -> Rectangle -> Alignments -> Maybe DrawCallback -> Maybe Bool -> IO () Source #
flcDrawImageBuf :: ByteString -> Rectangle -> Delta -> LineDelta -> IO () Source #
flcDrawImageMonoBuf :: ByteString -> Rectangle -> Delta -> LineDelta -> IO () Source #
flcReadImage :: Rectangle -> Bool -> IO ByteString Source #
flcDrawPixmapWithColor :: PixmapHs -> Position -> Color -> IO (Either UnknownError ()) Source #
flcDrawPixmap :: PixmapHs -> Position -> IO (Either UnknownError ()) Source #
flcDrawPixmapWithCdataColor :: PixmapHs -> Position -> Color -> IO (Either UnknownError ()) Source #
flcDrawPixmapWithCdata :: PixmapHs -> Position -> IO (Either UnknownError ()) Source #
flcMeasurePixmap :: PixmapHs -> IO (Either UnknownError Size) Source #
flcOldShortcut :: Text -> IO (Maybe ShortcutKeySequence) Source #
flcOverlayRect :: Rectangle -> IO () Source #
flcOverlayClear :: IO () Source #
flcSetStatus :: Rectangle -> IO () Source #
flcSetSpotWithWin :: Parent a WindowBase => Font -> FontSize -> Rectangle -> Ref a -> IO () Source #
flcResetSpot :: IO () Source #
flcDrawSymbol :: Text -> Rectangle -> Color -> IO (Either UnknownError ()) Source #
flcSetDrawShortcut :: Maybe DrawShortcut -> IO () Source #
flcCreateOffscreen :: Size -> IO FlOffscreen Source #
Only available on FLTK version 1.4.0 and above.
flcBeginOffscreen :: FlOffscreen -> IO () Source #
flcEndOffscreen :: IO () Source #
Only available on FLTK version 1.4.0 and above.
flcDeleteOffscreen :: FlOffscreen -> IO () Source #
flcRescaleOffscreen :: FlOffscreen -> IO () Source #
flcCopyOffscreen :: Position -> Size -> FlOffscreen -> Position -> IO () Source #