Module rsvg::surface_utils
source · Expand description
Various utilities for working with Cairo image surfaces.
Modules§
- Pixel iterators for
SharedImageSurface
. - Shared access to Cairo image surfaces.
- Utility functions for dealing with sRGB colors.
Enums§
- Modes which specify how the values of out of bounds pixels are computed.
Traits§
- Analogous to
rgb::FromSlice
, to convert from[T]
to[CairoARGB]
- Extension methods for
cairo::ImageSurfaceData
. - Trait to convert pixels in various formats to Cairo’s endian-dependent 0xaarrggbb.
- Trait to convert pixels in various formats to our own Pixel layout.
Type Aliases§
- A pixel consisting of R, G, B and A values.