mirror of
https://github.com/visioncortex/vtracer.git
synced 2025-12-06 17:15:41 -08:00
Update svg.rs (#92)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
use std::fmt;
|
use std::fmt;
|
||||||
use visioncortex::{Color, CompoundPath, PointF64};
|
use visioncortex::{Color, CompoundPath, PointF64};
|
||||||
|
|
||||||
|
#[derive(Clone, Debug)]
|
||||||
pub struct SvgFile {
|
pub struct SvgFile {
|
||||||
pub paths: Vec<SvgPath>,
|
pub paths: Vec<SvgPath>,
|
||||||
pub width: usize,
|
pub width: usize,
|
||||||
@@ -8,6 +9,7 @@ pub struct SvgFile {
|
|||||||
pub path_precision: Option<u32>,
|
pub path_precision: Option<u32>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Clone, Debug)]
|
||||||
pub struct SvgPath {
|
pub struct SvgPath {
|
||||||
pub path: CompoundPath,
|
pub path: CompoundPath,
|
||||||
pub color: Color,
|
pub color: Color,
|
||||||
|
|||||||
Reference in New Issue
Block a user