Re-exportsยง
pub use linear::MAX_CACHED_SIZE as LINEAR_MAX_CACHED_SIZE;
pub use linear::*;
pub use radial::*;
pub use conic::*;
Modulesยง
Structsยง
- Gradient
Data ๐Entry - An entry in a gradient data table representing a segment of the gradient color space.
- Gradient
GpuBlock Builder - Gradient
Stop Key - A hashable gradient stop that can be used in primitive keys.
Enumsยง
Constantsยง
- GRADIENT_
DATA_ FIRST_ STOP - GRADIENT_
DATA_ LAST_ STOP - GRADIENT_
DATA_ SIZE - GRADIENT_
DATA_ TABLE_ BEGIN - GRADIENT_
DATA_ TABLE_ END - GRADIENT_
DATA_ TABLE_ SIZE
Functionsยง
- apply_
gradient_ local_ clip - gpu_
gradient_ ๐stops_ blocks - stops_
and_ ๐min_ alpha - write_
gpu_ ๐gradient_ stops_ header_ and_ colors - write_
gpu_ ๐gradient_ stops_ linear - Builds the gpu representation for common gradient parameters and returns whether the gradient is fully opaque.
- write_
gpu_ ๐gradient_ stops_ tree