Re-exports
pub use codec::Codec;pub use codec::EncodedOrigin;
Modules
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
- FFI interoperability for skia-safe’s wrapper types.
- All Sk* types are accessible via skia_safe::
- All Sk* types are accessible via skia_safe::
Macros
- Macro to mark a Rust type as NativeTransmutable and test its layout.
- Macro that implements Send and Sync.
- Macro that verifies a variant name at compile time.
Structs
- Specify
bandc(each between 0…1) to create a shader that applies the corresponding cubic reconstruction filter to the image. - FilterOptionsDeprecated
- Wraps a native type that can be represented in Rust memory.
- Represents a
Canvasthat is owned and dropped when it goes out of scope and is bound to the lifetime of some other value (an array of pixels for example). - A wrapper type represented by a reference counted pointer to the native type.
- A wrapper type that represents a native type with a pointer to the native object.
Enums
- Skia | GL_COMPRESSED_* | MTLPixelFormat* | VK_FORMAT_*_BLOCK
Constants
Traits
- All Sk* types are accessible via skia_safe::
- Implement this trait to use a pixel type in
Handle<Pixmap>::pixels(). - All Sk* types are accessible via skia_safe::
Functions
Type Definitions
Bitmapdescribes a two-dimensional raster pixel array.Bitmapis built onImageInfo, containing integer width and height,ColorTypeandAlphaTypedescribing the pixel format, andColorSpacedescribing the range of colors.Bitmappoints toPixelRef, which describes the physical array of pixels.ImageInfobounds may be located anywhere fully inside PixelRef bounds.- Blender represents a custom blend function in the Skia pipeline. When an Blender is present in a paint, the
BlendModeis ignored. A blender combines a source color (the result of our paint) and destination color (from the canvas) into a final color. - BudgetedDeprecated
- MaskFilter is the base class for object that perform transformations on the mask before drawing it. An example subclass is Blur.
- SamplingModeDeprecated
Surfaceis responsible for managing the pixels that a canvas draws into. The pixels can be allocated either in CPU memory (a raster surface) or on the GPU (aRenderTargetsurface).Surfacetakes care of allocating aCanvasthat will draw into the surface. Callsurface_get_canvas()to use that canvas (but don’t delete it, it is owned by the surface).Surfacealways has non-zero dimensions. If there is a request for a new surface, and either of the requested dimensions are zero, thenNonewill be returned.- Specifies the structure of planes for a YUV image with optional alpha. The actual planar data is not part of this structure and depending on usage is in external textures or pixmaps.
- Helper to store Pixmap planes as described by a YUVAPixmapInfo. Can be responsible for allocating/freeing memory for pixmaps or use external memory.