[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Image/ -> png.php (sommaire)

(pas de description)

Poids: 246 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Horde_Image_png:: (12 méthodes):
  Horde_Image_png()
  getContentType()
  raw()
  reset()
  rectangle()
  _header()
  _IHDR()
  _IEND()
  _IDAT()
  _tEXt()
  _tIME()
  _Adler32()


Classe: Horde_Image_png  - X-Ref

This class implements the Horde_Image:: API for PNG images. It
mainly provides some utility functions, such as the ability to make
pixels or solid images for now.

$Horde: framework/Image/Image/png.php,v 1.19.10.8 2006/05/31 17:06:36 selsky Exp $

Copyright 2003-2006 Mike Cochrane <mike@graftonhall.co.nz>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Horde_Image_png($params)   X-Ref
PNG image constructor.


getContentType()   X-Ref
Pas de description

raw()   X-Ref
Return the raw data for this image.

return: string  The raw image data.

reset()   X-Ref
Reset the image data.


rectangle($x, $y, $width, $height, $color = 'black', $fill = 'none')   X-Ref
Draw a rectangle.

param: integer $x       The left x-coordinate of the rectangle.
param: integer $y       The top y-coordinate of the rectangle.
param: integer $width   The width of the rectangle.
param: integer $height  The height of the rectangle.
param: string $color    The line color of the rectangle.
param: string $fill     The color to fill the rectangle with.

_header()   X-Ref
Create the PNG file header.


_IHDR()   X-Ref
Create Image Header block.


_IEND()   X-Ref
Create IEND block.


_IDAT()   X-Ref
Create Image Data block.


_tEXt($keyword, $text)   X-Ref
Create tEXt block.


_tIME($date = null)   X-Ref
Create last modified time block.


_Adler32($input)   X-Ref
Calculate an Adler32 checksum for a string.




Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7