source: trunk/third/librsvg/art_render_mask.h @ 17277

Revision 17277, 1.5 KB checked in by amb, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17276, which included commits to RCS files with non-trunk default branches.
Line 
1/* This file is adapted from art_render_mask.h in Libart version 2.4.0 */
2
3#include <libart_lgpl/libart-features.h>
4
5#if LIBART_MAJOR_VERSION == 2 && LIBART_MINOR_VERSION < 4
6
7/*
8 * art_render_mask.h: Alpha mask source for modular rendering.
9 *
10 * Libart_LGPL - library of basic graphic primitives
11 * Copyright (C) 2000 Raph Levien
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Library General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 * Library General Public License for more details.
22 *
23 * You should have received a copy of the GNU Library General Public
24 * License along with this library; if not, write to the
25 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26 * Boston, MA 02111-1307, USA.
27 *
28 * Authors: Raph Levien <raph@acm.org>
29 */
30
31#ifndef __ART_RENDER_MASK_H__
32#define __ART_RENDER_MASK_H__
33
34#ifdef __cplusplus
35extern "C" {
36#endif /* __cplusplus */
37
38void
39art_render_mask (ArtRender *render,
40                 int x0, int y0, int x1, int y1,
41                 const art_u8 *mask_buf, int rowstride);
42
43#ifdef __cplusplus
44}
45#endif /* __cplusplus */
46
47#endif /* __ART_RENDER_MASK_H__ */
48
49#else
50
51#include <libart_lgpl/art_render_svp.h>
52
53#endif
Note: See TracBrowser for help on using the repository browser.