Expand description
Shaded fills — gradient patterns and Gouraud-shaded triangles.
Replaces Splash::shadedFill and Splash::gouraudTriangleShadedFill.
§Module layout (named for orientation; visibility varies)
axial—crate::AxialPattern: linear gradient along an axis vectorradial—crate::RadialPattern: gradient between two circlesfunction—crate::FunctionPattern: PDF function sampled per pixelgouraud—gouraud_triangle_fill: vertex-coloured triangle scan
§Entry point
shaded_fill is a thin wrapper around fill::fill / fill::eo_fill
that passes the pattern as a PipeSrc::Pattern. The gradient patterns
implement Pattern and are injected by the caller (typically pdf_bridge).
Modules§
- axial
- Axial (linear) gradient pattern (PDF §8.7.4.5, type 2).
- function
- Function-based shading pattern.
- gouraud
- Gouraud-shaded triangle fill —
Splash::gouraudTriangleShadedFill. - radial
- Radial gradient pattern (PDF §8.7.4.5, type 3).
Functions§
- shaded_
fill - Fill
pathusing a shading pattern as the colour source.