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 © 2010 Red Hat Inc.
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 University of Southern
0031  * California.
0032  *
0033  * Contributor(s):
0034  *  Benjamin Otte <otte@redhat.com>
0035  */
0036 
0037 #ifndef CAIRO_GOBJECT_H
0038 #define CAIRO_GOBJECT_H
0039 
0040 #include <cairo.h>
0041 
0042 #if CAIRO_HAS_GOBJECT_FUNCTIONS
0043 
0044 #include <glib-object.h>
0045 
0046 CAIRO_BEGIN_DECLS
0047 
0048 /* structs */
0049 
0050 #define CAIRO_GOBJECT_TYPE_CONTEXT cairo_gobject_context_get_type ()
0051 cairo_public GType
0052 cairo_gobject_context_get_type (void);
0053 
0054 #define CAIRO_GOBJECT_TYPE_DEVICE cairo_gobject_device_get_type ()
0055 cairo_public GType
0056 cairo_gobject_device_get_type (void);
0057 
0058 #define CAIRO_GOBJECT_TYPE_MATRIX cairo_gobject_matrix_get_type ()
0059 cairo_public GType
0060 cairo_gobject_matrix_get_type (void);
0061 
0062 #define CAIRO_GOBJECT_TYPE_PATTERN cairo_gobject_pattern_get_type ()
0063 cairo_public GType
0064 cairo_gobject_pattern_get_type (void);
0065 
0066 #define CAIRO_GOBJECT_TYPE_SURFACE cairo_gobject_surface_get_type ()
0067 cairo_public GType
0068 cairo_gobject_surface_get_type (void);
0069 
0070 #define CAIRO_GOBJECT_TYPE_RECTANGLE cairo_gobject_rectangle_get_type ()
0071 cairo_public GType
0072 cairo_gobject_rectangle_get_type (void);
0073 
0074 #define CAIRO_GOBJECT_TYPE_SCALED_FONT cairo_gobject_scaled_font_get_type ()
0075 cairo_public GType
0076 cairo_gobject_scaled_font_get_type (void);
0077 
0078 #define CAIRO_GOBJECT_TYPE_FONT_FACE cairo_gobject_font_face_get_type ()
0079 cairo_public GType
0080 cairo_gobject_font_face_get_type (void);
0081 
0082 #define CAIRO_GOBJECT_TYPE_FONT_OPTIONS cairo_gobject_font_options_get_type ()
0083 cairo_public GType
0084 cairo_gobject_font_options_get_type (void);
0085 
0086 #define CAIRO_GOBJECT_TYPE_RECTANGLE_INT cairo_gobject_rectangle_int_get_type ()
0087 cairo_public GType
0088 cairo_gobject_rectangle_int_get_type (void);
0089 
0090 #define CAIRO_GOBJECT_TYPE_REGION cairo_gobject_region_get_type ()
0091 cairo_public GType
0092 cairo_gobject_region_get_type (void);
0093 
0094 /* enums */
0095 
0096 #define CAIRO_GOBJECT_TYPE_STATUS cairo_gobject_status_get_type ()
0097 cairo_public GType
0098 cairo_gobject_status_get_type (void);
0099 
0100 #define CAIRO_GOBJECT_TYPE_CONTENT cairo_gobject_content_get_type ()
0101 cairo_public GType
0102 cairo_gobject_content_get_type (void);
0103 
0104 #define CAIRO_GOBJECT_TYPE_OPERATOR cairo_gobject_operator_get_type ()
0105 cairo_public GType
0106 cairo_gobject_operator_get_type (void);
0107 
0108 #define CAIRO_GOBJECT_TYPE_ANTIALIAS cairo_gobject_antialias_get_type ()
0109 cairo_public GType
0110 cairo_gobject_antialias_get_type (void);
0111 
0112 #define CAIRO_GOBJECT_TYPE_FILL_RULE cairo_gobject_fill_rule_get_type ()
0113 cairo_public GType
0114 cairo_gobject_fill_rule_get_type (void);
0115 
0116 #define CAIRO_GOBJECT_TYPE_LINE_CAP cairo_gobject_line_cap_get_type ()
0117 cairo_public GType
0118 cairo_gobject_line_cap_get_type (void);
0119 
0120 #define CAIRO_GOBJECT_TYPE_LINE_JOIN cairo_gobject_line_join_get_type ()
0121 cairo_public GType
0122 cairo_gobject_line_join_get_type (void);
0123 
0124 #define CAIRO_GOBJECT_TYPE_TEXT_CLUSTER_FLAGS cairo_gobject_text_cluster_flags_get_type ()
0125 cairo_public GType
0126 cairo_gobject_text_cluster_flags_get_type (void);
0127 
0128 #define CAIRO_GOBJECT_TYPE_FONT_SLANT cairo_gobject_font_slant_get_type ()
0129 cairo_public GType
0130 cairo_gobject_font_slant_get_type (void);
0131 
0132 #define CAIRO_GOBJECT_TYPE_FONT_WEIGHT cairo_gobject_font_weight_get_type ()
0133 cairo_public GType
0134 cairo_gobject_font_weight_get_type (void);
0135 
0136 #define CAIRO_GOBJECT_TYPE_SUBPIXEL_ORDER cairo_gobject_subpixel_order_get_type ()
0137 cairo_public GType
0138 cairo_gobject_subpixel_order_get_type (void);
0139 
0140 #define CAIRO_GOBJECT_TYPE_HINT_STYLE cairo_gobject_hint_style_get_type ()
0141 cairo_public GType
0142 cairo_gobject_hint_style_get_type (void);
0143 
0144 /* historical accident */
0145 #define CAIRO_GOBJECT_TYPE_HNT_METRICS cairo_gobject_hint_metrics_get_type ()
0146 #define CAIRO_GOBJECT_TYPE_HINT_METRICS cairo_gobject_hint_metrics_get_type ()
0147 cairo_public GType
0148 cairo_gobject_hint_metrics_get_type (void);
0149 
0150 #define CAIRO_GOBJECT_TYPE_FONT_TYPE cairo_gobject_font_type_get_type ()
0151 cairo_public GType
0152 cairo_gobject_font_type_get_type (void);
0153 
0154 #define CAIRO_GOBJECT_TYPE_PATH_DATA_TYPE cairo_gobject_path_data_type_get_type ()
0155 cairo_public GType
0156 cairo_gobject_path_data_type_get_type (void);
0157 
0158 #define CAIRO_GOBJECT_TYPE_DEVICE_TYPE cairo_gobject_device_type_get_type ()
0159 cairo_public GType
0160 cairo_gobject_device_type_get_type (void);
0161 
0162 #define CAIRO_GOBJECT_TYPE_SURFACE_TYPE cairo_gobject_surface_type_get_type ()
0163 cairo_public GType
0164 cairo_gobject_surface_type_get_type (void);
0165 
0166 #define CAIRO_GOBJECT_TYPE_FORMAT cairo_gobject_format_get_type ()
0167 cairo_public GType
0168 cairo_gobject_format_get_type (void);
0169 
0170 #define CAIRO_GOBJECT_TYPE_PATTERN_TYPE cairo_gobject_pattern_type_get_type ()
0171 cairo_public GType
0172 cairo_gobject_pattern_type_get_type (void);
0173 
0174 #define CAIRO_GOBJECT_TYPE_EXTEND cairo_gobject_extend_get_type ()
0175 cairo_public GType
0176 cairo_gobject_extend_get_type (void);
0177 
0178 #define CAIRO_GOBJECT_TYPE_FILTER cairo_gobject_filter_get_type ()
0179 cairo_public GType
0180 cairo_gobject_filter_get_type (void);
0181 
0182 #define CAIRO_GOBJECT_TYPE_REGION_OVERLAP cairo_gobject_region_overlap_get_type ()
0183 cairo_public GType
0184 cairo_gobject_region_overlap_get_type (void);
0185 
0186 CAIRO_END_DECLS
0187 
0188 #else  /* CAIRO_HAS_GOBJECT_FUNCTIONS */
0189 # error Cairo was not compiled with support for GObject
0190 #endif /* CAIRO_HAS_GOBJECT_FUNCTIONS */
0191 
0192 #endif /* CAIRO_GOBJECT_H */