import "pinafore-media"

Colour

type storable Colour.

A human-perceivable colour.

SRGB16.Colour. : Integer. -> Integer. -> Integer. -> Colour.

Construct a Colour from sRGB (perceptual) red, green, blue, integers in range 0 to 65535. (This is what it actually stored.)

SRGBF.Colour. : Number. -> Number. -> Number. -> Colour.

Construct a Colour from sRGB (perceptual) red, green, blue, in range 0 to 1.

LinearF.Colour. : Number. -> Number. -> Number. -> Colour.

Construct a Colour from linear red, green, blue, in range 0 to 1.

type storable AlphaColour.

A human-perceivable colour, with opacity.

Mk16.AlphaColour. : Integer. -> Colour. -> AlphaColour.

Construct an AlphaColour from an opacity in range 0 to 65535 and a Colour.

MkF.AlphaColour. : Number. -> Colour. -> AlphaColour.

Construct an AlphaColour from an opacity in range 0 to 1 and a Colour.

subtype AlphaColour. <: Literal.

subtype Colour. <: AlphaColour.

A Colour is an opaque AlphaColour

transparent.Colour. : AlphaColour.

The zero-opacity AlphaColour

Named Colours

SVG named colours, also used in CSS, from SVG 1.1

aliceblue.Colour. : Colour.

     SRGB16 240*257 248*257 255*257

antiquewhite.Colour. : Colour.

     SRGB16 250*257 235*257 215*257

aqua.Colour. : Colour.

     SRGB16 0*257 255*257 255*257

aquamarine.Colour. : Colour.

     SRGB16 127*257 255*257 212*257

azure.Colour. : Colour.

     SRGB16 240*257 255*257 255*257

beige.Colour. : Colour.

     SRGB16 245*257 245*257 220*257

bisque.Colour. : Colour.

     SRGB16 255*257 228*257 196*257

black.Colour. : Colour.

     SRGB16 0*257 0*257 0*257

blanchedalmond.Colour. : Colour.

     SRGB16 255*257 235*257 205*257

blue.Colour. : Colour.

     SRGB16 0*257 0*257 255*257

blueviolet.Colour. : Colour.

     SRGB16 138*257 43*257 226*257

brown.Colour. : Colour.

     SRGB16 165*257 42*257 42*257

burlywood.Colour. : Colour.

     SRGB16 222*257 184*257 135*257

cadetblue.Colour. : Colour.

     SRGB16 95*257 158*257 160*257

chartreuse.Colour. : Colour.

     SRGB16 127*257 255*257 0*257

chocolate.Colour. : Colour.

     SRGB16 210*257 105*257 30*257

coral.Colour. : Colour.

     SRGB16 255*257 127*257 80*257

cornflowerblue.Colour. : Colour.

     SRGB16 100*257 149*257 237*257

cornsilk.Colour. : Colour.

     SRGB16 255*257 248*257 220*257

crimson.Colour. : Colour.

     SRGB16 220*257 20*257 60*257

cyan.Colour. : Colour.

     SRGB16 0*257 255*257 255*257

darkblue.Colour. : Colour.

     SRGB16 0*257 0*257 139*257

darkcyan.Colour. : Colour.

     SRGB16 0*257 139*257 139*257

darkgoldenrod.Colour. : Colour.

     SRGB16 184*257 134*257 11*257

darkgray.Colour. : Colour.

     SRGB16 169*257 169*257 169*257

darkgreen.Colour. : Colour.

     SRGB16 0*257 100*257 0*257

darkgrey.Colour. : Colour.

     SRGB16 169*257 169*257 169*257

darkkhaki.Colour. : Colour.

     SRGB16 189*257 183*257 107*257

darkmagenta.Colour. : Colour.

     SRGB16 139*257 0*257 139*257

darkolivegreen.Colour. : Colour.

     SRGB16 85*257 107*257 47*257

darkorange.Colour. : Colour.

     SRGB16 255*257 140*257 0*257

darkorchid.Colour. : Colour.

     SRGB16 153*257 50*257 204*257

darkred.Colour. : Colour.

     SRGB16 139*257 0*257 0*257

darksalmon.Colour. : Colour.

     SRGB16 233*257 150*257 122*257

darkseagreen.Colour. : Colour.

     SRGB16 143*257 188*257 143*257

darkslateblue.Colour. : Colour.

     SRGB16 72*257 61*257 139*257

darkslategray.Colour. : Colour.

     SRGB16 47*257 79*257 79*257

darkslategrey.Colour. : Colour.

     SRGB16 47*257 79*257 79*257

darkturquoise.Colour. : Colour.

     SRGB16 0*257 206*257 209*257

darkviolet.Colour. : Colour.

     SRGB16 148*257 0*257 211*257

deeppink.Colour. : Colour.

     SRGB16 255*257 20*257 147*257

deepskyblue.Colour. : Colour.

     SRGB16 0*257 191*257 255*257

dimgray.Colour. : Colour.

     SRGB16 105*257 105*257 105*257

dimgrey.Colour. : Colour.

     SRGB16 105*257 105*257 105*257

dodgerblue.Colour. : Colour.

     SRGB16 30*257 144*257 255*257

firebrick.Colour. : Colour.

     SRGB16 178*257 34*257 34*257

floralwhite.Colour. : Colour.

     SRGB16 255*257 250*257 240*257

forestgreen.Colour. : Colour.

     SRGB16 34*257 139*257 34*257

fuchsia.Colour. : Colour.

     SRGB16 255*257 0*257 255*257

gainsboro.Colour. : Colour.

     SRGB16 220*257 220*257 220*257

ghostwhite.Colour. : Colour.

     SRGB16 248*257 248*257 255*257

gold.Colour. : Colour.

     SRGB16 255*257 215*257 0*257

goldenrod.Colour. : Colour.

     SRGB16 218*257 165*257 32*257

gray.Colour. : Colour.

     SRGB16 128*257 128*257 128*257

grey.Colour. : Colour.

     SRGB16 128*257 128*257 128*257

green.Colour. : Colour.

     SRGB16 0*257 128*257 0*257

greenyellow.Colour. : Colour.

     SRGB16 173*257 255*257 47*257

honeydew.Colour. : Colour.

     SRGB16 240*257 255*257 240*257

hotpink.Colour. : Colour.

     SRGB16 255*257 105*257 180*257

indianred.Colour. : Colour.

     SRGB16 205*257 92*257 92*257

indigo.Colour. : Colour.

     SRGB16 75*257 0*257 130*257

ivory.Colour. : Colour.

     SRGB16 255*257 255*257 240*257

khaki.Colour. : Colour.

     SRGB16 240*257 230*257 140*257

lavender.Colour. : Colour.

     SRGB16 230*257 230*257 250*257

lavenderblush.Colour. : Colour.

     SRGB16 255*257 240*257 245*257

lawngreen.Colour. : Colour.

     SRGB16 124*257 252*257 0*257

lemonchiffon.Colour. : Colour.

     SRGB16 255*257 250*257 205*257

lightblue.Colour. : Colour.

     SRGB16 173*257 216*257 230*257

lightcoral.Colour. : Colour.

     SRGB16 240*257 128*257 128*257

lightcyan.Colour. : Colour.

     SRGB16 224*257 255*257 255*257

lightgoldenrodyellow.Colour. : Colour.

     SRGB16 250*257 250*257 210*257

lightgray.Colour. : Colour.

     SRGB16 211*257 211*257 211*257

lightgreen.Colour. : Colour.

     SRGB16 144*257 238*257 144*257

lightgrey.Colour. : Colour.

     SRGB16 211*257 211*257 211*257

lightpink.Colour. : Colour.

     SRGB16 255*257 182*257 193*257

lightsalmon.Colour. : Colour.

     SRGB16 255*257 160*257 122*257

lightseagreen.Colour. : Colour.

     SRGB16 32*257 178*257 170*257

lightskyblue.Colour. : Colour.

     SRGB16 135*257 206*257 250*257

lightslategray.Colour. : Colour.

     SRGB16 119*257 136*257 153*257

lightslategrey.Colour. : Colour.

     SRGB16 119*257 136*257 153*257

lightsteelblue.Colour. : Colour.

     SRGB16 176*257 196*257 222*257

lightyellow.Colour. : Colour.

     SRGB16 255*257 255*257 224*257

lime.Colour. : Colour.

     SRGB16 0*257 255*257 0*257

limegreen.Colour. : Colour.

     SRGB16 50*257 205*257 50*257

linen.Colour. : Colour.

     SRGB16 250*257 240*257 230*257

magenta.Colour. : Colour.

     SRGB16 255*257 0*257 255*257

maroon.Colour. : Colour.

     SRGB16 128*257 0*257 0*257

mediumaquamarine.Colour. : Colour.

     SRGB16 102*257 205*257 170*257

mediumblue.Colour. : Colour.

     SRGB16 0*257 0*257 205*257

mediumorchid.Colour. : Colour.

     SRGB16 186*257 85*257 211*257

mediumpurple.Colour. : Colour.

     SRGB16 147*257 112*257 219*257

mediumseagreen.Colour. : Colour.

     SRGB16 60*257 179*257 113*257

mediumslateblue.Colour. : Colour.

     SRGB16 123*257 104*257 238*257

mediumspringgreen.Colour. : Colour.

     SRGB16 0*257 250*257 154*257

mediumturquoise.Colour. : Colour.

     SRGB16 72*257 209*257 204*257

mediumvioletred.Colour. : Colour.

     SRGB16 199*257 21*257 133*257

midnightblue.Colour. : Colour.

     SRGB16 25*257 25*257 112*257

mintcream.Colour. : Colour.

     SRGB16 245*257 255*257 250*257

mistyrose.Colour. : Colour.

     SRGB16 255*257 228*257 225*257

moccasin.Colour. : Colour.

     SRGB16 255*257 228*257 181*257

navajowhite.Colour. : Colour.

     SRGB16 255*257 222*257 173*257

navy.Colour. : Colour.

     SRGB16 0*257 0*257 128*257

oldlace.Colour. : Colour.

     SRGB16 253*257 245*257 230*257

olive.Colour. : Colour.

     SRGB16 128*257 128*257 0*257

olivedrab.Colour. : Colour.

     SRGB16 107*257 142*257 35*257

orange.Colour. : Colour.

     SRGB16 255*257 165*257 0*257

orangered.Colour. : Colour.

     SRGB16 255*257 69*257 0*257

orchid.Colour. : Colour.

     SRGB16 218*257 112*257 214*257

palegoldenrod.Colour. : Colour.

     SRGB16 238*257 232*257 170*257

palegreen.Colour. : Colour.

     SRGB16 152*257 251*257 152*257

paleturquoise.Colour. : Colour.

     SRGB16 175*257 238*257 238*257

palevioletred.Colour. : Colour.

     SRGB16 219*257 112*257 147*257

papayawhip.Colour. : Colour.

     SRGB16 255*257 239*257 213*257

peachpuff.Colour. : Colour.

     SRGB16 255*257 218*257 185*257

peru.Colour. : Colour.

     SRGB16 205*257 133*257 63*257

pink.Colour. : Colour.

     SRGB16 255*257 192*257 203*257

plum.Colour. : Colour.

     SRGB16 221*257 160*257 221*257

powderblue.Colour. : Colour.

     SRGB16 176*257 224*257 230*257

purple.Colour. : Colour.

     SRGB16 128*257 0*257 128*257

red.Colour. : Colour.

     SRGB16 255*257 0*257 0*257

rosybrown.Colour. : Colour.

     SRGB16 188*257 143*257 143*257

royalblue.Colour. : Colour.

     SRGB16 65*257 105*257 225*257

saddlebrown.Colour. : Colour.

     SRGB16 139*257 69*257 19*257

salmon.Colour. : Colour.

     SRGB16 250*257 128*257 114*257

sandybrown.Colour. : Colour.

     SRGB16 244*257 164*257 96*257

seagreen.Colour. : Colour.

     SRGB16 46*257 139*257 87*257

seashell.Colour. : Colour.

     SRGB16 255*257 245*257 238*257

sienna.Colour. : Colour.

     SRGB16 160*257 82*257 45*257

silver.Colour. : Colour.

     SRGB16 192*257 192*257 192*257

skyblue.Colour. : Colour.

     SRGB16 135*257 206*257 235*257

slateblue.Colour. : Colour.

     SRGB16 106*257 90*257 205*257

slategray.Colour. : Colour.

     SRGB16 112*257 128*257 144*257

slategrey.Colour. : Colour.

     SRGB16 112*257 128*257 144*257

snow.Colour. : Colour.

     SRGB16 255*257 250*257 250*257

springgreen.Colour. : Colour.

     SRGB16 0*257 255*257 127*257

steelblue.Colour. : Colour.

     SRGB16 70*257 130*257 180*257

tan.Colour. : Colour.

     SRGB16 210*257 180*257 140*257

teal.Colour. : Colour.

     SRGB16 0*257 128*257 128*257

thistle.Colour. : Colour.

     SRGB16 216*257 191*257 216*257

tomato.Colour. : Colour.

     SRGB16 255*257 99*257 71*257

turquoise.Colour. : Colour.

     SRGB16 64*257 224*257 208*257

violet.Colour. : Colour.

     SRGB16 238*257 130*257 238*257

wheat.Colour. : Colour.

     SRGB16 245*257 222*257 179*257

white.Colour. : Colour.

     SRGB16 255*257 255*257 255*257

whitesmoke.Colour. : Colour.

     SRGB16 245*257 245*257 245*257

yellow.Colour. : Colour.

     SRGB16 255*257 255*257 0*257

yellowgreen.Colour. : Colour.

     SRGB16 154*257 205*257 50*257

Image

type Image.

An image.

size.Image. : Image. -> Integer. *: Integer.

The size of an image

blank.Image. : AlphaColour. -> Integer. *: Integer. -> Image.

An image of one colour

Metadata

type HasMetadata.Metadata.Image.

Something that has metadata.

Mk.HasMetadata.Metadata.Image. : List. (Text. *: Literal.) -> HasMetadata.Metadata.Image.

Construct metadata out of key-value pairs. Duplicates will be removed.

lookup.Metadata.Image. : Text. -> HasMetadata.Metadata.Image. -> Maybe. Literal.

Look up metadata by name.

update.Metadata.Image. : Text. -> Maybe. Literal. -> HasMetadata.Metadata.Image. -> HasMetadata.Metadata.Image.

Update metadata item.

resolution.Metadata.Image. : HasMetadata.Metadata.Image. -> Maybe. (Integer. *: Integer.)

The resolution of an image (in dots/inch), if available.

Keys

Constructors for standard metadata keys

Title.Metadata.Image. : Text.

Standard metadata key “Title”

Description.Metadata.Image. : Text.

Standard metadata key “Description”

Author.Metadata.Image. : Text.

Standard metadata key “Author”

Copyright.Metadata.Image. : Text.

Standard metadata key “Copyright”

Software.Metadata.Image. : Text.

Standard metadata key “Software”

Comment.Metadata.Image. : Text.

Standard metadata key “Comment”

Disclaimer.Metadata.Image. : Text.

Standard metadata key “Disclaimer”

Source.Metadata.Image. : Text.

Standard metadata key “Source”

Warning.Metadata.Image. : Text.

Standard metadata key “Warning”

Gamma.Metadata.Image. : Text.

Standard metadata key “Gamma”

DpiX.Metadata.Image. : Text.

Standard metadata key “DpiX”

DpiY.Metadata.Image. : Text.

Standard metadata key “DpiY”

PNG

type PNG.Image.

An image in PNG format.

subtype PNG.Image. <: Interpret. Image.

subtype PNG.Image. <: Literal.

subtype PNG.Image. <: HasMetadata.Metadata.Image.

encode.PNG.Image. : List. (Text. *: Literal.) -> Image. -> PNG.Image.

Encode an image as PNG, with given metadata.

pngMIME.PNG.Image. : Prism. MIME. PNG.Image.

JPEG

type JPEG.Image.

An image in JPEG format.

subtype JPEG.Image. <: Interpret. Image.

subtype JPEG.Image. <: Literal.

subtype JPEG.Image. <: HasMetadata.Metadata.Image.

encode.JPEG.Image. : Integer. -> List. (Text. *: Literal.) -> Image. -> JPEG.Image.

Encode an image as JPEG, with given quality and metadata.

jpegMIME.JPEG.Image. : Prism. MIME. JPEG.Image.

Cairo

Drawing

type Drawing.Cairo. +a

Something that can be drawn.

<>.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a -> Drawing.Cairo. a

concat1.Drawing.Cairo. : List1.List. (Drawing.Cairo. a) -> Drawing.Cairo. a

empty.Drawing.Cairo. : Drawing.Cairo. a

concat.Drawing.Cairo. : List. (Drawing.Cairo. a) -> Drawing.Cairo. a

map.Drawing.Cairo. : (a -> b) -> Drawing.Cairo. a -> Drawing.Cairo. b

pure.Drawing.Cairo. : a -> Drawing.Cairo. a

ap.Drawing.Cairo. : Drawing.Cairo. (a -> b) -> Drawing.Cairo. a -> Drawing.Cairo. b

liftA2.Drawing.Cairo. : (a -> b -> c) -> Drawing.Cairo. a -> Drawing.Cairo. b -> Drawing.Cairo. c

**.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. b -> Drawing.Cairo. (a *: b)

>>.Drawing.Cairo. : Drawing.Cairo. Any -> Drawing.Cairo. a -> Drawing.Cairo. a

toImage.Drawing.Cairo. : Integer. *: Integer. -> Drawing.Cairo. Any -> Image.

Position

position.Drawing.Cairo. : Drawing.Cairo. (Number. *: Number.)

ifPoint.Drawing.Cairo. : (Number. *: Number. -> Boolean.) -> Drawing.Cairo. a -> Drawing.Cairo. a

Restrict actions based on point

ifInRect.Drawing.Cairo. : (Number. *: Number.) *: Number. *: Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Restrict actions to within a rectangle, as ((left,top),(width,height))

Transformation

translate.Drawing.Cairo. : Number. *: Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Translate a drawing

rotate.Drawing.Cairo. : Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Rotate a drawing

scale.Drawing.Cairo. : Number. *: Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Scale a drawing

Properties

source.Drawing.Cairo. : AlphaColour. -> Drawing.Cairo. a -> Drawing.Cairo. a

Set the source colour

width.Drawing.Cairo. : Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Use this width for line

joinMitre.Drawing.Cairo. : Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Use a mitred line join, with limit

joinRound.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

Use a round line join

joinBevel.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

Use a bevel line join

capButt.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

Use a butt line cap

capRound.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

Use a round line cap

capSquare.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

Use a square line cap

dash.Drawing.Cairo. : List. Number. -> Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

Use a dash pattern for line

fillRuleNonZero.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

fill for non-zero winding number

fillRuleOdd.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

fill for odd winding number

fontFace.Drawing.Cairo. : Text. -> Boolean. -> Boolean. -> Drawing.Cairo. a -> Drawing.Cairo. a

fontSize.Drawing.Cairo. : Number. -> Drawing.Cairo. a -> Drawing.Cairo. a

clear.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

source.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

over.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

in.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

out.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

atop.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

dest.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

destOver.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

destIn.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

destOut.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

destAtop.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

xor.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

add.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

saturate.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

multiply.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

screen.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

overlay.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

darken.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

lighten.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

colorDodge.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

colorBurn.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

hardLight.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

softLight.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

difference.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

exclusion.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

hslHue.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

hslSaturation.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

hslColor.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

hslLuminosity.Operator.Drawing.Cairo. : Drawing.Cairo. a -> Drawing.Cairo. a

Painting

paint.Drawing.Cairo. : Drawing.Cairo. None

Paint everywhere (within the clip)

paintAlpha.Drawing.Cairo. : Number. -> Drawing.Cairo. None

Paint everywhere with this alpha (within the clip)

Path

type Path.Cairo.

A path on a drawing.

<>.Path.Cairo. : Path.Cairo. -> Path.Cairo. -> Path.Cairo.

concat1.Path.Cairo. : List1.List. Path.Cairo. -> Path.Cairo.

empty.Path.Cairo. : Path.Cairo.

concat.Path.Cairo. : List. Path.Cairo. -> Path.Cairo.

Construction

close.Path.Cairo. : Path.Cairo.

close the path into a loop

moveTo.Path.Cairo. : Number. *: Number. -> Path.Cairo.

move to this point

lineTo.Path.Cairo. : Number. *: Number. -> Path.Cairo.

draw a line to this point

curveTo.Path.Cairo. : Number. *: Number. -> Number. *: Number. -> Number. *: Number. -> Path.Cairo.

draw a curve to this point

relMoveTo.Path.Cairo. : Number. *: Number. -> Path.Cairo.

move by this displacement

relLineTo.Path.Cairo. : Number. *: Number. -> Path.Cairo.

draw a line by this displacement

relCurveTo.Path.Cairo. : Number. *: Number. -> Number. *: Number. -> Number. *: Number. -> Path.Cairo.

draw a curve by this displacement

rectangle.Path.Cairo. : Number. *: Number. -> Number. *: Number. -> Path.Cairo.

draw a rectangle

arc.Path.Cairo. : Number. *: Number. -> Number. -> Number. -> Number. -> Path.Cairo.

arc center radius angle1 angle2

arcNegative.Path.Cairo. : Number. *: Number. -> Number. -> Number. -> Number. -> Path.Cairo.

arcNegative center radius angle1 angle2

text.Path.Cairo. : Text. -> Path.Cairo.

Drawing

stroke.Path.Cairo. : Path.Cairo. -> Drawing.Cairo. None

Draw this path

fill.Path.Cairo. : Path.Cairo. -> Drawing.Cairo. None

Fill this path

clip.Path.Cairo. : Path.Cairo. -> Drawing.Cairo. a -> Drawing.Cairo. a

Clip drawing to this path

Patterns

type Pattern.Cairo.

source.Pattern.Cairo. : Pattern.Cairo. -> Drawing.Cairo. a -> Drawing.Cairo. a

mask.Pattern.Cairo. : Pattern.Cairo. -> Drawing.Cairo. None

solid.Pattern.Cairo. : AlphaColour. -> Pattern.Cairo.

linear.Pattern.Cairo. : List. (Number. *: AlphaColour.) -> Number. *: Number. -> Number. *: Number. -> Pattern.Cairo.

radial.Pattern.Cairo. : List. (Number. *: AlphaColour.) -> Number. *: Number. -> Number. -> Number. *: Number. -> Number. -> Pattern.Cairo.

From Drawings

colorDrawing.Pattern.Cairo. : Drawing.Cairo. Any -> Pattern.Cairo.

alphaDrawing.Pattern.Cairo. : Drawing.Cairo. Any -> Pattern.Cairo.

colorAlphaDrawing.Pattern.Cairo. : Drawing.Cairo. Any -> Pattern.Cairo.