Files
vectorcraft/crates/svg/tests/it/main.rs
T
Don Omondi 9259434a89 SVG export: a gradient mesh patch is cut no finer than its colour changes
Each patch of a gradient mesh was cut into 8 x 8 flat quads for SVG export,
Object > Expand and the other outputs that cannot shade a mesh, whatever its
colours, so a patch of one colour became 64 identical pieces. Neighbouring
quads are now joined into square blocks wherever the colour changes by no
more than about one 8-bit step across the block; the block's outline runs
through its quads' corners, and a patch that folds over itself is not joined.
2026-10-31 19:43:16 +07:00

38 lines
848 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! Integration tests: one test binary for the crate, one module per area.
// Unwrapping and panicking on failure is fine here, unlike in shipped code (AGENTS.md › Robustness).
#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
mod basic_shapes;
mod blend_export;
mod colour_glyphs;
mod container_export;
mod css_rules;
mod dash_align;
mod data_attributes;
mod effects_export;
mod encoding_profile_fonts;
mod focal;
mod font_weights;
mod foreign_attributes;
mod gradients;
mod ids;
mod import_details;
mod import_live;
mod import_text;
mod import_units;
mod interactivity;
mod mask_options;
mod mesh_export;
mod non_scaling_stroke;
mod options;
mod prop_svg;
mod raster_paints;
mod roundtrip;
mod stroke_export;
mod svg_glyphs;
mod symbols_layers;
mod text_layout;
mod text_paint_order;
mod text_stroke;
mod title_control_chars;