tizen 2.3.1 release
[framework/graphics/cairo.git] / src / cairo-image-filters-private.h
1 /* -*- Mode: c; tab-width: 8; c-basic-offset: 4; indent-tabs-mode: t; -*- */
2 /* cairo - a vector graphics library with display and print output
3  *
4  * Copyright © 2003 University of Southern California
5  * Copyright © 2009,2010,2011 Intel Corporation
6  * Copyright © 2013 Samsung Research America, Silicon Valley
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it either under the terms of the GNU Lesser General Public
10  * License version 2.1 as published by the Free Software Foundation
11  * (the "LGPL") or, at your option, under the terms of the Mozilla
12  * Public License Version 1.1 (the "MPL"). If you do not alter this
13  * notice, a recipient may use your version of this file under either
14  * the MPL or the LGPL.
15  *
16  * You should have received a copy of the LGPL along with this library
17  * in the file COPYING-LGPL-2.1; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
19  * You should have received a copy of the MPL along with this library
20  * in the file COPYING-MPL-1.1
21  *
22  * The contents of this file are subject to the Mozilla Public License
23  * Version 1.1 (the "License"); you may not use this file except in
24  * compliance with the License. You may obtain a copy of the License at
25  * http://www.mozilla.org/MPL/
26  *
27  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
28  * OF ANY KIND, either express or implied. See the LGPL or the MPL for
29  * the specific language governing rights and limitations.
30  *
31  * The Original Code is the cairo graphics library.
32  *
33  * The Initial Developer of the Original Code is University of Southern
34  * California.
35  *
36  * Contributor(s):
37  *      Henry Song <henry.song@samsung.com>
38  */
39
40 /* The purpose of this file/surface is to simply translate a pattern
41  * to a pixman_image_t and thence to feed it back to the general
42  * compositor interface.
43  */
44
45 #ifndef CAIRO_IMAGE_FILTERS_PRIVATE_H
46 #define CAIRO_IMAGE_FILTERS_PRIVATE_H
47
48 #include "cairoint.h"
49
50 #define MAX_BLUR_SIZE 256
51
52 cairo_private cairo_surface_t *
53 _cairo_image_gaussian_filter (cairo_surface_t *src,
54                               const cairo_pattern_t *pattern);
55
56 #endif /* CAIRO_IMAGE_FILTERS_PRIVATE_H */