CVS update: php3/functions

From: Date: Sun, 30 May 1999 04:13:10 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-6290@lists.php.net to get a copy of this message
Date: Sunday May 30, 1999 @ 0:13 Author: jah Update of /repository/php3/functions In directory php:/tmp/cvs-serv6751/functions Modified Files: gd.c Log Message: Forgot to comment out some printf's for debugging. Index: php3/functions/gd.c diff -u php3/functions/gd.c:1.120 php3/functions/gd.c:1.121 --- php3/functions/gd.c:1.120 Sun May 30 00:08:13 1999 +++ php3/functions/gd.c Sun May 30 00:13:09 1999 @@ -29,7 +29,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.120 1999/05/30 04:08:13 jah Exp $ */ +/* $Id: gd.c,v 1.121 1999/05/30 04:13:09 jah Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -2316,9 +2316,9 @@ dy = new_y(char_width + add_width + amount_kern, 0); cur_x += dx; cur_y += dy; - + /* printf("%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n", x1, y1, x2, y2, x3, y3, x4, y4, char_bbox.llx, char_bbox.lly, char_bbox.urx, char_bbox.ury, char_width, amount_kern, cur_x, cur_y, dx, dy); - + */ } } else { @@ -2329,8 +2329,9 @@ if (array_init(return_value) == FAILURE) { RETURN_FALSE; } + /* printf("%d %d %d %d\n", str_bbox.llx, str_bbox.lly, str_bbox.urx, str_bbox.ury); - + */ add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz->value.lval/1000)); add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz->value.lval/1000)); add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz->value.lval/1000)); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#6290) next »