summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/cairo/src/cairo-beos.h
blob: 375c930cc6b169776c464f1f3fee9b27cf19fb3a (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef CAIRO_BEOS_H
#define CAIRO_BEOS_H

#include "cairo.h"

#if CAIRO_HAS_BEOS_SURFACE

#include <View.h>

CAIRO_BEGIN_DECLS

cairo_public cairo_surface_t *
cairo_beos_surface_create (BView* view);

cairo_public cairo_surface_t *
cairo_beos_surface_create_for_bitmap (BView*   view,
				      BBitmap* bmp);

CAIRO_END_DECLS

#else  /* CAIRO_HAS_BEOS_SURFACE */
# error Cairo was not compiled with support for the beos backend
#endif /* CAIRO_HAS_BEOS_SURFACE */

#endif /* CAIRO_BEOS_H */