Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:03

0001 /* cairo - a vector graphics library with display and print output
0002  *
0003  * Copyright © 2009 Chris Wilson
0004  *
0005  * This library is free software; you can redistribute it and/or
0006  * modify it either under the terms of the GNU Lesser General Public
0007  * License version 2.1 as published by the Free Software Foundation
0008  * (the "LGPL") or, at your option, under the terms of the Mozilla
0009  * Public License Version 1.1 (the "MPL"). If you do not alter this
0010  * notice, a recipient may use your version of this file under either
0011  * the MPL or the LGPL.
0012  *
0013  * You should have received a copy of the LGPL along with this library
0014  * in the file COPYING-LGPL-2.1; if not, write to the Free Software
0015  * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
0016  * You should have received a copy of the MPL along with this library
0017  * in the file COPYING-MPL-1.1
0018  *
0019  * The contents of this file are subject to the Mozilla Public License
0020  * Version 1.1 (the "License"); you may not use this file except in
0021  * compliance with the License. You may obtain a copy of the License at
0022  * http://www.mozilla.org/MPL/
0023  *
0024  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
0025  * OF ANY KIND, either express or implied. See the LGPL or the MPL for
0026  * the specific language governing rights and limitations.
0027  *
0028  * The Original Code is the cairo graphics library.
0029  *
0030  * The Initial Developer of the Original Code is Chris Wilson
0031  *
0032  * Contributor(s):
0033  *  Chris Wilson <chris@chris-wilson.co.uk>
0034  */
0035 
0036 #ifndef CAIRO_TEE_H
0037 #define CAIRO_TEE_H
0038 
0039 #include "cairo.h"
0040 
0041 #if CAIRO_HAS_TEE_SURFACE
0042 
0043 CAIRO_BEGIN_DECLS
0044 
0045 cairo_public cairo_surface_t *
0046 cairo_tee_surface_create (cairo_surface_t *master);
0047 
0048 cairo_public void
0049 cairo_tee_surface_add (cairo_surface_t *surface,
0050                cairo_surface_t *target);
0051 
0052 cairo_public void
0053 cairo_tee_surface_remove (cairo_surface_t *surface,
0054               cairo_surface_t *target);
0055 
0056 cairo_public cairo_surface_t *
0057 cairo_tee_surface_index (cairo_surface_t *surface,
0058              unsigned int index);
0059 
0060 CAIRO_END_DECLS
0061 
0062 #else  /*CAIRO_HAS_TEE_SURFACE*/
0063 # error Cairo was not compiled with support for the TEE backend
0064 #endif /*CAIRO_HAS_TEE_SURFACE*/
0065 
0066 #endif /*CAIRO_TEE_H*/