[ 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/Pointing/ -> Angular.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: Angular.php,v 1.5 2005/08/24 20:36:03 nosey Exp $
Poids: 105 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Marker/Pointing.php

Définit 1 class

Image_Graph_Marker_Pointing_Angular:: (2 méthodes):
  Image_Graph_Marker_Pointing_Angular()
  _drawMarker()


Classe: Image_Graph_Marker_Pointing_Angular  - X-Ref

Marker that points 'away' from the graph.

Use this as a marker for displaying another marker pointing to the original
point on the graph - where the 'pointer' is calculated as line orthogonal to
a line drawn between the points neighbours to both sides (an approximate
tangent). This should make an the pointer appear to point 'straight' out from
the graph. The 'head' of the pointer is then another marker of any choice.

Image_Graph_Marker_Pointing_Angular($radius, & $markerEnd)   X-Ref
Image_Graph_AngularPointingMarker [Constructor]

param: int $radius The 'length' of the pointer
param: Marker $markerEnd The ending marker that represents 'the head of

_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