#include <papyrus/grid.h>
Inheritance diagram for Papyrus::Grid:

Public Types | |
|
typedef PapyrusSmartPointer< Grid > | pointer |
Public Member Functions | |
| Grid (double xmin=-infinity, double xmax=infinity, double ymin=-infinity, double ymax=infinity) | |
| double | x_min () |
| void | set_x_min (double min) |
| double | x_max () |
| void | set_x_max (double max) |
| void | x_min_max (double &min, double &max) |
| void | set_x_min_max (double min, double max) |
| double | y_min () |
| void | set_y_min (double min) |
| double | y_max () |
| void | set_y_max (double max) |
| void | y_min_max (double &min, double &max) |
| void | set_y_min_max (double min, double max) |
| void | xy_min_max (double &x_min, double &x_max, double &y_min, double &y_max) |
| void | set_xy_min_max (double x_min, double x_max, double y_min, double y_max) |
| void | enable_axis (unsigned which=X_AXIS|Y_AXIS) |
| void | disable_axis (unsigned which=X_AXIS|Y_AXIS) |
| const LineStyle & | x_axis_style () const |
| void | set_x_axis_style (const LineStyle &style) |
| const LineStyle & | y_axis_style () const |
| void | set_y_axis_style (const LineStyle &style) |
| void | set_xy_axis_style (const LineStyle &style) |
| void | enable_border (unsigned which=TOP|RIGHT|BOTTOM|LEFT) |
| void | disable_border (unsigned which=TOP|RIGHT|BOTTOM|LEFT) |
| void | set_border_style (const LineStyle &style, unsigned which=TOP|RIGHT|BOTTOM|LEFT) |
| double | x_interval () |
| void | set_x_interval (double x_interval) |
| const LineStyle & | x_interval_style () |
| void | set_x_interval_style (const LineStyle &) |
| double | y_interval () |
| void | set_y_interval (double y_interval) |
| const LineStyle & | y_interval_style () |
| void | set_y_interval_style (const LineStyle &) |
| void | xy_interval (double &x_interval, double &y_interval) |
| void | set_xy_interval (double interval) |
| void | set_xy_interval (double x_interval, double y_interval) |
| void | xy_interval_style (LineStyle &x_style, LineStyle &y_style) |
| void | set_xy_interval_style (const LineStyle &style) |
| void | set_xy_interval_style (const LineStyle &x_style, const LineStyle &y_style) |
| virtual void | draw (Cairo::RefPtr< Cairo::Context > cairo) |
| Draws on the provided context. | |
| PAPYRUS_CLONE_METHOD (Grid) | |
Static Public Member Functions | |
| static pointer | create (double xmin=-infinity, double xmax=infinity, double ymin=-infinity, double ymax=infinity) |
Static Public Attributes | |
| static const double | infinity |
Protected Attributes | |
| LineStyle | m_x_axis_style |
| LineStyle | m_y_axis_style |
| LineStyle | m_x_interval_style |
| LineStyle | m_y_interval_style |
| LineStyle | m_border_style [4] |
| double | m_x_min |
| double | m_x_max |
| double | m_y_min |
| double | m_y_max |
| double | m_x_interval |
| double | m_y_interval |
| unsigned int | m_enabled_axes |
| unsigned int | m_enabled_borders |
1.5.1