[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Plot/Smoothed/ -> Bezier.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: Bezier.php,v 1.8 2005/08/24 20:36:02 nosey Exp $
Poids: 173 lignes (6 kb)
Inclus ou requis: 3 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 Image/Graph/Plot.php
 Image/Graph/Tool.php

Définit 1 class

Image_Graph_Plot_Smoothed_Bezier:: (5 méthodes):
  Image_Graph_Plot_Smoothed_Bezier()
  _minimumY()
  _maximumY()
  _getControlPoints()
  _addSamplePoints()


Classe: Image_Graph_Plot_Smoothed_Bezier  - X-Ref

Bezier smoothed plottype.

The framework for calculating the Bezier smoothed curve from the dataset.
Used in {@link Image_Graph_Plot_Smoothed_Line} and {@link
Image_Graph_Plot_Smoothed_Area}. Smoothed charts are only supported with non-
stacked types
Image_Graph_Plot_Smoothed_Bezier(& $dataset, $title = '')   X-Ref
Image_Graph_Plot_Smoothed_Bezier [Constructor]

Only 'normal' multitype supported

param: Dataset $dataset The data set (value containter) to plot
param: string $title The title of the plot (used for legends, {@link

_minimumY()   X-Ref
Return the minimum Y point

return: double The minumum Y point

_maximumY()   X-Ref
Return the maximum Y point

return: double The maximum Y point

_getControlPoints($p1, $p0, $p2, $p3)   X-Ref
Calculates all Bezier points, for the curve

param: array $p1 The actual point to calculate control points for
param: array $p0 The point "just before" $p1
param: array $p2 The point "just after" $p1
param: array $p3 The point "just after" $p2
return: array Array of Bezier points

_addSamplePoints($x0, $y0, $x1, $y1)   X-Ref
Create legend sample data for the canvas.

Common for all smoothed plots




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