skia_safe/modules/svg/
shape.rs1mod circle;
2mod ellipse;
3mod line;
4mod path;
5mod poly;
6mod rect;
7
8pub use self::{circle::Circle, ellipse::Ellipse, line::Line, path::Path, poly::Poly, rect::Rect};
9
10use super::{DebugAttributes, NodeSubtype};
11use crate::prelude::*;
12use skia_bindings as sb;
13
14pub type Shape = RCHandle<sb::SkSVGShape>;
15
16impl NodeSubtype for sb::SkSVGShape {
17 type Base = sb::SkSVGTransformableNode;
18}
19
20impl DebugAttributes for Shape {
21 const NAME: &'static str = "Shape";
22
23 fn _dbg(&self, builder: &mut std::fmt::DebugStruct) {
24 self.as_base()._dbg(builder);
25 }
26}