Class

AgsGuiCartesian

[]

Description

class AgsGui.Cartesian : Gtk.Widget
  implements Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
  flags: AgsCartesianFlags,
  x_margin: gdouble,
  y_margin: gdouble,
  center: gdouble,
  line_width: gdouble,
  point_radius: gdouble,
  font_size: gdouble,
  x_step_width: gdouble,
  y_step_height: gdouble,
  x_scale_step_width: gdouble,
  y_scale_step_height: gdouble,
  x_step: gdouble,
  y_step: gdouble,
  x_start: gdouble,
  x_end: gdouble,
  y_start: gdouble,
  y_end: gdouble,
  x_unit_x0: gdouble,
  x_unit_y0: gdouble,
  x_unit_size: gdouble,
  x_unit: gchar*,
  y_unit_x0: gdouble,
  y_unit_y0: gdouble,
  y_unit_size: gdouble,
  y_unit: gchar*,
  x_label_start: gdouble,
  x_label_step_width: gdouble,
  x_label: gchar**,
  y_label_start: gdouble,
  y_label_step_height: gdouble,
  y_label: gchar**,
  step_conversion_func: gdouble (* step_conversion_func) (
    gdouble current,
    gboolean is_abscissae,
    gpointer data
  ),
  translate_func: void (* translate_func) (
    gdouble x,
    gdouble y,
    gdouble* ret_x,
    gdouble* ret_y,
    gpointer data
  ),
  x_small_scale_func: gdouble (* x_small_scale_func) (
    gdouble value,
    gpointer data
  ),
  x_big_scale_func: gdouble (* x_big_scale_func) (
    gdouble value,
    gpointer data
  ),
  y_small_scale_func: gdouble (* y_small_scale_func) (
    gdouble value,
    gpointer data
  ),
  y_big_scale_func: gdouble (* y_big_scale_func) (
    gdouble value,
    gpointer data
  ),
  x_label_func: gchar* (* x_label_func) (
    gdouble value,
    gpointer data
  ),
  y_label_func: gchar* (* y_label_func) (
    gdouble value,
    gpointer data
  ),
  x_step_data: gpointer,
  x_step_factor: gdouble,
  y_step_data: gpointer,
  y_step_factor: gdouble,
  translate_data: gpointer,
  x_translate_point: gdouble,
  y_translate_point: gdouble,
  x_scale_data: gpointer,
  x_small_scale_factor: gdouble,
  x_big_scale_factor: gdouble,
  y_scale_data: gpointer,
  y_small_scale_factor: gdouble,
  y_big_scale_factor: gdouble,
  x_label_data: gpointer,
  x_label_factor: gdouble,
  x_label_precision: gdouble,
  y_label_data: gpointer,
  y_label_factor: gdouble,
  y_label_precision: gdouble,
  surface: cairo_surface_t*,
  plot: GList*
}

No description available.

[]

Constructors

ags_cartesian_new

Create a new instance of AgsCartesian.

since: 3.0.0

[]

Functions

ags_cartesian_linear_step_conversion_func

Perform linear step conversion.

since: 3.0.0

ags_cartesian_linear_translate_func

Perform linear translation.

since: 3.0.0

ags_cartesian_linear_x_big_scale_func

Labeling function of x big scale.

since: 3.0.0

ags_cartesian_linear_x_label_func

Format x label value appropriately.

since: 3.0.0

ags_cartesian_linear_x_small_scale_func

Labeling function of x small scale.

since: 3.0.0

ags_cartesian_linear_y_big_scale_func

Labeling function of y big scale.

since: 3.0.0

ags_cartesian_linear_y_label_func

Format y label value appropriately.

since: 3.0.0

ags_cartesian_linear_y_small_scale_func

Labeling function of y small scale.

since: 3.0.0

[]

Instance methods

ags_cartesian_add_plot

Add plot to cartesian.

since: 3.0.0

ags_cartesian_fill_label

Fill x label if do_x_label, otherwise y label.

since: 3.0.0

ags_cartesian_get_center

Get center of cartesian.

since: 3.2.0

ags_cartesian_get_font_size

Get font size of cartesian.

since: 3.2.0

ags_cartesian_get_line_width

Get line width of cartesian.

since: 3.2.0

ags_cartesian_get_point_radius

Get point radius.

since: 3.2.0

ags_cartesian_get_surface

Get cairo surface of cartesian.

since: 3.2.0

ags_cartesian_get_x_big_scale_factor

Get x big scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_end

Get x end of cartesian.

since: 3.2.0

ags_cartesian_get_x_label

Get x label of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_factor

Get x label factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_precision

Get x label precision of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_start

Get x label start of cartesian.

since: 3.2.0

ags_cartesian_get_x_label_step_width

Get x label step width.

since: 3.2.0

ags_cartesian_get_x_margin

Get x margin of cartesian.

since: 3.2.0

ags_cartesian_get_x_scale_step_width

Get x scale step width of cartesian.

since: 3.2.0

ags_cartesian_get_x_small_scale_factor

Get x small scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_start

Get x start of cartesian.

since: 3.2.0

ags_cartesian_get_x_step

Get x step of cartesian.

since: 3.2.0

ags_cartesian_get_x_step_factor

Get x step factor of cartesian.

since: 3.2.0

ags_cartesian_get_x_step_width

Get x step width of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit

Get x unit of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit_size

Get x unit size of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit_x0

Get x unit x0 of cartesian.

since: 3.2.0

ags_cartesian_get_x_unit_y0

Get x unit y0 of cartesian.

since: 3.2.0

ags_cartesian_get_y_big_scale_factor

Get y big scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_end

Get y end of cartesian.

since: 3.2.0

ags_cartesian_get_y_label

Get y label of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_factor

Get y label factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_precision

Get y label precision of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_start

Get y label start of cartesian.

since: 3.2.0

ags_cartesian_get_y_label_step_height

Get y label step height of cartesian.

since: 3.2.0

ags_cartesian_get_y_margin

Get y margin of cartesian.

since: 3.2.0

ags_cartesian_get_y_scale_step_height

Get y scale step height of cartesian.

since: 3.2.0

ags_cartesian_get_y_small_scale_factor

Get y small scale factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_start

Get y start of cartesian.

since: 3.2.0

ags_cartesian_get_y_step

Get y step of cartesian.

since: 3.2.0

ags_cartesian_get_y_step_factor

Get y step factor of cartesian.

since: 3.2.0

ags_cartesian_get_y_step_height

Get y step height.

since: 3.2.0

ags_cartesian_get_y_unit

Get y unit of cartesian.

since: 3.2.0

ags_cartesian_get_y_unit_size

Get y unit size of cartesian.

since: 3.2.0

ags_cartesian_get_y_unit_x0

Get y unit x0 of cartesian.

since: 3.2.0

ags_cartesian_get_y_unit_y0

Get y unit y0 of cartesian.

since: 3.2.0

ags_cartesian_reallocate_label

Reallocate x label if do_x_label, otherwise y label.

since: 3.0.0

ags_cartesian_remove_plot

Remove plot from cartesian.

since: 3.0.0

ags_cartesian_set_center

Set center of cartesian.

since: 3.2.0

ags_cartesian_set_font_size

Set font size of cartesian.

since: 3.2.0

ags_cartesian_set_line_width

Set line width of cartesian.

since: 3.2.0

ags_cartesian_set_point_radius

Set point radius.

since: 3.2.0

ags_cartesian_set_x_big_scale_factor

Set x big scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_end

Set x end of cartesian.

since: 3.2.0

ags_cartesian_set_x_label

Set x label of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_factor

Set x label factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_precision

Set x label precision of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_start

Set x label start of cartesian.

since: 3.2.0

ags_cartesian_set_x_label_step_width

Set x label step width of cartesian.

since: 3.2.0

ags_cartesian_set_x_margin

Set x margin of cartesian.

since: 3.2.0

ags_cartesian_set_x_scale_step_width

Set x scale step width of cartesian.

since: 3.2.0

ags_cartesian_set_x_small_scale_factor

Set x small scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_start

Set x start of cartesian.

since: 3.2.0

ags_cartesian_set_x_step

Set x step of cartesian.

since: 3.2.0

ags_cartesian_set_x_step_factor

Set x step factor of cartesian.

since: 3.2.0

ags_cartesian_set_x_step_width

Set x step width of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit

Set x unit of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit_size

Set x unit size of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit_x0

Set x unit x0 of cartesian.

since: 3.2.0

ags_cartesian_set_x_unit_y0

Set x unit y0 of cartesian.

since: 3.2.0

ags_cartesian_set_y_big_scale_factor

Set y big scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_end

Set y end of cartesian.

since: 3.2.0

ags_cartesian_set_y_label

Set y label of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_factor

Set y label factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_precision

Set y label precision of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_start

Set y label start of cartesian.

since: 3.2.0

ags_cartesian_set_y_label_step_height

Set y label step height of cartesian.

since: 3.2.0

ags_cartesian_set_y_margin

Set y margin of cartesian.

since: 3.2.0

ags_cartesian_set_y_scale_step_height

Set y scale step height of cartesian.

since: 3.2.0

ags_cartesian_set_y_small_scale_factor

Set y small scale factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_start

Set y start of cartesian.

since: 3.2.0

ags_cartesian_set_y_step

Set y step of cartesian.

since: 3.2.0

ags_cartesian_set_y_step_factor

Set y step factor of cartesian.

since: 3.2.0

ags_cartesian_set_y_step_height

Set y step height of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit

Set y unit of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit_size

Set y unit size of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit_x0

Set y unit x0 of cartesian.

since: 3.2.0

ags_cartesian_set_y_unit_y0

Set y unit y0 of cartesian.

since: 3.2.0

Methods inherited from GtkWidget (162)
Methods inherited from GObject (43)
Methods inherited from GtkAccessible (19)
Methods inherited from GtkBuildable (1)
[]

Properties

AgsGui.Cartesian:center

The center of lines.

since: 3.0.0

AgsGui.Cartesian:font-size

The font’s size to draw labels and units.

since: 3.0.0

AgsGui.Cartesian:line-width

The line width.

since: 3.0.0

AgsGui.Cartesian:plot

The GList-struct containig AgsPlot.

since: 4.0.0

AgsGui.Cartesian:point-radius

The points radius.

since: 3.0.0

AgsGui.Cartesian:surface

The cairo surface.

since: 4.0.0

AgsGui.Cartesian:translate-data

The data to pass to translate function.

since: 4.0.0

AgsGui.Cartesian:x-big-scale-factor

The scale factor to use with x big scale function.

since: 4.0.0

AgsGui.Cartesian:x-end

The x end.

since: 3.0.0

AgsGui.Cartesian:x-label

The x labels as a string array.

since: 3.0.0

AgsGui.Cartesian:x-label-data

The data to pass to x label conversion function.

since: 4.0.0

AgsGui.Cartesian:x-label-factor

The factor to use with x label function.

since: 4.0.0

AgsGui.Cartesian:x-label-precision

The precision to use with x label function.

since: 4.0.0

AgsGui.Cartesian:x-label-start

The x label start position.

since: 3.0.0

AgsGui.Cartesian:x-label-step-width

The x label step width.

since: 3.0.0

AgsGui.Cartesian:x-margin

The horizontal x margin.

since: 3.0.0

AgsGui.Cartesian:x-scale-data

The data to pass to x scale conversion function.

since: 4.0.0

AgsGui.Cartesian:x-scale-step-width

The width of a x scale step.

since: 3.0.0

AgsGui.Cartesian:x-small-scale-factor

The scale factor to use with x small scale function.

since: 4.0.0

AgsGui.Cartesian:x-start

The x start.

since: 3.0.0

AgsGui.Cartesian:x-step

The x step.

since: 3.0.0

AgsGui.Cartesian:x-step-data

The data to pass to x step conversion function.

since: 4.0.0

AgsGui.Cartesian:x-step-factor

The step factor to use with x step conversion function.

since: 4.0.0

AgsGui.Cartesian:x-step-width

The width of a x step.

since: 3.0.0

AgsGui.Cartesian:x-translate-point

The x translate point.

since: 4.0.0

AgsGui.Cartesian:x-unit

The x unit label.

since: 3.0.0

AgsGui.Cartesian:x-unit-size

The x unit’s size.

since: 4.0.0

AgsGui.Cartesian:x-unit-x0

The x unit’s x0 position.

since: 3.0.0

AgsGui.Cartesian:x-unit-y0

The x unit’s y0 position.

since: 3.0.0

AgsGui.Cartesian:y-big-scale-factor

The scale factor to use with y big scale function.

since: 4.0.0

AgsGui.Cartesian:y-end

The y end.

since: 3.0.0

AgsGui.Cartesian:y-label

The y labels as a string array.

since: 3.0.0

AgsGui.Cartesian:y-label-data

The data to pass to y label conversion function.

since: 4.0.0

AgsGui.Cartesian:y-label-factor

The factor to use with y label function.

since: 4.0.0

AgsGui.Cartesian:y-label-precision

The precision to use with y label function.

since: 4.0.0

AgsGui.Cartesian:y-label-start

The y label start position.

since: 3.0.0

AgsGui.Cartesian:y-label-step-height

The y label step height.

since: 3.0.0

AgsGui.Cartesian:y-margin

The horizontal y margin.

since: 3.0.0

AgsGui.Cartesian:y-scale-data

The data to pass to y scale conversion function.

since: 4.0.0

AgsGui.Cartesian:y-scale-step-height

The height of a y scale step.

since: 3.0.0

AgsGui.Cartesian:y-small-scale-factor

The scale factor to use with y small scale function.

since: 4.0.0

AgsGui.Cartesian:y-start

The y start.

since: 3.0.0

AgsGui.Cartesian:y-step

The y step.

since: 3.0.0

AgsGui.Cartesian:y-step-data

The data to pass to y step conversion function.

since: 4.0.0

AgsGui.Cartesian:y-step-factor

The step factor to use with y step conversion function.

since: 4.0.0

AgsGui.Cartesian:y-step-height

The height of a y step.

since: 3.0.0

AgsGui.Cartesian:y-translate-point

The y translate point.

since: 4.0.0

AgsGui.Cartesian:y-unit

The y unit label.

since: 3.0.0

AgsGui.Cartesian:y-unit-size

The y unit’s size.

since: 4.0.0

AgsGui.Cartesian:y-unit-x0

The y unit’s x0 position.

since: 3.0.0

AgsGui.Cartesian:y-unit-y0

The y unit’s y0 position.

since: 3.0.0

Properties inherited from GtkWidget (34)
Properties inherited from GtkAccessible (1)
[]

Signals

Signals inherited from GtkWidget (13)
Signals inherited from GObject (1)

Class structure