cr-types

cr-types — Gobject Boxed wrappers for passing data in signals and language wrapping.

Synopsis

#define             CR_TYPE_POINTS
                    CrPoints;
CrPoints*           cr_points_new                       (void);
GType               cr_points_get_type                  (void);
CrPoints*           cr_points_ref                       (CrPoints *);
void                cr_points_unref                     (CrPoints *);
#define             CR_TYPE_BOUNDS
                    CrBounds;
CrBounds*           cr_bounds_new                       (void);
GType               cr_bounds_get_type                  (void);
CrBounds*           cr_bounds_ref                       (CrBounds *);
void                cr_bounds_unref                     (CrBounds *);
#define             CR_TYPE_DEVICE_BOUNDS
                    CrDeviceBounds;
CrDeviceBounds*     cr_device_bounds_new                (void);
GType               cr_device_bounds_get_type           (void);
CrDeviceBounds*     cr_device_bounds_ref                (CrDeviceBounds *);
void                cr_device_bounds_unref              (CrDeviceBounds *);
#define             CR_TYPE_PATTERN
GType               cr_pattern_get_type                 (void);
typedef             CrPattern;
#define             CR_TYPE_SURFACE
GType               cr_surface_get_type                 (void);
typedef             CrSurface;
#define             CR_TYPE_MATRIX
typedef             CrMatrix;
GType               cr_matrix_get_type                  (void);
#define             CR_TYPE_CONTEXT
typedef             CrContext;
GType               cr_context_get_type                 (void);

Description

Details

CR_TYPE_POINTS

#define CR_TYPE_POINTS (cr_points_get_type())


CrPoints

typedef struct {
        GArray *array;
        int ref_count;
} CrPoints;


cr_points_new ()

CrPoints*           cr_points_new                       (void);

Returns :


cr_points_get_type ()

GType               cr_points_get_type                  (void);

Returns :


cr_points_ref ()

CrPoints*           cr_points_ref                       (CrPoints *);

Param1 :

Returns :


cr_points_unref ()

void                cr_points_unref                     (CrPoints *);

Param1 :


CR_TYPE_BOUNDS

#define CR_TYPE_BOUNDS (cr_bounds_get_type())


CrBounds

typedef struct {
    double x1, y1, x2, y2;
    int ref_count;
} CrBounds;


cr_bounds_new ()

CrBounds*           cr_bounds_new                       (void);

Returns :


cr_bounds_get_type ()

GType               cr_bounds_get_type                  (void);

Returns :


cr_bounds_ref ()

CrBounds*           cr_bounds_ref                       (CrBounds *);

Param1 :

Returns :


cr_bounds_unref ()

void                cr_bounds_unref                     (CrBounds *);

Param1 :


CR_TYPE_DEVICE_BOUNDS

#define CR_TYPE_DEVICE_BOUNDS (cr_device_bounds_get_type())


CrDeviceBounds

typedef struct {
        double x1, y1, x2, y2;
        GtkAnchorType anchor;
        int ref_count;
} CrDeviceBounds;


cr_device_bounds_new ()

CrDeviceBounds*     cr_device_bounds_new                (void);

Returns :


cr_device_bounds_get_type ()

GType               cr_device_bounds_get_type           (void);

Returns :


cr_device_bounds_ref ()

CrDeviceBounds*     cr_device_bounds_ref                (CrDeviceBounds *);

Param1 :

Returns :


cr_device_bounds_unref ()

void                cr_device_bounds_unref              (CrDeviceBounds *);

Param1 :


CR_TYPE_PATTERN

#define CR_TYPE_PATTERN (cr_pattern_get_type())


cr_pattern_get_type ()

GType               cr_pattern_get_type                 (void);

Returns :


CrPattern

typedef cairo_pattern_t CrPattern;


CR_TYPE_SURFACE

#define CR_TYPE_SURFACE (cr_surface_get_type())


cr_surface_get_type ()

GType               cr_surface_get_type                 (void);

Returns :


CrSurface

typedef cairo_surface_t CrSurface;


CR_TYPE_MATRIX

#define CR_TYPE_MATRIX (cr_matrix_get_type())


CrMatrix

typedef cairo_matrix_t CrMatrix;


cr_matrix_get_type ()

GType               cr_matrix_get_type                  (void);

Returns :


CR_TYPE_CONTEXT

#define CR_TYPE_CONTEXT (cr_context_get_type())


CrContext

typedef cairo_t CrContext;


cr_context_get_type ()

GType               cr_context_get_type                 (void);

Returns :