Bug #9710 Updated: ImageTTFText bounding box coordinates incorrect in manual

From: Date: Mon, 06 Aug 2001 18:25:06 +0000
Subject: Bug #9710 Updated: ImageTTFText bounding box coordinates incorrect in manual
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-62333@lists.php.net to get a copy of this message
ID: 9710
Updated by: andy
Reported By: bobw123@mail.com
Old Status: Assigned
Status: Open
Bug Type: Documentation problem
Operating System: BSDI 4.1
PHP Version: 4.0.2
Old Assigned To: andy
Assigned To: 
New Comment:

ok, maybe I'm not so sure, can anybody with windows test this...

Previous Comments:
------------------------------------------------------------------------

[2001-08-06 13:56:07] andy@php.net

Documentation is wrong

Assigned to myself.

------------------------------------------------------------------------

[2001-03-12 13:00:39] bobw123@mail.com

Hi,

The coordinates returned from ImageTTFText 
are stated to be "upper left, upper right, lower right, lower left"
in the manual, but are returned as the following ( which is the
same array structure that is returned from ImageTTFBBox):

bottom left:
x: 0 
y: 1

bottom right
x: 2
y: 3

top right:
x: 4
y: 5 

top left:
x: 6
y: 7


Possibly the newer version of GD/PHP returns the different array
sructure, as I am using GD 1.3.

Bob

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=9710&edit=1



Thread (1 message)

  • andy@php.net
  • Unknown Message
    • andy@php.net
« previous php.dev (#62333) next »