00001 /* Copyright (C) 2008 The cairomm Development Team 00002 * 00003 * This library is free software; you can redistribute it and/or 00004 * modify it under the terms of the GNU Library General Public 00005 * License as published by the Free Software Foundation; either 00006 * version 2 of the License, or (at your option) any later version. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Library General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Library General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00016 * 02110-1301, USA. 00017 */ 00018 #ifndef __CAIROMM_TYPES_H 00019 #define __CAIROMM_TYPES_H 00020 00021 #include <cairo.h> 00022 00023 namespace Cairo 00024 { 00025 00030 typedef cairo_rectangle_t Rectangle; 00031 00036 typedef cairo_font_extents_t FontExtents; //A simple struct. 00037 00042 typedef cairo_text_extents_t TextExtents; //A simple struct. 00043 00048 typedef cairo_text_cluster_t TextCluster; 00049 00054 typedef cairo_glyph_t Glyph; //A simple struct. 00055 00056 } // namespace Cairo 00057 00058 #endif // __CAIROMM_TYPES_H