A (possibly named) circular Item which is Connectable.
More...
#include <Ellipse.hpp>
List of all members.
Public Member Functions |
| Ellipse (boost::shared_ptr< Canvas > canvas, const std::string &name, double x, double y, double x_radius, double y_radius, bool show_title=true) |
virtual | ~Ellipse () |
Gnome::Art::Point | src_connection_point () |
virtual Gnome::Art::Point | dst_connection_point (const Gnome::Art::Point &src) |
virtual Gnome::Art::Point | connection_point_vector (double dx, double dy) |
void | add_connection (boost::shared_ptr< Connection > c) |
bool | point_is_within (double x, double y) |
void | zoom (double z) |
void | resize () |
virtual void | move (double dx, double dy) |
virtual void | move_to (double x, double y) |
virtual void | load_location () |
virtual void | store_location () |
virtual void | set_name (const std::string &n) |
void | set_width (double w) |
void | set_height (double h) |
double | border_width () const |
void | set_border_width (double w) |
void | select_tick () |
void | set_selected (bool b) |
void | set_highlighted (bool b) |
void | set_border_color (uint32_t c) |
void | set_base_color (uint32_t c) |
void | set_default_base_color () |
Protected Member Functions |
bool | is_within (const Gnome::Canvas::Rect &rect) |
Protected Attributes |
double | _border_width |
bool | _title_visible |
Gnome::Canvas::Ellipse | _ellipse |
Gnome::Canvas::Text * | _label |
Detailed Description
A (possibly named) circular Item which is Connectable.
Unlike a Module, this doesn't contain ports, but is directly Connectable itself (think your classic circles 'n' lines diagram, ala FSM).
Constructor & Destructor Documentation
FlowCanvas::Ellipse::Ellipse |
( |
boost::shared_ptr< Canvas > |
canvas, |
|
|
const std::string & |
name, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
x_radius, |
|
|
double |
y_radius, |
|
|
bool |
show_title = true | |
|
) |
| | |
virtual FlowCanvas::Ellipse::~Ellipse |
( |
|
) |
[virtual] |
Member Function Documentation
Gnome::Art::Point FlowCanvas::Ellipse::src_connection_point |
( |
|
) |
[inline, virtual] |
virtual Gnome::Art::Point FlowCanvas::Ellipse::dst_connection_point |
( |
const Gnome::Art::Point & |
src |
) |
[virtual] |
virtual Gnome::Art::Point FlowCanvas::Ellipse::connection_point_vector |
( |
double |
dx, |
|
|
double |
dy | |
|
) |
| | [virtual] |
void FlowCanvas::Ellipse::add_connection |
( |
boost::shared_ptr< Connection > |
c |
) |
[virtual] |
bool FlowCanvas::Ellipse::point_is_within |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | |
void FlowCanvas::Ellipse::zoom |
( |
double |
z |
) |
|
void FlowCanvas::Ellipse::resize |
( |
|
) |
|
virtual void FlowCanvas::Ellipse::move |
( |
double |
dx, |
|
|
double |
dy | |
|
) |
| | [virtual] |
virtual void FlowCanvas::Ellipse::move_to |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | [virtual] |
virtual void FlowCanvas::Ellipse::load_location |
( |
|
) |
[inline, virtual] |
virtual void FlowCanvas::Ellipse::store_location |
( |
|
) |
[inline, virtual] |
virtual void FlowCanvas::Ellipse::set_name |
( |
const std::string & |
n |
) |
[virtual] |
void FlowCanvas::Ellipse::set_width |
( |
double |
w |
) |
|
void FlowCanvas::Ellipse::set_height |
( |
double |
h |
) |
|
double FlowCanvas::Ellipse::border_width |
( |
|
) |
const [inline] |
void FlowCanvas::Ellipse::set_border_width |
( |
double |
w |
) |
|
void FlowCanvas::Ellipse::select_tick |
( |
|
) |
|
void FlowCanvas::Ellipse::set_selected |
( |
bool |
b |
) |
|
void FlowCanvas::Ellipse::set_highlighted |
( |
bool |
b |
) |
|
void FlowCanvas::Ellipse::set_border_color |
( |
uint32_t |
c |
) |
|
void FlowCanvas::Ellipse::set_base_color |
( |
uint32_t |
c |
) |
|
void FlowCanvas::Ellipse::set_default_base_color |
( |
|
) |
|
bool FlowCanvas::Ellipse::is_within |
( |
const Gnome::Canvas::Rect & |
rect |
) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following file: