Graphics.Rendering.Cairo

Drawing

renderWith

save

restore

status

withTargetSurface

pushGroup

pushGroupWithContent

popGroupToSource

setSourceRGB

setSourceRGBA

setSource

setSourceSurface

getSource

setAntialias

setDash

setFillRule

getFillRule

setLineCap

getLineCap

setLineJoin

getLineJoin

setLineWidth

getLineWidth

setMiterLimit

getMiterLimit

setOperator

getOperator

setTolerance

getTolerance

clip

clipPreserve

clipExtents

resetClip

fill

fillPreserve

fillExtents

inFill

mask

maskSurface

paint

paintWithAlpha

stroke

strokePreserve

strokeExtents

inStroke

copyPage

showPage

Paths

getCurrentPoint

newPath

closePath

arc

arcNegative

curveTo

lineTo

moveTo

rectangle

textPath

relCurveTo

relLineTo

relMoveTo

Patterns

withRGBPattern

withRGBAPattern

withPatternForSurface

withGroupPattern

withLinearPattern

withRadialPattern

patternAddColorStopRGB

patternAddColorStopRGBA

patternSetMatrix

patternGetMatrix

patternSetExtend

patternGetExtend

patternSetFilter

patternGetFilter

Transformations

translate

scale

rotate

transform

setMatrix

getMatrix

identityMatrix

userToDevice

userToDeviceDistance

deviceToUser

deviceToUserDistance

Text

selectFontFace

setFontSize

setFontMatrix

getFontMatrix

setFontOptions

showText

fontExtents

textExtents

Fonts

Font options

fontOptionsCreate

fontOptionsCopy

fontOptionsMerge

fontOptionsHash

fontOptionsEqual

fontOptionsSetAntialias

fontOptionsGetAntialias

fontOptionsSetSubpixelOrder

fontOptionsGetSubpixelOrder

fontOptionsSetHintStyle

fontOptionsGetHintStyle

fontOptionsSetHintMetrics

fontOptionsGetHintMetrics

Surfaces

withSimilarSurface

createSimilarSurface

renderWithSimilarSurface

surfaceGetFontOptions

surfaceFinish

surfaceFlush

surfaceMarkDirty

surfaceMarkDirtyRectangle

surfaceSetDeviceOffset

Image surfaces

withImageSurface

withImageSurfaceForData

formatStrideForWidth

createImageSurfaceForData

createImageSurface

imageSurfaceGetWidth

imageSurfaceGetHeight

imageSurfaceGetFormat

imageSurfaceGetStride

imageSurfaceGetData

data SurfaceData i e

imageSurfaceGetPixels

PNG support

withImageSurfaceFromPNG

imageSurfaceCreateFromPNG

surfaceWriteToPNG

PDF surfaces

withPDFSurface

pdfSurfaceSetSize

PS surfaces

withPSSurface

psSurfaceSetSize

SVG surfaces

withSVGSurface

Regions

regionCreate

regionCreateRectangle

regionCreateRectangles

regionCopy

regionGetExtents

regionNumRectangles

regionGetRectangle

regionIsEmpty

regionContainsPoint

regionContainsRectangle

regionEqual

regionTranslate

regionIntersect

regionIntersectRectangle

regionSubtract

regionSubtractRectangle

regionUnion

regionUnionRectangle

regionXor

regionXorRectangle

Utilities

liftIO

version

versionString

class CairoString s

Types

data Render m

data Matrix

data Surface

data Pattern

data Status

data Operator

data Antialias

data FillRule

data LineCap

data LineJoin

data ScaledFont

data FontFace

data Glyph

data TextExtents

data FontExtents

data FontSlant

data FontWeight

data SubpixelOrder

data HintStyle

data HintMetrics

data FontOptions

data Path

data RectangleInt

data RegionOverlap

data Region

data Content

data Format

data Extend

data Filter