Inkscape
Vector Graphics Editor
|
#include <toy-framework-2.h>
Public Member Functions | |
PointSetHandle () | |
void | draw (cairo_t *cr, bool annotes=false) override |
void * | hit (Geom::Point mouse) override |
void | move_to (void *hit, Geom::Point om, Geom::Point m) override |
void | push_back (double x, double y) |
void | push_back (Geom::Point pt) |
unsigned | size () |
Geom::D2< Geom::SBasis > | asBezier () |
void | load (FILE *f) override |
void | save (FILE *f) override |
![]() | |
Handle () | |
virtual | ~Handle () |
Public Attributes | |
std::vector< Geom::Point > | pts |
![]() | |
std::string | name |
float | rgb [3] |
Definition at line 180 of file toy-framework-2.h.
|
inline |
Definition at line 182 of file toy-framework-2.h.
Geom::D2< Geom::SBasis > PointSetHandle::asBezier | ( | ) |
Definition at line 913 of file toy-framework-2.cpp.
Referenced by LPEToy::draw().
|
overridevirtual |
Implements Handle.
Definition at line 874 of file toy-framework-2.cpp.
References draw_circ(), draw_number(), Handle::name, and pts.
|
overridevirtual |
Implements Handle.
Definition at line 881 of file toy-framework-2.cpp.
References Geom::distance(), and pts.
Referenced by move_to().
|
overridevirtual |
Implements Handle.
Definition at line 895 of file toy-framework-2.cpp.
References pts, and read_point().
|
overridevirtual |
|
inline |
|
inline |
Definition at line 189 of file toy-framework-2.h.
References pts.
|
overridevirtual |
|
inline |
std::vector<Geom::Point> PointSetHandle::pts |
Definition at line 183 of file toy-framework-2.h.
Referenced by asBezier(), draw(), hit(), load(), push_back(), push_back(), save(), and size().