#Draw


Begin
M

(Device)o
Clear
M

[(Color)i]
End
M


FillRect
M

(X)i(Y)i(Width)i(Height)i[(Color)i]
FillRects
M

(Rectangles)Integer[];[(Color)i]
Image
M

(Image)Image;(X)i(Y)i[(Width)i(Height)i(Source)Rect;(Opacity)f(Angle)f
Line
M

(X1)i(Y1)i(X2)i(Y2)i[(Color)i]
Lines
M

(Lines)Integer[];[(Color)i]
Point
M

(X)i(Y)i[(Color)i]
Points
M

(Points)Integer[];[(Color)i]
Rect
M

(X)i(Y)i(Width)i(Height)i[(Color)i]
Rects
M

(Rectangles)Integer[];[(Color)i]
Text
M

(Text)s(X)i(Y)i
_exit
M


Background
P
i

Font
P
Font

#Font


DefaultHeight
C
i
13
Load
M

(Path)s[(Name)s]
_exit
M


_get
M
Font
(Font)s
TextHeight
m
i
(Text)s
TextWidth
m
i
(Text)s
_free
m


Bold
p
b

Italic
p
b

Size
p
i

Ascent
r
i

Descent
r
i

Fixed
r
b

Name
r
s

#Image

C
Load
M
Image
(Path)s
Save
m

(Path)s
#Key


AltGrKey
C
i
1073742081
Backspace
C
i
8
CapsLock
C
i
1073741881
Delete
C
i
127
Down
C
i
1073741905
End
C
i
1073741901
Esc
C
i
27
Escape
C
i
27
F1
C
i
1073741882
F10
C
i
1073741891
F11
C
i
1073741892
F12
C
i
1073741893
F13
C
i
1073741928
F14
C
i
1073741929
F15
C
i
1073741930
F2
C
i
1073741883
F3
C
i
1073741884
F4
C
i
1073741885
F5
C
i
1073741886
F6
C
i
1073741887
F7
C
i
1073741888
F8
C
i
1073741889
F9
C
i
1073741890
Home
C
i
1073741898
Insert
C
i
1073741897
Left
C
i
1073741904
LeftAlt
C
i
1073742050
LeftControl
C
i
1073742048
LeftMeta
C
i
1073742051
LeftShift
C
i
1073742049
Menu
C
i
1073741942
Num0
C
i
1073741922
Num1
C
i
1073741913
Num2
C
i
1073741914
Num3
C
i
1073741915
Num4
C
i
1073741916
Num5
C
i
1073741917
Num6
C
i
1073741918
Num7
C
i
1073741919
Num8
C
i
1073741920
Num9
C
i
1073741921
NumDivide
C
i
1073741908
NumEnter
C
i
1073741912
NumLock
C
i
1073741907
NumMinus
C
i
1073741910
NumMultiply
C
i
1073741909
NumPeriod
C
i
1073741923
NumPlus
C
i
1073741911
PageDown
C
i
1073741902
PageUp
C
i
1073741899
Pause
C
i
1073741896
Return
C
i
13
Right
C
i
1073741903
RightAlt
C
i
1073742054
RightControl
C
i
1073742052
RightMeta
C
i
1073742055
RightShift
C
i
1073742053
ScrollLock
C
i
1073741895
Space
C
i
32
SysReq
C
i
1073741978
Tab
C
i
9
Up
C
i
1073741906
_get
M
i
(Key)s
Repeat
P
b

Alt
R
b

AltGr
R
b

Code
R
i

Control
R
b

Meta
R
b

Normal
R
b

Shift
R
b

Text
R
s

#Mouse


Hide
M


Show
M


Relative
P
b

Visible
P
b

Button
R
i

Left
R
b

Middle
R
b

Right
R
b

StartX
R
i

StartY
R
i

WheelX
R
i

WheelY
R
i

X
R
i

Y
R
i

#Window

C
:Close
:


:Draw
:


:Enter
:


:GotFocus
:


:Hide
:


:KeyPress
:


:KeyRelease
:


:Leave
:


:LostFocus
:


:MouseDown
:


:MouseMove
:


:MouseUp
:


:MouseWheel
:


:Move
:


:Open
:


:Resize
:


:Show
:


:Text
:


Close
m


Hide
m


Move
m

(X)i(Y)i[(Width)i(Height)i]
Resize
m

(Width)i(Height)i
Screenshot
m
Image
[(X)i(Y)i(Width)i(Height)i]
Show
m


_free
m


_new
m

[(OpenGL)b]
FrameRate
p
f

FullScreen
p
b

Grabbed
p
b

Resizable
p
b

Text
p
s

Title
p
s

Visible
p
b

FrameCount
r
i

H
r
i

Handle
r
i

Height
r
i

W
r
i

Width
r
i

X
r
i

Y
r
i

