Module shared_surface

Source
Expand description

Shared access to Cairo image surfaces.

Structs§

Exclusive
ImageSurface
Wrapper for a Cairo image surface that enforces exclusive access when modifying it.
Rows
Iterator over the rows of a SharedImageSurface.
RowsMut
Iterator over the mutable rows of an ExclusiveImageSurface.
Shared

Enums§

AlphaOnly
Alpha-only.
Horizontal
Horizontal blur direction.
Interpolation
Interpolation when scaling images.
NotAlphaOnly
Not alpha-only.
Operator
Operators supported by ImageSurface<Shared>::compose.
SurfaceType
Types of pixel data in a ImageSurface.
Vertical
Vertical blur direction.

Traits§

BlurDirection
A compile-time blur direction variable.
IsAlphaOnly
A compile-time alpha-only marker variable.

Functions§

composite_arithmetic
Performs the arithmetic composite operation. Public for benchmarking.

Type Aliases§

ExclusiveImageSurface
Exclusive state of ImageSurface
SharedImageSurface
Shared state of ImageSurface