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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
/* guile-cairo
* Copyright (C) 2007 Andy Wingo <wingo at pobox dot com>
*
* guile-cairo-smob-types.h:
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, contact:
*
* Free Software Foundation, Inc. Voice: +1-617-542-5942
* 51 Franklin St, Fifth Floor Fax: +1-617-542-2652
* Boston, MA 02110-1301, USA gnu@gnu.org
*/
#ifndef __GUILE_CAIRO_SMOB_TYPES_H__
#define __GUILE_CAIRO_SMOB_TYPES_H__
SCM scm_take_cairo (cairo_t *ctx);
SCM scm_from_cairo (cairo_t *ctx);
cairo_t* scm_to_cairo (SCM scm);
SCM scm_take_cairo_surface (cairo_surface_t *surf);
SCM scm_from_cairo_surface (cairo_surface_t *surf);
cairo_surface_t* scm_to_cairo_surface (SCM scm);
SCM scm_take_cairo_pattern (cairo_pattern_t *pat);
SCM scm_from_cairo_pattern (cairo_pattern_t *pat);
cairo_pattern_t* scm_to_cairo_pattern (SCM scm);
SCM scm_take_cairo_font_face (cairo_font_face_t *pat);
SCM scm_from_cairo_font_face (cairo_font_face_t *pat);
cairo_font_face_t* scm_to_cairo_font_face (SCM scm);
SCM scm_take_cairo_scaled_font (cairo_scaled_font_t *pat);
SCM scm_from_cairo_scaled_font (cairo_scaled_font_t *pat);
cairo_scaled_font_t* scm_to_cairo_scaled_font (SCM scm);
SCM scm_take_cairo_font_options (cairo_font_options_t *fopt);
cairo_font_options_t* scm_to_cairo_font_options (SCM scm);
SCM scm_take_cairo_path (cairo_path_t *path);
cairo_path_t* scm_to_cairo_path (SCM scm);
void scm_init_cairo_smob_types (void);
#endif
|