mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 21:27:00 -06:00
Revert "Merge pull request #4203 from storytold/fix/sonar-s2208-remaining"
This reverts commit15e4054f7a, reversing changes made tod7a2591dc0.
This commit is contained in:
@@ -6,7 +6,7 @@ use vectorcraft_doc::{Node, NodeKind};
|
||||
use vectorcraft_geom::Point;
|
||||
use vectorcraft_text::test_fonts::{COLOUR_CHAR, COLOUR_LARGE, colour_bitmap_family, colour_bitmap_font};
|
||||
|
||||
use super::{Affine, Document, RenderOptions, Rendered, Renderer};
|
||||
use super::*;
|
||||
|
||||
/// 100 pt [`COLOUR_CHAR`] in the colour bitmap test font (`sbix` or `CBDT`), filled blue, its
|
||||
/// baseline at (20, 120), on a white 160×160 page.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Drawing again only what an edit changed gives the pixels of drawing it all again.
|
||||
|
||||
use super::{Affine, Arc, Changed, Document, Node, NodeId, NodeKind, Rect, RenderOptions, Rendered, Renderer, changed, kurbo, view_pixels};
|
||||
use super::*;
|
||||
use vectorcraft_color::{Color, Paint};
|
||||
use vectorcraft_doc::Appearance;
|
||||
use vectorcraft_geom::{Point, shapes};
|
||||
|
||||
@@ -7,7 +7,7 @@ use vectorcraft_doc::{Node, NodeKind};
|
||||
use vectorcraft_geom::Point;
|
||||
use vectorcraft_text::test_fonts::{COLOUR_CHAR, COLR_SWEEP_CHAR, colr_family, colr_font};
|
||||
|
||||
use super::{Affine, Document, RenderOptions, Rendered, Renderer};
|
||||
use super::*;
|
||||
|
||||
/// 100 pt `text` in the COLR test font (v1 or v0), filled magenta, its baseline at (20, 120)
|
||||
/// turned by `turn` about there, on a white 160×160 page.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Dithered gradient fills: fine noise instead of bands, the same colours on average, the same
|
||||
//! pixels on every render, and nothing changed without dither or on strokes.
|
||||
|
||||
use super::{Affine, Document, Rect, RenderOptions, Rendered, Renderer, dither};
|
||||
use super::*;
|
||||
use vectorcraft_color::{Color, Gradient, GradientKind, GradientPaint, GradientStop, Paint};
|
||||
use vectorcraft_doc::{Appearance, Node};
|
||||
use vectorcraft_geom::shapes;
|
||||
|
||||
Reference in New Issue
Block a user