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

version» Context lines:

pike.git/src/modules/Image/font.c:1: - /* $Id: font.c,v 1.37 1998/05/04 16:28:08 mirar Exp $ */ + /* $Id: font.c,v 1.38 1998/05/04 16:28:40 mirar Exp $ */   #include "global.h"   #include <config.h>      #define SPACE_CHAR 'i'      /*   **! module Image   **! note - **! $Id: font.c,v 1.37 1998/05/04 16:28:08 mirar Exp $ + **! $Id: font.c,v 1.38 1998/05/04 16:28:40 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:765:   */      void init_font_programs(void)   {    start_new_program();    add_storage(sizeof(struct font*));       add_function("load",font_load,    "function(string:object|int)",0);    -  add_function("create",font_load, +  add_function("create",font_create,    "function(void|string:void)",0);       add_function("write",font_write,    "function(string:object)",0);       add_function("height",font_height,    "function(:int)",0);       add_function("baseline",font_baseline,    "function(:int)",0);