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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.19 1997/10/27 22:41:19 mirar Exp $ */ + /* $Id: font.c,v 1.20 1997/11/05 03:41:34 mirar Exp $ */   #include <config.h>      #define SPACE_CHAR 'i'      /*   **! module Image   **! note - **! $Id: font.c,v 1.19 1997/10/27 22:41:19 mirar Exp $ + **! $Id: font.c,v 1.20 1997/11/05 03:41:34 mirar Exp $   **! class font   **!   **! note   **! Short technical documentation on a font file:   **! This object adds the text-drawing and -creation   **! capabilities of the <ref>Image</ref> module.   **!   **! For simple usage, see   **! <ref>write</ref> and <ref>load</ref>.   **!
pike.git/src/modules/Image/font.c:436:       pop_n_elems(args);    push_int(0);    return;   }      /*   **! method object write(string text,...)   **! Writes some text; thus creating an image object   **! that can be used as mask or as a complete picture. - **! returns an <ref>Image::image</ref> object + **! returns an <ref>Image.image</ref> object   **! arg string text, ...   **! One or more lines of text. - **! see also: text_extents, load, image::paste_mask, image::paste_alpha_color + **! see also: text_extents, load, Image.image->paste_mask, Image.image->paste_alpha_color   */      void font_write(INT32 args)   {    struct object *o;    struct image *img;    INT32 xsize=0,i,maxwidth2,j;    int *width_of;    unsigned char *to_write;    int to_write_len;