mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 02:09:00 +00:00
craft-metafile: format pict.rs and lib.rs
This commit is contained in:
@@ -45,8 +45,8 @@ use std::sync::Arc;
|
||||
|
||||
use bytes::Bytes;
|
||||
use canvas::Raw;
|
||||
use geom::{Op, P};
|
||||
pub use eof::ends_early;
|
||||
use geom::{Op, P};
|
||||
pub use pict::{is_pict, parse as parse_pict};
|
||||
pub use place::{MAX_BITMAP_SIDE, PlacedClip, PlacedItem, bez_path, crop_window};
|
||||
pub use size::size;
|
||||
|
||||
@@ -916,12 +916,7 @@ impl Pict {
|
||||
});
|
||||
}
|
||||
PaintChoice::Tile(tile) => {
|
||||
self.push(Raw::Pattern {
|
||||
ops,
|
||||
even_odd,
|
||||
tile,
|
||||
region,
|
||||
});
|
||||
self.push(Raw::Pattern { ops, even_odd, tile, region });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user