Graphics.SOE

# Getting started

runGraphics

# Windows

type Title

type Size

data Window

openWindow

getWindowSize

clearWindow

drawInWindow

drawInWindowNow

setGraphic

closeWindow

## General windows

openWindowEx

data RedrawMode

drawGraphic

drawBufferedGraphic

# Drawing

type Graphic

emptyGraphic

overGraphic

overGraphics

## Color

data Color

withColor

## Drawing text

text

## Drawing shapes

type Point

ellipse

shearEllipse

line

polygon

polyline

polyBezier

type Angle

arc

## Regions

data Region

createRectangle

createEllipse

createPolygon

andRegion

orRegion

xorRegion

diffRegion

drawRegion

# User interaction

## Keyboard events

getKey

## Mouse events

getLBP

getRBP

## General events

data Event

maybeGetWindowEvent

getWindowEvent

# Time

data Word32

getWindowTick

timeGetTime

word32ToInt