Graphics.Rendering.Cairo.Canvas

Entry point

type Canvas

runCanvas

withRenderer

getCanvasSize

Color and Style

type Color

type Byte

gray

red

green

blue

rgb

(!@)

stroke

fill

noStroke

noFill

strokeWeight

strokeJoin

strokeCap

Coordinates

data Dim

toD

dimPos

dimSize

data Anchor

aligned

centered

corners

Primitives

background

point

line

triangle

rect

polygon

shape

data ShapeMode

Arcs and Curves

circle

circle'

arc

ellipse

bezier

bezierQ

Transformations

resetMatrix

pushMatrix

popMatrix

translate

rotate

scale

Images

data Image

createImage

loadImagePNG

saveImagePNG

image

image'

blend

grab

Text

data Font

textFont

textSize

textExtents

text

text'

Math

mapRange

radians

degrees

Misc

randomSeed

random

getTime

data Time

data LineCap

data LineJoin