Bug #14124 Updated: ImageFilledRectangle x1,y1,x2,y2 issue

From: Date: Tue, 20 Nov 2001 00:01:16 +0000
Subject: Bug #14124 Updated: ImageFilledRectangle x1,y1,x2,y2 issue
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70993@lists.php.net to get a copy of this message
ID: 14124 Updated by: sniper Reported By: philip@adhesivemedia.com Old Status: Open Status: Bogus Bug Type: GD related Operating System: FreeBSD 4.3 PHP Version: 4.0.6 New Comment: PHP only has wrappers for these two functions, gdImageFilledRectangle() and imagerectangle() thus it can not be PHP bug (code for both is identical except for the called GD library function) Please report this to the GD library author. You might wanna try GD 2.0.1 before doing that though.. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-11-19 17:28:39] philip@adhesivemedia.com I am actually using 4.0.7-dev (200108291635 snapshot) with GD 1.8.4. Both ImageRectangle and ImageFilledRectangle say that x1,y1 is the top left corner and x2,y2 is the bottom right corner. ImageRectangle will still draw if you swap these around, but ImageFilledRectangle will not. Granted, if I follow the manual it's not a problem, but I thought you'd want to know that one is more "flexible" than the other... ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14124&edit=1

« previous php.dev (#70993) next »