mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
Reformat to better fit the coding standard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14313 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4ededbe49f
commit
ba626c7954
5 changed files with 1008 additions and 1003 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-08-21 14:52 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/art/blit.h, Source/art/blit.m, Source/art/ftfont.h,
|
||||
Source/art/ftfont.m: Reformat to fit coding standards better.
|
||||
|
||||
2002-08-21 13:50 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/art/ARTContext.m: Move common code from _fill and DPSstroke
|
||||
|
|
|
@ -84,11 +84,12 @@ typedef struct draw_info_s
|
|||
|
||||
void (*render_blit_alpha_opaque)(unsigned char *dst,
|
||||
const unsigned char *src,
|
||||
unsigned char r,unsigned char g,unsigned char b,int num);
|
||||
unsigned char r, unsigned char g,
|
||||
unsigned char b, int num);
|
||||
void (*render_blit_mono_opaque)(unsigned char *dst,
|
||||
const unsigned char *src, int src_ofs,
|
||||
unsigned char r,unsigned char g,unsigned char b,
|
||||
int num);
|
||||
unsigned char r, unsigned char g,
|
||||
unsigned char b, int num);
|
||||
|
||||
void (*render_blit_alpha)(unsigned char *dst, const unsigned char *src,
|
||||
unsigned char r, unsigned char g, unsigned char b,
|
||||
|
|
|
@ -26,11 +26,14 @@ copyright 2002 Alexander Malmberg <alexander@malmberg.org>
|
|||
@protocol FTFontInfo
|
||||
-(void) drawString: (const char *)s
|
||||
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
|
||||
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;
|
||||
|
||||
/* TODO: see if this is really necessary */
|
||||
-(void) drawString: (const char *)s
|
||||
at: (int)x:(int)y
|
||||
to: (int)x0:(int)y0:(int)x1:(int)y1:(unsigned char *)buf:(int)bpl
|
||||
|
|
|
@ -86,8 +86,7 @@ static NSMutableSet *families_seen,*families_pending;
|
|||
|
||||
-(NSString *) description
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@"<FTFaceInfo %p: %@ %i %i>",
|
||||
return [NSString stringWithFormat: @"<FTFaceInfo %p: %@ %i %i>",
|
||||
self, files, weight, traits];
|
||||
}
|
||||
|
||||
|
@ -232,8 +231,7 @@ static void add_face(NSString *family,NSString *face,NSDictionary *d,
|
|||
|
||||
if (!files)
|
||||
{
|
||||
NSLog(@"No filename specified for font '%@'!",
|
||||
full_name);
|
||||
NSLog(@"No filename specified for font '%@'!", full_name);
|
||||
DESTROY(fi);
|
||||
return;
|
||||
}
|
||||
|
@ -450,8 +448,7 @@ static FT_Error ft_get_face(FTC_FaceID fid,FT_Library lib,FT_Pointer data,FT_Fac
|
|||
NSDebugLLog(@"ftfont", @"[%@ -initWithFontName: %@ matrix: (%g %g %g %g %g %g)]\n",
|
||||
self, name,
|
||||
fmatrix[0], fmatrix[1], fmatrix[2],
|
||||
fmatrix[3],fmatrix[4],fmatrix[5]
|
||||
);
|
||||
fmatrix[3], fmatrix[4], fmatrix[5]);
|
||||
|
||||
font_entry = [fcfg_all_fonts objectForKey: name];
|
||||
if (!font_entry)
|
||||
|
@ -595,7 +592,6 @@ extern void GSToUnicode();
|
|||
else
|
||||
cur.type = ftc_image_grays;
|
||||
// imgd.type|=|ftc_image_flag_unhinted; /* TODO? when? */
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue