Graphics

Graphics

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── HippoRectangle

Includes

#include <hippo/hippo-graphics.h>

Description

Functions

hippo_rectangle_get_type ()

GType
hippo_rectangle_get_type (void);


hippo_rectangle_intersect ()

gboolean
hippo_rectangle_intersect (const HippoRectangle *src1,
                           const HippoRectangle *src2,
                           HippoRectangle *dest);


hippo_rectangle_equal ()

gboolean
hippo_rectangle_equal (const HippoRectangle *r1,
                       const HippoRectangle *r2);


hippo_rectangle_copy ()

HippoRectangle *
hippo_rectangle_copy (HippoRectangle *r);


hippo_rectangle_free ()

void
hippo_rectangle_free (HippoRectangle *r);


hippo_cairo_set_source_rgba32 ()

void
hippo_cairo_set_source_rgba32 (cairo_t *cr,
                               guint32 color);


hippo_cairo_pattern_add_stop_rgba32 ()

void
hippo_cairo_pattern_add_stop_rgba32 (cairo_pattern_t *pattern,
                                     double offset,
                                     guint32 color);

Types and Values

HIPPO_TYPE_RECTANGLE

#define HIPPO_TYPE_RECTANGLE (hippo_rectangle_get_type())


enum HippoOrientation

Members

HIPPO_ORIENTATION_VERTICAL

   

HIPPO_ORIENTATION_HORIZONTAL

   

enum HippoSide

Members

HIPPO_SIDE_TOP

   

HIPPO_SIDE_BOTTOM

   

HIPPO_SIDE_LEFT

   

HIPPO_SIDE_RIGHT

   

enum HippoGravity

Members

HIPPO_GRAVITY_NORTH_WEST

   

HIPPO_GRAVITY_NORTH_EAST

   

HIPPO_GRAVITY_SOUTH_EAST

   

HIPPO_GRAVITY_SOUTH_WEST

   

HippoRectangle

typedef struct {
    int x;
    int y;
    int width;
    int height;
} HippoRectangle;