/usr/include/hippo-canvas-1/hippo/hippo-graphics.h is in libhippocanvas-dev 0.3.1-1.2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#ifndef __HIPPO_GRAPHICS_H__
#define __HIPPO_GRAPHICS_H__
#include <glib-object.h>
#include <cairo.h>
G_BEGIN_DECLS
#define HIPPO_TYPE_RECTANGLE (hippo_rectangle_get_type())
typedef enum
{
HIPPO_ORIENTATION_VERTICAL,
HIPPO_ORIENTATION_HORIZONTAL
} HippoOrientation;
typedef enum
{
HIPPO_SIDE_TOP,
HIPPO_SIDE_BOTTOM,
HIPPO_SIDE_LEFT,
HIPPO_SIDE_RIGHT
} HippoSide;
typedef enum{
HIPPO_GRAVITY_NORTH_WEST,
HIPPO_GRAVITY_NORTH_EAST,
HIPPO_GRAVITY_SOUTH_EAST,
HIPPO_GRAVITY_SOUTH_WEST
} HippoGravity;
typedef struct {
int x;
int y;
int width;
int height;
} HippoRectangle;
GType hippo_rectangle_get_type (void) G_GNUC_CONST;
gboolean hippo_rectangle_intersect (const HippoRectangle *src1,
const HippoRectangle *src2,
HippoRectangle *dest);
gboolean hippo_rectangle_equal (const HippoRectangle *r1,
const HippoRectangle *r2);
HippoRectangle *hippo_rectangle_copy (HippoRectangle *r);
void hippo_rectangle_free (HippoRectangle *r);
void hippo_cairo_set_source_rgba32 (cairo_t *cr,
guint32 color);
void hippo_cairo_pattern_add_stop_rgba32 (cairo_pattern_t *pattern,
double offset,
guint32 color);
G_END_DECLS
#endif /* __HIPPO_GRAPHICS_H__ */
|