Searched refs:PointType (Results 1 – 2 of 2) sorted by relevance
/StarryEngine/starry_client/src/base/ |
H A D | graphicspath.rs | 2 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 D | renderer.rs | 5 graphicspath::{GraphicsPath, PointType}, 439 if let PointType::Connect = point.2 { in draw_path()
|