from math import pi

# Trigonometry

PI = pi

HALF_PI = PI / 2

QUARTER_PI = PI / 4

TAU = PI * 2

TWO_PI = PI * 2

# Primitive types

POLYGON = 0

POINTS = 1

LINES = 2

TRIANGLES = 3

TRIANGLE_STRIP = 4

TRIANGLE_FAN = 5

QUADS = 6

QUAD_STRIP = 7

ARC = 8

CURVE = 9

CONTOUR = 10

BEZIER = 11

IMAGE = 12

TEXT = 13

# Close type

OPEN = 0

CLOSE = 1

# Colors

BLACK = 0

RED = 1

GREEN = 2

YELLOW = 3

BLUE = 4

MAGENTA = 5

CYAN = 6

WHITE = 7

# Rect && Ellipse

CORNER = 0

CORNERS = 1

CENTER = 2

RADIUS = 3

# Arc

CHORD = 2

PIE = 3

# Text

LEFT = 4

RIGHT = 3

TOP = 2

BOTTOM = 1

MIDDLE = 0

# Text Size

NORMAL = 0

BIG = 1

LARGE = 2

# Color Mode

ANSI = 0

RGB = 1

HSB = 2

# Mode

SINGLE = 0

DOUBLE = 1

# Buttons

LEFT = 4

RIGHT = 3

NONE = 0

# keys

CODED = 0

ESCAPE = 10

LEFT = 20

UP = 30

RIGHT = 40

DOWN = 50

BACKSPACE = 60

TAB = 70

ENTER = 80

SPACE = 90
