Subversion Repositories Kolibri OS

Rev

Rev 1892 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1892 Rev 3959
Line 1... Line 1...
1
/* -*- Mode: c; tab-width: 8; c-basic-offset: 4; indent-tabs-mode: t; -*- */
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
2
/* cairo - a vector graphics library with display and print output
3
 *
3
 *
4
 * Copyright © 2002 University of Southern California
4
 * Copyright © 2002 University of Southern California
5
 * Copyright © 2005 Red Hat, Inc.
5
 * Copyright © 2005 Red Hat, Inc.
-
 
6
 * Copyright © 2011 Intel Corporation
6
 *
7
 *
7
 * This library is free software; you can redistribute it and/or
8
 * This library is free software; you can redistribute it and/or
8
 * modify it either under the terms of the GNU Lesser General Public
9
 * modify it either under the terms of the GNU Lesser General Public
9
 * License version 2.1 as published by the Free Software Foundation
10
 * License version 2.1 as published by the Free Software Foundation
10
 * (the "LGPL") or, at your option, under the terms of the Mozilla
11
 * (the "LGPL") or, at your option, under the terms of the Mozilla
Line 32... Line 33...
32
 * The Initial Developer of the Original Code is University of Southern
33
 * The Initial Developer of the Original Code is University of Southern
33
 * California.
34
 * California.
34
 *
35
 *
35
 * Contributor(s):
36
 * Contributor(s):
36
 *	Carl D. Worth 
37
 *	Carl D. Worth 
-
 
38
 *      Joonas Pihlaja 
-
 
39
 *	Chris Wilson 
37
 */
40
 */
Line 38... Line 41...
38
 
41
 
39
#ifndef CAIRO_SURFACE_FALLBACK_PRIVATE_H
42
#ifndef CAIRO_SURFACE_FALLBACK_PRIVATE_H
Line 40... Line 43...
40
#define CAIRO_SURFACE_FALLBACK_PRIVATE_H
43
#define CAIRO_SURFACE_FALLBACK_PRIVATE_H
Line -... Line 44...
-
 
44
 
-
 
45
#include "cairoint.h"
41
 
46
 
42
#include "cairoint.h"
47
CAIRO_BEGIN_DECLS
43
 
48
 
44
cairo_private cairo_status_t
49
cairo_private cairo_int_status_t
45
_cairo_surface_fallback_paint (cairo_surface_t		*surface,
50
_cairo_surface_fallback_paint (void			*abstract_surface,
Line 46... Line 51...
46
			       cairo_operator_t		 op,
51
			       cairo_operator_t		 op,
47
			       const cairo_pattern_t	*source,
52
			       const cairo_pattern_t	*source,
48
			       cairo_clip_t		*clip);
53
			       const cairo_clip_t	*clip);
49
 
54
 
50
cairo_private cairo_status_t
55
cairo_private cairo_int_status_t
51
_cairo_surface_fallback_mask (cairo_surface_t		*surface,
56
_cairo_surface_fallback_mask (void			*abstract_surface,
Line 52... Line 57...
52
			      cairo_operator_t		 op,
57
			      cairo_operator_t		 op,
53
			      const cairo_pattern_t	*source,
58
			      const cairo_pattern_t	*source,
54
			      const cairo_pattern_t	*mask,
59
			      const cairo_pattern_t	*mask,
55
			      cairo_clip_t		*clip);
60
			      const cairo_clip_t	*clip);
56
 
61
 
57
cairo_private cairo_status_t
62
cairo_private cairo_int_status_t
58
_cairo_surface_fallback_stroke (cairo_surface_t		*surface,
63
_cairo_surface_fallback_stroke (void			*abstract_surface,
59
				cairo_operator_t	 op,
64
				cairo_operator_t		 op,
60
				const cairo_pattern_t	*source,
65
				const cairo_pattern_t	*source,
61
				cairo_path_fixed_t	*path,
66
				const cairo_path_fixed_t	*path,
62
				const cairo_stroke_style_t	*stroke_style,
67
				const cairo_stroke_style_t*style,
Line 63... Line 68...
63
				const cairo_matrix_t		*ctm,
68
				const cairo_matrix_t	*ctm,
64
				const cairo_matrix_t		*ctm_inverse,
69
				const cairo_matrix_t	*ctm_inverse,
65
				double			 tolerance,
70
				double			 tolerance,
66
				cairo_antialias_t	 antialias,
71
				cairo_antialias_t	 antialias,
67
				cairo_clip_t		*clip);
72
				const cairo_clip_t	*clip);
68
 
73
 
69
cairo_private cairo_status_t
74
cairo_private cairo_int_status_t
70
_cairo_surface_fallback_fill (cairo_surface_t		*surface,
75
_cairo_surface_fallback_fill (void			*abstract_surface,
71
			      cairo_operator_t		 op,
76
			     cairo_operator_t		 op,
Line 72... Line 77...
72
			      const cairo_pattern_t	*source,
77
			     const cairo_pattern_t	*source,
73
			      cairo_path_fixed_t	*path,
78
			     const cairo_path_fixed_t	*path,
74
			      cairo_fill_rule_t		 fill_rule,
79
			     cairo_fill_rule_t		 fill_rule,
75
			      double			 tolerance,
80
			     double			 tolerance,
76
			      cairo_antialias_t		 antialias,
81
			     cairo_antialias_t		 antialias,
77
			      cairo_clip_t		*clip);
82
			     const cairo_clip_t		*clip);
78
 
83
 
79
cairo_private cairo_status_t
84
cairo_private cairo_int_status_t
80
_cairo_surface_fallback_show_glyphs (cairo_surface_t		*surface,
-
 
81
				     cairo_operator_t		 op,
-
 
82
				     const cairo_pattern_t	*source,
-
 
83
				     cairo_glyph_t		*glyphs,
-
 
84
				     int			 num_glyphs,
-
 
85
				     cairo_scaled_font_t	*scaled_font,
-
 
86
				     cairo_clip_t		*clip);
-
 
87
 
-
 
88
cairo_private cairo_surface_t *
-
 
89
_cairo_surface_fallback_snapshot (cairo_surface_t *surface);
-
 
90
 
-
 
91
cairo_private cairo_status_t
-
 
92
_cairo_surface_fallback_composite (cairo_operator_t		 op,
-
 
93
				   const cairo_pattern_t	*src,
-
 
94
				   const cairo_pattern_t	*mask,
-
 
95
				   cairo_surface_t		*dst,
-
 
96
				   int				 src_x,
-
 
97
				   int				 src_y,
-
 
Line 98... Line -...
98
				   int				 mask_x,
-
 
99
				   int				 mask_y,
-
 
100
				   int				 dst_x,
-
 
101
				   int				 dst_y,
-
 
102
				   unsigned int			 width,
-
 
103
				   unsigned int			 height,
85
_cairo_surface_fallback_glyphs (void			*abstract_surface,
104
				   cairo_region_t		*clip_region);
-
 
105
 
-
 
106
cairo_private cairo_status_t
-
 
107
_cairo_surface_fallback_fill_rectangles (cairo_surface_t         *surface,
-
 
108
					 cairo_operator_t	 op,
-
 
109
					 const cairo_color_t	 *color,
-
 
110
					 cairo_rectangle_int_t   *rects,
-
 
111
					 int			 num_rects);
-
 
112
 
-
 
113
cairo_private cairo_status_t
-
 
114
_cairo_surface_fallback_composite_trapezoids (cairo_operator_t		op,
-
 
115
					      const cairo_pattern_t    *pattern,
-
 
116
					      cairo_surface_t	       *dst,
-
 
117
					      cairo_antialias_t		antialias,
-
 
118
					      int			src_x,
-
 
119
					      int			src_y,
-
 
120
					      int			dst_x,
-
 
121
					      int			dst_y,
-
 
122
					      unsigned int		width,
-
 
123
					      unsigned int		height,
-
 
124
					      cairo_trapezoid_t	       *traps,
-
 
125
					      int			num_traps,
-
 
126
					      cairo_region_t		*clip_region);
-
 
127
 
-
 
128
cairo_private cairo_status_t
-
 
129
_cairo_surface_fallback_clone_similar (cairo_surface_t  *surface,
-
 
Line 130... Line 86...
130
				       cairo_surface_t  *src,
86
				cairo_operator_t		 op,