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: 1.0.0


AGS_IS_SCALE_AREA()

#define AGS_IS_SCALE_AREA(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SCALE_AREA))

AGS_SCALE_AREA()

#define AGS_SCALE_AREA(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SCALE_AREA, AgsScaleArea))

AGS_SCALE_AREA_CLASS()

#define AGS_SCALE_AREA_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SCALE_AREA, AgsScaleAreaClass))

AGS_SCALE_AREA_GET_CLASS()

#define AGS_SCALE_AREA_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SCALE_AREA, AgsScaleAreaClass))

ags_scale_area_get_type ()

GType
ags_scale_area_get_type (void);

Types and Values

AGS_SCALE_AREA_DEFAULT_HEIGHT

#define AGS_SCALE_AREA_DEFAULT_HEIGHT (128)

AGS_TYPE_SCALE_AREA

#define AGS_TYPE_SCALE_AREA                (ags_scale_area_get_type())

struct AgsScaleArea

struct AgsScaleArea;

struct AgsScaleAreaClass

struct AgsScaleAreaClass {
  GObjectClass gobject;
};