summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-beos-private.h
blob: b572353badbea91e4d37e00afa7945dedd766a51 (plain)
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
#ifndef _CAIRO_BOILERPLATE_BEOS_PRIVATE_H_
#define _CAIRO_BOILERPLATE_BEOS_PRIVATE_H_

/* Two functions: One for a real window, one for a bitmap */

#include <cairo.h>

CAIRO_BEGIN_DECLS

extern cairo_surface_t *
_cairo_boilerplate_beos_create_surface (const char              *name,
					cairo_content_t          content,
					int                      width,
					int                      height,
					cairo_boilerplate_mode_t mode,
					void                   **closure);

extern void
_cairo_boilerplate_beos_cleanup (void* closure);

extern cairo_surface_t *
_cairo_boilerplate_beos_create_surface_for_bitmap (const char              *name,
						   cairo_content_t          content,
						   int                      width,
						   int                      height,
						   cairo_boilerplate_mode_t mode,
						   void                   **closure);

extern void
_cairo_boilerplate_beos_cleanup_bitmap (void* closure);

CAIRO_END_DECLS

#endif