mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Refactor paint for strict Clippy checks
This commit is contained in:
1 parent
2a3135d796
commit
2b0b11848c
2 files changed
+5
-2
No files matched your search
@@ -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,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.
|
||||
|
||||
Reference in new issue
Block a user