1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT
//! Software rendering pipeline: container widgets, rendering primitives,
//! and pixel operations.
//!
//! Sub-modules:
//! - `containers`: `impl SoftwareSurface` block with lifecycle, config, text shaping,
//! gradient fill, and clip stack methods
//! - `primitives`: `impl SoftwareSurface` block with all rendering primitives
//! (rect, circle, line, text, image, etc.)
//! - `pixel_ops`: Pixel-level operations (fill_pixels, blend_pixel, set_pixel) and
//! coverage/geometry helpers for anti-aliased rendering
//!
//! # Scanline fills: three implementations, three semantics
//!
//! Three fills deliberately coexist and must not be merged; each answers a different question
//! (G-204):
//! - `primitives::fill_polygon` — the hard-edged baseline: binary in/out coverage, no winding.
//! - `primitives::fill_path_non_zero_borrowed` — non-zero winding rule for `FillPathNonZero`.
//! - `containers::path_coverage` — a 4× vertically sub-sampled coverage mask for path clipping.
//!
//! New fill needs (a different fill rule, or a different sampling density) must be derived from
//! `path_coverage` by parameterising its sub-sampling, rather than adding a fourth intersection
//! loop.
// The depth-buffered `3d` mesh rasteriser, compiled only with the `3d` feature.
pub use ;
// Re-export internal helper used by surface.rs
pub use pixel_bytes_len;
// Invalidates cached text measurements when the faces a family resolves to change.
pub use invalidate_text_measurements;
// The one conic rasteriser and its ramp builder, shared by `fill_rect_gradient` and the
// `DrawConicGradient` command arm (G-203).
pub use ;
// Bounded coordinate arithmetic shared by the software and SVG backends.
pub use ;
// The glyph geometry both renderers read.
pub use glyph_rects;