Home
last modified time | relevance | path

Searched refs:PointType (Results 1 – 2 of 2) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Dgraphicspath.rs2 pub enum PointType { enum
14 pub points: Vec<(i32, i32, PointType)>,
29 self.points.push((x, y, PointType::Move)); in move_to()
36 self.points.push((x, y, PointType::Connect)); in line_to()
66 self.points.push((x as i32, y as i32, PointType::Connect)); in quadratic_bezier_curve_to()
113 self.points.push((x as i32, y as i32, PointType::Connect)); in cubic_bezier_curve_to()
H A Drenderer.rs5 graphicspath::{GraphicsPath, PointType},
439 if let PointType::Connect = point.2 { in draw_path()