/usr/include/hippo-canvas-1/hippo/hippo-canvas-image.h is in libhippocanvas-dev 0.3.1-1.1.
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 | /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#ifndef __HIPPO_CANVAS_IMAGE_H__
#define __HIPPO_CANVAS_IMAGE_H__
/* A canvas item that renders a Cairo image surface */
#include "hippo-canvas-item.h"
#include "hippo-canvas-box.h"
#include <cairo.h>
G_BEGIN_DECLS
typedef struct _HippoCanvasImage HippoCanvasImage;
typedef struct _HippoCanvasImageClass HippoCanvasImageClass;
#define HIPPO_TYPE_CANVAS_IMAGE (hippo_canvas_image_get_type ())
#define HIPPO_CANVAS_IMAGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), HIPPO_TYPE_CANVAS_IMAGE, HippoCanvasImage))
#define HIPPO_CANVAS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HIPPO_TYPE_CANVAS_IMAGE, HippoCanvasImageClass))
#define HIPPO_IS_CANVAS_IMAGE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), HIPPO_TYPE_CANVAS_IMAGE))
#define HIPPO_IS_CANVAS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HIPPO_TYPE_CANVAS_IMAGE))
#define HIPPO_CANVAS_IMAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HIPPO_TYPE_CANVAS_IMAGE, HippoCanvasImageClass))
struct _HippoCanvasImage {
HippoCanvasBox box;
cairo_surface_t *surface;
char *image_name;
int scale_width;
int scale_height;
};
struct _HippoCanvasImageClass {
HippoCanvasBoxClass parent_class;
};
GType hippo_canvas_image_get_type (void) G_GNUC_CONST;
HippoCanvasItem* hippo_canvas_image_new (void);
G_END_DECLS
#endif /* __HIPPO_CANVAS_IMAGE_H__ */
|