filler :: Bool -> Bool -> Int -> FlexibleDrawing hFiller :: Int -> FlexibleDrawing vFiller :: Int -> FlexibleDrawing frame :: FlexibleDrawing frame' :: Size -> FlexibleDrawing ellipse :: FlexibleDrawing arc :: Int -> Int -> FlexibleDrawing lpar :: FlexibleDrawing rpar :: FlexibleDrawing lbrack :: FlexibleDrawing rbrack :: FlexibleDrawing lbrace :: FlexibleDrawing rbrace :: FlexibleDrawing lAngleBracket :: FlexibleDrawing rAngleBracket :: FlexibleDrawing filledTriangleDown :: FlexibleDrawing filledTriangleUp :: FlexibleDrawing
These are various flexible drawings.
filler fixedWidth fixedHeight minSize
creates a filled rectangle with
the propreties indicated by the arguments.
hFiller
and vFiller
creates horizontal and vertical lines with the
thickness indicated by the argument.
frame
and frame'
create flexbile rectangles useful for framing
things.
lpar
, rpar
, lbrack
, rbrack
, lbrace
and rbrace
create parentheses, square brackets and braces of flexible height.
labelF (hboxD [g lbrack,vboxD [g "x",g "y", g "z"],g rbrack])
labelF (placedD (matrixP 2 `spacersP` repeat (alignFixedS aCenter aCenter)) $ boxD [g (hFiller 1),g (vFiller 1),g (frame' 25),g ellipse,g lpar,g rpar,g lbrack,g rbrack,g lbrace, g rbrace])
Supported Xlib drawing commands: type DrawCommand.
Fudgets for displaying graphics: labelF, displayF, hyperGraphicsF, ...