AgsScaleArea

AgsScaleArea — area scales

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsScaleArea

Implemented Interfaces

AgsScaleArea implements AgsConnectable.

Includes

#include <ags/X/editor/ags_scale_area.h>

Description

The AgsScaleArea lets you paint scales.

Functions

ags_scale_area_find_specifier ()

GList *
ags_scale_area_find_specifier (GList *scale_area,
                               gchar *specifier);


ags_scale_area_paint ()

void
ags_scale_area_paint (AgsScaleArea *scale_area,
                      cairo_t *cr,
                      gdouble x_offset,
                      gdouble y_offset);


ags_scale_area_new ()

AgsScaleArea *
ags_scale_area_new (GtkDrawingArea *drawing_area,
                    gchar *control_name,
                    gdouble lower,
                    gdouble upper,
                    gdouble steps);

Create a new AgsScaleArea.

Parameters

drawing_area

the assigned GtkDrawingArea

 

control_name

the control name

 

lower

lower bound

 

upper

upper bound

 

steps

n-steps

 

Returns

a new AgsScaleArea

Since: 0.4.3

Types and Values

AGS_SCALE_AREA_DEFAULT_HEIGHT

#define AGS_SCALE_AREA_DEFAULT_HEIGHT (128)