Functions | |
| std::vector< std::pair< Vec2d, Vec2d > > | text_strokes (const std::string &text, double height, Vec2d &size) |
| void | paint_back_to_front (std::vector< PlanePiece > &&in, size_t k, const std::vector< SketchPlane > &planes, double eps, const Vec3d &eye, const Vec3d &forward, bool perspective, std::vector< PlanePiece > &out) |
| double | label_height (double half) |
| Vec2d | label_centre (double half, const Vec2d &size) |
| Vec2d | datum_label_anchor (double half) |
| bool | is_base_plane (int base) |
| Vec3d | reference_octant () |
| double | poly_signed_area (const std::vector< Vec2d > &p) |
| bool | pt_in_tri (const Vec2d &p, const Vec2d &a, const Vec2d &b, const Vec2d &c) |
| std::vector< std::array< unsigned, 3 > > | ear_clip (const std::vector< Vec2d > &poly) |
| double | rad (double deg) |
| void | poly (std::vector< std::pair< Vec2d, Vec2d > > &out, std::initializer_list< Vec2d > p) |
| void | arc (std::vector< std::pair< Vec2d, Vec2d > > &out, double cx, double cy, double rx, double ry, double a0, double a1, int n=14) |
| void | glyph_strokes (char c, std::vector< std::pair< Vec2d, Vec2d > > &out, double &advance) |
Variables | |
| constexpr double | kPi = 3.14159265358979323846 |
| void Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::arc | ( | std::vector< std::pair< Vec2d, Vec2d > > & | out, |
| double | cx, | ||
| double | cy, | ||
| double | rx, | ||
| double | ry, | ||
| double | a0, | ||
| double | a1, | ||
| int | n = 14 ) |
References arc().
Referenced by arc(), and glyph_strokes().
| Vec2d Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::datum_label_anchor | ( | double | half | ) |
References datum_label_anchor().
Referenced by datum_label_anchor().
| std::vector< std::array< unsigned, 3 > > Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::ear_clip | ( | const std::vector< Vec2d > & | poly | ) |
References ear_clip(), poly(), poly_signed_area(), and pt_in_tri().
Referenced by ear_clip().
| void Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::glyph_strokes | ( | char | c, |
| std::vector< std::pair< Vec2d, Vec2d > > & | out, | ||
| double & | advance ) |
References arc(), glyph_strokes(), kPi, poly(), and rad().
Referenced by glyph_strokes(), and text_strokes().
| bool Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::is_base_plane | ( | int | base | ) |
References is_base_plane().
Referenced by is_base_plane().
| Vec2d Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::label_centre | ( | double | half, |
| const Vec2d & | size ) |
References label_centre().
Referenced by label_centre().
| double Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::label_height | ( | double | half | ) |
References label_height().
Referenced by label_height().
| void Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::paint_back_to_front | ( | std::vector< PlanePiece > && | in, |
| size_t | k, | ||
| const std::vector< SketchPlane > & | planes, | ||
| double | eps, | ||
| const Vec3d & | eye, | ||
| const Vec3d & | forward, | ||
| bool | perspective, | ||
| std::vector< PlanePiece > & | out ) |
References Slic3r::f(), and paint_back_to_front().
Referenced by paint_back_to_front().
| void Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::poly | ( | std::vector< std::pair< Vec2d, Vec2d > > & | out, |
| std::initializer_list< Vec2d > | p ) |
References poly().
Referenced by ear_clip(), glyph_strokes(), and poly().
| double Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::poly_signed_area | ( | const std::vector< Vec2d > & | p | ) |
References poly_signed_area().
Referenced by ear_clip(), and poly_signed_area().
| bool Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::pt_in_tri | ( | const Vec2d & | p, |
| const Vec2d & | a, | ||
| const Vec2d & | b, | ||
| const Vec2d & | c ) |
References Slic3r::cross(), and pt_in_tri().
Referenced by ear_clip(), and pt_in_tri().
|
inline |
Referenced by glyph_strokes(), and rad().
| Vec3d Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::reference_octant | ( | ) |
References reference_octant().
Referenced by reference_octant().
| std::vector< std::pair< Vec2d, Vec2d > > Slic3r::GUI::anonymous_namespace{DesignSketchTool.cpp}::text_strokes | ( | const std::string & | text, |
| double | height, | ||
| Vec2d & | size ) |
References Slic3r::BoundingBoxBase< PointType, APointsType >::center(), Slic3r::BoundingBoxBase< PointType, APointsType >::defined, glyph_strokes(), Slic3r::BoundingBoxBase< PointType, APointsType >::merge(), Slic3r::BoundingBoxBase< PointType, APointsType >::size(), and text_strokes().
Referenced by text_strokes().
|
constexpr |
Referenced by glyph_strokes(), and rad().