2005-12-29 07:17:01 +00:00
|
|
|
/* cairo - a vector graphics library with display and print output
|
|
|
|
|
*
|
|
|
|
|
* Copyright © 2003 University of Southern California
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it either under the terms of the GNU Lesser General Public
|
|
|
|
|
* License version 2.1 as published by the Free Software Foundation
|
|
|
|
|
* (the "LGPL") or, at your option, under the terms of the Mozilla
|
|
|
|
|
* Public License Version 1.1 (the "MPL"). If you do not alter this
|
|
|
|
|
* notice, a recipient may use your version of this file under either
|
|
|
|
|
* the MPL or the LGPL.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the LGPL along with this library
|
|
|
|
|
* in the file COPYING-LGPL-2.1; if not, write to the Free Software
|
2010-04-27 10:17:23 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
|
2005-12-29 07:17:01 +00:00
|
|
|
* You should have received a copy of the MPL along with this library
|
|
|
|
|
* in the file COPYING-MPL-1.1
|
|
|
|
|
*
|
|
|
|
|
* The contents of this file are subject to the Mozilla Public License
|
|
|
|
|
* Version 1.1 (the "License"); you may not use this file except in
|
|
|
|
|
* compliance with the License. You may obtain a copy of the License at
|
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
|
*
|
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
|
|
|
|
|
* OF ANY KIND, either express or implied. See the LGPL or the MPL for
|
|
|
|
|
* the specific language governing rights and limitations.
|
|
|
|
|
*
|
|
|
|
|
* The Original Code is the cairo graphics library.
|
|
|
|
|
*
|
|
|
|
|
* The Initial Developer of the Original Code is University of Southern
|
|
|
|
|
* California.
|
|
|
|
|
*
|
|
|
|
|
* Contributor(s):
|
|
|
|
|
* Carl D. Worth <cworth@isi.edu>
|
|
|
|
|
*/
|
|
|
|
|
|
2007-12-11 15:50:05 +01:00
|
|
|
/*
|
|
|
|
|
* Environment variables affecting the backend:
|
|
|
|
|
*
|
2008-01-28 20:48:48 -05:00
|
|
|
* %CAIRO_DIRECTFB_NO_ACCEL (boolean)
|
2007-12-11 15:50:05 +01:00
|
|
|
* if found, disables acceleration at all
|
|
|
|
|
*
|
2008-01-28 20:48:48 -05:00
|
|
|
* %CAIRO_DIRECTFB_ARGB_FONT (boolean)
|
2007-12-11 15:50:05 +01:00
|
|
|
* if found, enables using ARGB fonts instead of A8
|
|
|
|
|
*/
|
|
|
|
|
|
2005-12-29 07:17:01 +00:00
|
|
|
#ifndef CAIRO_DIRECTFB_H
|
2006-06-06 15:41:31 -07:00
|
|
|
#define CAIRO_DIRECTFB_H
|
2005-12-29 07:17:01 +00:00
|
|
|
|
2008-06-23 00:30:04 -04:00
|
|
|
#include "cairo.h"
|
2005-12-29 07:17:01 +00:00
|
|
|
|
2008-09-20 17:20:36 -04:00
|
|
|
#if CAIRO_HAS_DIRECTFB_SURFACE
|
2005-12-29 07:17:01 +00:00
|
|
|
|
2007-04-11 21:42:57 -07:00
|
|
|
#include <directfb.h>
|
|
|
|
|
|
2005-12-29 07:17:01 +00:00
|
|
|
CAIRO_BEGIN_DECLS
|
|
|
|
|
|
2006-09-18 13:32:19 -04:00
|
|
|
cairo_public cairo_surface_t *
|
2007-12-11 15:50:05 +01:00
|
|
|
cairo_directfb_surface_create (IDirectFB *dfb, IDirectFBSurface *surface);
|
2005-12-29 07:17:01 +00:00
|
|
|
|
|
|
|
|
CAIRO_END_DECLS
|
|
|
|
|
|
2007-03-13 04:55:18 -04:00
|
|
|
#else /*CAIRO_HAS_DIRECTFB_SURFACE*/
|
|
|
|
|
# error Cairo was not compiled with support for the directfb backend
|
2005-12-29 07:17:01 +00:00
|
|
|
#endif /*CAIRO_HAS_DIRECTFB_SURFACE*/
|
2007-03-13 04:55:18 -04:00
|
|
|
|
2005-12-29 07:17:01 +00:00
|
|
|
#endif /*CAIRO_DIRECTFB_H*/
|