Refactor paint for strict Clippy checks

This commit is contained in:
Dylan M. Taylor committed 2026-10-27 23:47:06 +00:00
1 parent 2a3135d796
commit 2b0b11848c
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ use std::time::Instant;
use photocraft_color::{PixelFormat, SampleType};
use photocraft_geom::Rect;
use photocraft_paint::*;
use photocraft_paint::{BrushSettings, Dynamic, Scattering, ShapeDynamics, StrokePoint, StrokeRenderer, Texture, presets};
use photocraft_raster::Surface;
fn run(fmt: PixelFormat, label: &str, brush: &BrushSettings) {
+4 -1
View File
@@ -4,7 +4,10 @@
//! Special Effects. Every preset is plain [`BrushSettings`] data, so it serialises, journals and
//! can be edited like any user preset.
use crate::brush::*;
use crate::brush::{
BrushPreset, BrushSettings, ColorDynamics, Control, DualBrush, Dynamic, MaskMode, Pattern, PatternStyle, Scattering, ShapeDynamics, Smoothing, Texture,
TipShape, Transfer,
};
use crate::procedural::{bristle_tip, chalk_tip, charcoal_tip, grass_tip, leaf_tip, rake_tip, spatter_tip, sponge_tip, star_tip};
/// Preset groups, in panel order.