1 /*
2    CairoFontInfo.h
3 
4    Copyright (C) 2003 Free Software Foundation, Inc.
5 
6    August 31, 2003
7    Written by Banlu Kemiyatorn <object at gmail dot com>
8 
9    This file is part of GNUstep.
10 
11    This library is free software; you can redistribute it and/or
12    modify it under the terms of the GNU Lesser General Public
13    License as published by the Free Software Foundation; either
14    version 2 of the License, or (at your option) any later version.
15 
16    This library is distributed in the hope that it will be useful,
17    but WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
19    Lesser General Public License for more details.
20 
21    You should have received a copy of the GNU Lesser General Public
22    License along with this library; see the file COPYING.LIB.
23    If not, see <http://www.gnu.org/licenses/> or write to the
24    Free Software Foundation, 51 Franklin Street, Fifth Floor,
25    Boston, MA 02110-1301, USA.
26 */
27 
28 #ifndef CairoFontInfo_h
29 #define CairoFontInfo_h
30 
31 #include "fontconfig/FCFontInfo.h"
32 #include "cairo/CairoFaceInfo.h"
33 #include <cairo.h>
34 
35 @interface CairoFontInfo : FCFontInfo
36 {
37 @public
38 	cairo_scaled_font_t *_scaled;
39 }
40 
41 - (void) drawGlyphs: (const NSGlyph*)glyphs
42 	     length: (int)length
43 	         on: (cairo_t*)ct;
44 @end
45 
46 #endif
47