| Top |
Functions
Properties
| center | Read / Write | |
| font-size | Read / Write | |
| line-width | Read / Write | |
| point-radius | Read / Write | |
| x-end | Read / Write | |
| x-label | Read / Write | |
| x-label-start | Read / Write | |
| x-label-step-width | Read / Write | |
| x-margin | Read / Write | |
| x-scale-step-width | Read / Write | |
| x-start | Read / Write | |
| x-step | Read / Write | |
| x-step-width | Read / Write | |
|
|
x-unit | Read / Write |
| x-unit-x0 | Read / Write | |
| x-unit-y0 | Read / Write | |
| y-end | Read / Write | |
| y-label | Read / Write | |
| y-label-start | Read / Write | |
| y-label-step-height | Read / Write | |
| y-margin | Read / Write | |
| y-scale-step-height | Read / Write | |
| y-start | Read / Write | |
| y-step | Read / Write | |
| y-step-height | Read / Write | |
|
|
y-unit | Read / Write |
| y-unit-x0 | Read / Write | |
| y-unit-y0 | Read / Write |
Types and Values
| #define | AGS_CARTESIAN_DEFAULT_X_MARGIN |
| #define | AGS_CARTESIAN_DEFAULT_Y_MARGIN |
| #define | AGS_CARTESIAN_DEFAULT_X_STEP_WIDTH |
| #define | AGS_CARTESIAN_DEFAULT_Y_STEP_HEIGHT |
| #define | AGS_CARTESIAN_DEFAULT_X_SCALE_STEP_WIDTH |
| #define | AGS_CARTESIAN_DEFAULT_Y_SCALE_STEP_HEIGHT |
| #define | AGS_CARTESIAN_DEFAULT_X_STEP |
| #define | AGS_CARTESIAN_DEFAULT_Y_STEP |
| #define | AGS_CARTESIAN_DEFAULT_X_START |
| #define | AGS_CARTESIAN_DEFAULT_X_END |
| #define | AGS_CARTESIAN_DEFAULT_Y_START |
| #define | AGS_CARTESIAN_DEFAULT_Y_END |
| #define | AGS_CARTESIAN_DEFAULT_X_LABEL_START |
| #define | AGS_CARTESIAN_DEFAULT_X_LABEL_STEP_WIDTH |
| #define | AGS_CARTESIAN_DEFAULT_Y_LABEL_START |
| #define | AGS_CARTESIAN_DEFAULT_Y_LABEL_STEP_HEIGHT |
| enum | AgsCartesianFlags |
| enum | AgsPlotFillFlags |
| struct | AgsPlot |
| #define | AGS_TYPE_CARTESIAN |
| struct | AgsCartesian |
| struct | AgsCartesianClass |
Functions
AGS_CARTESIAN_STEP_CONVERSION_FUNC()
#define AGS_CARTESIAN_STEP_CONVERSION_FUNC(current, is_abscissae, data) ((AgsCartesianStepConversionFunc)(current, is_abscissae, data))
AGS_CARTESIAN_TRANSLATE_FUNCT()
#define AGS_CARTESIAN_TRANSLATE_FUNCT(x, y, ret_x, ret_y, data) ((AgsCartesianTranslateFunc)(x, y, ret_x, ret_y, data))
AGS_CARTESIAN_SCALE_FUNC()
#define AGS_CARTESIAN_SCALE_FUNC(value, data) ((AgsCartesianScaleFunc)(value, data))
AGS_CARTESIAN_LABEL_FUNC()
#define AGS_CARTESIAN_LABEL_FUNC(value, data) ((AgsCartesianLabelFunc)(value, data))
AgsCartesianStepConversionFunc ()
gdouble (*AgsCartesianStepConversionFunc) (,gdouble current,gboolean is_abscissae);gpointer data
AgsCartesianTranslateFunc ()
void (*AgsCartesianTranslateFunc) (,gdouble x,gdouble y,gdouble *ret_x,gdouble *ret_y);gpointer data
ags_cartesian_remove_plot ()
void ags_cartesian_remove_plot (AgsCartesian *cartesian,AgsPlot *plot);
ags_cartesian_linear_step_conversion_func ()
gdouble ags_cartesian_linear_step_conversion_func (,gdouble current,gboolean is_abscissae);gpointer data
ags_cartesian_linear_translate_func ()
void ags_cartesian_linear_translate_func (,gdouble x,gdouble y,gdouble *ret_x,gdouble *ret_y);gpointer data
ags_cartesian_linear_x_small_scale_func ()
gdouble ags_cartesian_linear_x_small_scale_func (,gdouble value);gpointer data
ags_cartesian_linear_x_big_scale_func ()
gdouble ags_cartesian_linear_x_big_scale_func (,gdouble value);gpointer data
ags_cartesian_linear_y_small_scale_func ()
gdouble ags_cartesian_linear_y_small_scale_func (,gdouble value);gpointer data
ags_cartesian_linear_y_big_scale_func ()
gdouble ags_cartesian_linear_y_big_scale_func (,gdouble value);gpointer data
ags_cartesian_linear_x_label_func ()
gchar * ags_cartesian_linear_x_label_func (,gdouble value);gpointer data
ags_cartesian_linear_y_label_func ()
gchar * ags_cartesian_linear_y_label_func (,gdouble value);gpointer data
ags_cartesian_reallocate_label ()
void ags_cartesian_reallocate_label (AgsCartesian *cartesian,);gboolean do_x_label
ags_cartesian_fill_label ()
void ags_cartesian_fill_label (AgsCartesian *cartesian,);gboolean do_x_label
ags_cartesian_new ()
AgsCartesian * ags_cartesian_new ();
Create a new instance of AgsCartesian
Since:
AGS_CARTESIAN()
#define AGS_CARTESIAN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CARTESIAN, AgsCartesian))
AGS_CARTESIAN_CLASS()
#define AGS_CARTESIAN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CARTESIAN, AgsCartesianClass))
AGS_CARTESIAN_GET_CLASS()
#define AGS_CARTESIAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CARTESIAN, AgsCartesianClass))
AGS_IS_CARTESIAN()
#define AGS_IS_CARTESIAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CARTESIAN))
Types and Values
struct AgsPlot
struct AgsPlot {
guint fill_flags;
guint n_points;
gboolean join_points;
gdouble **point;
gdouble **point_color;
gchar **point_label;
guint n_bitmaps;
unsigned char **bitmap;
gdouble **bitmap_color;
guint n_pixmaps;
gdouble ***pixmap;
};
Property Details
The “center” property
“center”gdouble
The center of lines
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 0.5
Since:
The “font-size” property
“font-size”gdouble
The font's size to draw labels and units.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 12
Since:
The “line-width” property
“line-width”gdouble
The line width.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since:
The “point-radius” property
“point-radius”gdouble
The points radius.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since:
The “x-end” property
“x-end”gdouble
The x end.
Owner: AgsCartesian
Flags: Read / Write
Default value: 199
Since:
The “x-label” property
“x-label”gpointer
The x labels as a string array.
Owner: AgsCartesian
Flags: Read / Write
Since:
The “x-label-start” property
“x-label-start”gdouble
The x label start position.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 10
Since:
The “x-label-step-width” property
“x-label-step-width”gdouble
The x label step width.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 50
Since:
The “x-margin” property
“x-margin”gdouble
The horizontal x margin.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 24
Since:
The “x-scale-step-width” property
“x-scale-step-width”gdouble
The width of a x scale step.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 10
Since:
The “x-start” property
“x-start”gdouble
The x start.
Owner: AgsCartesian
Flags: Read / Write
Default value: -60
Since:
The “x-step” property
“x-step”gdouble
The x step.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since:
The “x-step-width” property
“x-step-width”gdouble
The width of a x step.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 10
Since:
The “x-unit” property
“x-unit”gchar *
The x unit label.
Owner: AgsCartesian
Flags: Read / Write
Default value: NULL
Since:
The “x-unit-x0” property
“x-unit-x0”gdouble
The x unit's x0 position.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since:
The “x-unit-y0” property
“x-unit-y0”gdouble
The x unit's y0 position.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since:
The “y-end” property
“y-end”gdouble
The y end.
Owner: AgsCartesian
Flags: Read / Write
Default value: 99
Since:
The “y-label” property
“y-label”gpointer
The y labels as a string array.
Owner: AgsCartesian
Flags: Read / Write
Since:
The “y-label-start” property
“y-label-start”gdouble
The y label start position.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 20
Since:
The “y-label-step-height” property
“y-label-step-height”gdouble
The y label step height.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 50
Since:
The “y-margin” property
“y-margin”gdouble
The horizontal y margin.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 24
Since:
The “y-scale-step-height” property
“y-scale-step-height”gdouble
The height of a y scale step.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 10
Since:
The “y-start” property
“y-start”gdouble
The y start.
Owner: AgsCartesian
Flags: Read / Write
Default value: -70
Since:
The “y-step” property
“y-step”gdouble
The y step.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since:
The “y-step-height” property
“y-step-height”gdouble
The height of a y step.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 10
Since:
The “y-unit” property
“y-unit”gchar *
The y unit label.
Owner: AgsCartesian
Flags: Read / Write
Default value: NULL
Since:
The “y-unit-x0” property
“y-unit-x0”gdouble
The y unit's x0 position.
Owner: AgsCartesian
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Since: