| [ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
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: Layout.php,v 1.12 2006/02/28 22:48:07 nosey Exp $ |
| Poids: | 219 lignes (7 kb) |
| Inclus ou requis: | 5 fois |
| Référencé: | 0 fois |
| Nécessite: | 1 fichier Image/Graph/Plotarea/Element.php |
Image_Graph_Layout:: (8 méthodes):
Image_Graph_Layout()
_reset()
_calcEdgeOffset()
_calcEdges()
_updateCoords()
_push()
_setCoords()
_getAutoSize()
Classe: Image_Graph_Layout - X-Ref
Defines an area of the graph that can be layout'ed.| Image_Graph_Layout() X-Ref |
| Image_Graph_Layout [Constructor] |
| _reset() X-Ref |
| Resets the elements |
| _calcEdgeOffset($alignSize, $offset, $total, $multiplier) X-Ref |
| Calculate the edge offset for a specific edge param: array $alignSize The alignment of the edge param: int $offset The offset/posision of the at 0% edge param: int $total The total size (width or height) of the element param: int $multiplier +/- 1 if the edge should pushed either toward more |
| _calcEdges() X-Ref |
| Calculate the edges |
| _updateCoords() X-Ref |
| Update coordinates |
| _push($edge, $size = '100%') X-Ref |
| Pushes an edge of area a specific distance 'into' the canvas param: int $edge The edge of the canvas to align relative to param: int $size The number of pixels or the percentage of the canvas total size to occupy relative to the selected alignment edge |
| _setCoords($left, $top, $right, $bottom) X-Ref |
| Sets the coordinates of the element param: int $left The leftmost pixel of the element on the canvas param: int $top The topmost pixel of the element on the canvas param: int $right The rightmost pixel of the element on the canvas param: int $bottom The bottommost pixel of the element on the canvas |
| _getAutoSize() X-Ref |
| Returns the calculated "auto" size return: int The calculated auto size |
| Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |