Subversion Repositories Kolibri OS

Rev

Rev 1892 | Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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 © 2002 University of Southern California
  5.  * Copyright © 2005 Red Hat, Inc.
  6.  * Copyright © 2011 Intel Corporation
  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.  *      Carl D. Worth <cworth@cworth.org>
  38.  *      Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
  39.  *      Chris Wilson <chris@chris-wilson.co.uk>
  40.  */
  41.  
  42. #ifndef CAIRO_SURFACE_FALLBACK_PRIVATE_H
  43. #define CAIRO_SURFACE_FALLBACK_PRIVATE_H
  44.  
  45. #include "cairoint.h"
  46.  
  47. CAIRO_BEGIN_DECLS
  48.  
  49. cairo_private cairo_int_status_t
  50. _cairo_surface_fallback_paint (void                     *abstract_surface,
  51.                                cairo_operator_t          op,
  52.                                const cairo_pattern_t    *source,
  53.                                const cairo_clip_t       *clip);
  54.  
  55. cairo_private cairo_int_status_t
  56. _cairo_surface_fallback_mask (void                      *abstract_surface,
  57.                               cairo_operator_t           op,
  58.                               const cairo_pattern_t     *source,
  59.                               const cairo_pattern_t     *mask,
  60.                               const cairo_clip_t        *clip);
  61.  
  62. cairo_private cairo_int_status_t
  63. _cairo_surface_fallback_stroke (void                    *abstract_surface,
  64.                                 cairo_operator_t                 op,
  65.                                 const cairo_pattern_t   *source,
  66.                                 const cairo_path_fixed_t        *path,
  67.                                 const cairo_stroke_style_t*style,
  68.                                 const cairo_matrix_t    *ctm,
  69.                                 const cairo_matrix_t    *ctm_inverse,
  70.                                 double                   tolerance,
  71.                                 cairo_antialias_t        antialias,
  72.                                 const cairo_clip_t      *clip);
  73.  
  74. cairo_private cairo_int_status_t
  75. _cairo_surface_fallback_fill (void                      *abstract_surface,
  76.                              cairo_operator_t            op,
  77.                              const cairo_pattern_t      *source,
  78.                              const cairo_path_fixed_t   *path,
  79.                              cairo_fill_rule_t           fill_rule,
  80.                              double                      tolerance,
  81.                              cairo_antialias_t           antialias,
  82.                              const cairo_clip_t         *clip);
  83.  
  84. cairo_private cairo_int_status_t
  85. _cairo_surface_fallback_glyphs (void                    *abstract_surface,
  86.                                 cairo_operator_t                 op,
  87.                                 const cairo_pattern_t   *source,
  88.                                 cairo_glyph_t           *glyphs,
  89.                                 int                      num_glyphs,
  90.                                 cairo_scaled_font_t     *scaled_font,
  91.                                 const cairo_clip_t      *clip);
  92.  
  93. CAIRO_END_DECLS
  94.  
  95. #endif /* CAIRO_SURFACE_FALLBACK_PRIVATE_H */
  96.