ยค filler, hFiller, et al

Flexible line drawings

Types

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

Description

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.

Example

 labelF (hboxD [g lbrack,vboxD [g "x",g "y", g "z"],g rbrack])

Example

 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])

See Also

The type for composite graphical obejcts: Drawing.

Supported Xlib drawing commands: type DrawCommand.

Fudgets for displaying graphics: labelF, displayF, hyperGraphicsF, ...

Bugs

This page documents work progress. Information on this page is subject to change without notice and does not represent a commitment on the part of the Fudgets corporation.