[][src]Crate cairo

Cairo bindings

This library contains safe Rust bindings for Cairo. It is a part of Gtk-rs.

Crate features

Default-on features

Fileformat features

Cairo API version features

Documentation features

X Window features

Windows API features

Structs

Context
Device
FontExtents
FontFace
FontOptions
Glyph
Gradient
ImageSurface
ImageSurfaceData
LinearGradient
MappedImageSurface
Matrix
Mesh
Path

Paths are the most basic drawing tools and are primarily used to implicitly generate simple masks.

PathSegments
Pattern
PdfOutline
PdfSurface
PsSurface
QuartzSurface
RadialGradient
RecordingSurface
Rectangle
RectangleInt
RectangleList
Region
ScaledFont
SolidPattern
StreamWithError
Surface
SurfacePattern
SvgSurface
TextCluster
TextExtents
UserDataKey

A key for indexing user data in various cairo types.

Version
Win32Surface
XCBConnection
XCBDrawable
XCBPixmap
XCBRenderPictFormInfo
XCBScreen
XCBSurface
XCBVisualType

Enums

Antialias
BorrowError
Content
DeviceType
Error
Extend
FillRule
Filter
FontSlant
FontType
FontWeight
Format
FtSynthesize
HintMetrics
HintStyle
IoError
LineCap
LineJoin
MeshCorner
Operator
PathDataType
PathSegment
PatternType
PdfMetadata
PdfVersion
PsLevel
RegionOverlap
ScriptMode
SubpixelOrder
SurfaceType
SvgUnit
SvgVersion
TextClusterFlags

Constants

CAIRO_TAG_DEST
CAIRO_TAG_LINK
MIME_TYPE_CCITT_FAX
MIME_TYPE_CCITT_FAX_PARAMS
MIME_TYPE_EPS
MIME_TYPE_EPS_PARAMS
MIME_TYPE_JBIG2
MIME_TYPE_JBIG2_GLOBAL
MIME_TYPE_JBIG2_GLOBAL_ID
MIME_TYPE_JP2
MIME_TYPE_JPEG
MIME_TYPE_PNG
MIME_TYPE_UNIQUE_ID
MIME_TYPE_URI
PDF_OUTLINE_ROOT

Functions

debug_reset_static_data
get_version_string