[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Marker/ -> Icon.php (sommaire)

Image_Graph - PEAR PHP OO Graph Rendering Utility. PHP versions 4 and 5

Author: Jesper Veggerby <pear.nosey@veggerby.dk>
Copyright: Copyright (C) 2003, 2004 Jesper Veggerby Hansen
License: http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
Version: CVS: $Id: Icon.php,v 1.8 2005/08/24 20:35:53 nosey Exp $
Poids: 133 lignes (4 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Marker.php

Définit 1 class

Image_Graph_Marker_Icon:: (4 méthodes):
  Image_Graph_Marker_Icon()
  setPointX()
  setPointY()
  _drawMarker()


Classe: Image_Graph_Marker_Icon  - X-Ref

Data marker using an image as icon.

Image_Graph_Marker_Icon($filename, $width = 0, $height = 0)   X-Ref
Create an icon marker

param: string $filename The filename of the icon
param: int $width The 'new' width of the icon if it is to be resized
param: int $height The 'new' height of the icon if it is to be resized

setPointX($x)   X-Ref
Set the X 'center' point of the marker

param: int $x The X 'center' point of the marker

setPointY($y)   X-Ref
Set the Y 'center' point of the marker

param: int $y The Y 'center' point of the marker

_drawMarker($x, $y, $values = false)   X-Ref
Draw the marker on the canvas

param: int $x The X (horizontal) position (in pixels) of the marker on
param: int $y The Y (vertical) position (in pixels) of the marker on the
param: array $values The values representing the data the marker 'points'



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7