struct SvgShape {
segments: Vec<Segment>,
paint: SvgPaint,
stroke_half_width: Option<f32>,
bbox: (f32, f32, f32, f32),
}Expand description
1 つの描画図形(塗りまたはストローク)
Fields§
§segments: Vec<Segment>§paint: SvgPaint§stroke_half_width: Option<f32>None なら Even-Odd 塗り、Some(half_w) なら線分からの距離 <= half_w のストローク描画
bbox: (f32, f32, f32, f32)Auto Trait Implementations§
impl Freeze for SvgShape
impl RefUnwindSafe for SvgShape
impl Send for SvgShape
impl Sync for SvgShape
impl Unpin for SvgShape
impl UnsafeUnpin for SvgShape
impl UnwindSafe for SvgShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more