Safe Haskell | None |
---|---|
Language | Haskell98 |
- data OutputEvent
- data SystemMessageOut
- data Graphical
- data GObject
- data Primitive
- type Name = [Char]
- type Groupname = [Char]
- type Color = (Float, Float, Float)
- type Font = [Char]
- type Relative = Bool
- outSingle :: OutputEvent -> IO ()
Documentation
data OutputEvent Source
The central OutputEvent
type.
data SystemMessageOut Source
The different possible SystemMessageOut
s.
Graphical Responses Out
Draw GObject Groupname | Draw the graphical object with the given groupname. |
MoveGroup Groupname Pos Relative | Move an entire group to a new position possibly relative to the old position. |
MoveElement Name Pos Relative | Move a single element to a new position possibly relative to the old position. |
RemoveGroup Groupname | Remove a group |
RemoveElement Name | Remove an element. |
A general graphical object containing the common attributes of each Primitive
.
Primitive graphical structures
Text | The text graphical primitive |
| |
Line | The line graphical primitive |
Rect | The rectangle graphical primitive |
Arc | The arc graphical primitive. This is the part of a circle. When startAng=0 and endAng=360 you get a full circle. |
|
The name of a graphical object. Another synonym in the package used for this is Element
.
type Color = (Float, Float, Float) Source
The color expressed in (red, green, blue) code where each value is between 0 <= 255.
outSingle :: OutputEvent -> IO () Source
Outputs a single OutputEvent
. Right now only Draw
events are implemented.
The server automatically determines the maximum Dimension
s of the picture and sends a Setup
containing those Dimension
s.