2002-08-20 16:36:09 +00:00
|
|
|
/*
|
2002-08-27 10:11:20 +00:00
|
|
|
Copyright (C) 2002 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
Author: Alexander Malmberg <alexander@malmberg.org>
|
2002-08-20 16:36:09 +00:00
|
|
|
|
|
|
|
This file is part of GNUstep.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2007-10-29 23:25:10 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
2002-08-20 16:36:09 +00:00
|
|
|
License as published by the Free Software Foundation; either
|
2008-06-10 04:12:46 +00:00
|
|
|
version 2 of the License, or (at your option) any later version.
|
2007-10-29 23:25:10 +00:00
|
|
|
|
2002-08-20 16:36:09 +00:00
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-10-29 23:25:10 +00:00
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; see the file COPYING.LIB.
|
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
2002-08-20 16:36:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ftfont_h
|
|
|
|
#define ftfont_h
|
|
|
|
|
|
|
|
@class NSAffineTransform;
|
|
|
|
|
|
|
|
@protocol FTFontInfo
|
|
|
|
-(void) drawString: (const char *)s
|
2002-08-21 13:02:26 +00:00
|
|
|
at: (int)x : (int)y
|
|
|
|
to: (int)x0 : (int)y0 : (int)x1 : (int)y1
|
|
|
|
: (unsigned char *)buf : (int)bpl
|
2003-03-29 18:16:40 +00:00
|
|
|
: (unsigned char *)abuf : (int)abpl
|
2002-08-21 13:02:26 +00:00
|
|
|
color: (unsigned char)r : (unsigned char)g : (unsigned char)b
|
|
|
|
: (unsigned char)alpha
|
2002-08-20 16:36:09 +00:00
|
|
|
transform: (NSAffineTransform *)transform
|
2013-02-05 19:18:49 +00:00
|
|
|
deltas: (const CGFloat *)delta_data : (int)delta_size : (int)delta_flags
|
2005-03-29 05:54:36 +00:00
|
|
|
widthChar: (int) wch
|
2002-08-20 16:36:09 +00:00
|
|
|
drawinfo: (struct draw_info_s *)di;
|
|
|
|
|
2003-01-26 19:07:53 +00:00
|
|
|
-(void) drawGlyphs: (const NSGlyph *)glyphs : (int)length
|
|
|
|
at: (int)x : (int)y
|
|
|
|
to: (int)x0 : (int)y0 : (int)x1 : (int)y1
|
|
|
|
: (unsigned char *)buf : (int)bpl
|
|
|
|
color: (unsigned char)r : (unsigned char)g : (unsigned char)b
|
|
|
|
: (unsigned char)alpha
|
|
|
|
transform: (NSAffineTransform *)transform
|
|
|
|
drawinfo: (struct draw_info_s *)di;
|
|
|
|
|
2004-02-29 20:45:05 +00:00
|
|
|
-(void) drawGlyphs: (const NSGlyph *)glyphs : (int)length
|
|
|
|
at: (int)x : (int)y
|
|
|
|
to: (int)x0 : (int)y0 : (int)x1 : (int)y1
|
|
|
|
: (unsigned char *)buf : (int)bpl
|
|
|
|
alpha: (unsigned char *)abuf : (int)abpl
|
|
|
|
color: (unsigned char)r : (unsigned char)g : (unsigned char)b
|
|
|
|
: (unsigned char)alpha
|
|
|
|
transform: (NSAffineTransform *)transform
|
|
|
|
drawinfo: (struct draw_info_s *)di;
|
|
|
|
|
2002-08-20 16:36:09 +00:00
|
|
|
-(void) outlineString: (const char *)s
|
2013-02-05 19:18:49 +00:00
|
|
|
at: (CGFloat)x : (CGFloat)y
|
2002-08-20 16:36:09 +00:00
|
|
|
gstate: (void *)func_param;
|
|
|
|
|
|
|
|
+(void) initializeBackend;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@class FTFontInfo;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|