pike.git / src / modules / Image / font.c

version» Context lines:

pike.git/src/modules/Image/font.c:16:   **! } *fh;   **! struct char_head   **! {   **! unsigned INT32 width; - width of this character   **! unsigned INT32 spacing; - spacing to next character   **! unsigned char data[1]; - pixmap data (1byte/pixel)   **! } *ch;   **!   */    - /* $Id: font.c,v 1.6 1997/04/09 01:49:47 mirar Exp $ */ + /* $Id: font.c,v 1.7 1997/04/16 03:10:45 hubbe Exp $ */      #include "global.h"      #include <sys/types.h>   #include <sys/stat.h>      #ifdef HAVE_FCNTL_H   #include <fcntl.h>   #endif   
pike.git/src/modules/Image/font.c:45:      #include "stralloc.h"   #include "types.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "array.h"   #include "threads.h" + #include "builtin_functions.h"      #include "image.h"   #ifdef HAVE_MMAP   #include <sys/mman.h>   #endif         static struct program *font_program;   extern struct program *image_program;   
pike.git/src/modules/Image/font.c:140:   }      static inline long file_size(int fd)   {    struct stat tmp;    int res;    if(!fstat(fd, &tmp)) return res = tmp.st_size;    return -1;   }    - static inline write_char(struct _char *ci, + static inline void write_char(struct _char *ci,    rgb_group *pos,    INT32 xsize,    INT32 height)   {    rgb_group *nl;    INT32 x,y;    unsigned char *p;       p=ci->pixels;