summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKore Nordmann <mail@kore-nordmann.de>2013-12-21 10:45:56 +0100
committerKore Nordmann <mail@kore-nordmann.de>2013-12-21 10:45:56 +0100
commit51d0838108666d3669537c04e6b3ef64735c515c (patch)
treed423477754ad8fc31d0f43ed0be9b4a35defd343
parent9657eef0ec32d2e2e80a8453e4954d76ebdda7fc (diff)
downloadzetacomponents-graph-51d0838108666d3669537c04e6b3ef64735c515c.zip
zetacomponents-graph-51d0838108666d3669537c04e6b3ef64735c515c.tar.gz
Also make verbose driver non local aware
-rw-r--r--src/driver/verbose.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/driver/verbose.php b/src/driver/verbose.php
index 9bdde60..1026169 100644
--- a/src/driver/verbose.php
+++ b/src/driver/verbose.php
@@ -69,7 +69,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
$pointString = '';
foreach ( $points as $point )
{
- $pointString .= sprintf( "\t( %.2f, %.2f )\n", $point->x, $point->y );
+ $pointString .= sprintf( "\t( %.2F, %.2F )\n", $point->x, $point->y );
}
printf( "% 4d: Draw %spolygon:\n%s",
@@ -90,7 +90,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
*/
public function drawLine( ezcGraphCoordinate $start, ezcGraphCoordinate $end, ezcGraphColor $color, $thickness = 1. )
{
- printf( "% 4d: Draw line from ( %.2f, %.2f ) to ( %.2f, %.2f ) with thickness %d.\n",
+ printf( "% 4d: Draw line from ( %.2F, %.2F ) to ( %.2F, %.2F ) with thickness %d.\n",
$this->call++,
$start->x,
$start->y,
@@ -126,7 +126,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
*/
public function drawTextBox( $string, ezcGraphCoordinate $position, $width, $height, $align, ezcGraphRotation $rotation = null )
{
- printf( "% 4d: Draw text '%s' at ( %.2f, %.2f ) with dimensions ( %d, %d ) and alignement %d.\n",
+ printf( "% 4d: Draw text '%s' at ( %.2F, %.2F ) with dimensions ( %d, %d ) and alignement %d.\n",
$this->call++,
$string,
$position->x,
@@ -150,7 +150,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
*/
public function drawCircleSector( ezcGraphCoordinate $center, $width, $height, $startAngle, $endAngle, ezcGraphColor $color, $filled = true )
{
- printf( "% 4d: Draw %scicle sector at ( %.2f, %.2f ) with dimensions ( %d, %d ) from %.2f to %.2f.\n",
+ printf( "% 4d: Draw %scicle sector at ( %.2F, %.2F ) with dimensions ( %d, %d ) from %.2F to %.2F.\n",
$this->call++,
( $filled ? 'filled ' : '' ),
$center->x,
@@ -177,7 +177,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
*/
public function drawCircularArc( ezcGraphCoordinate $center, $width, $height, $size, $startAngle, $endAngle, ezcGraphColor $color, $filled = true )
{
- printf( "% 4d: Draw circular arc at ( %.2f, %.2f ) with dimensions ( %d, %d ) and size %.2f from %.2f to %.2f.\n",
+ printf( "% 4d: Draw circular arc at ( %.2F, %.2F ) with dimensions ( %d, %d ) and size %.2F from %.2F to %.2F.\n",
$this->call++,
$center->x,
$center->y,
@@ -202,7 +202,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
*/
public function drawCircle( ezcGraphCoordinate $center, $width, $height, ezcGraphColor $color, $filled = true )
{
- printf( "% 4d: Draw %scircle at ( %.2f, %.2f ) with dimensions ( %d, %d ).\n",
+ printf( "% 4d: Draw %scircle at ( %.2F, %.2F ) with dimensions ( %d, %d ).\n",
$this->call++,
( $filled ? 'filled ' : '' ),
$center->x,
@@ -223,7 +223,7 @@ class ezcGraphVerboseDriver extends ezcGraphDriver
*/
public function drawImage( $file, ezcGraphCoordinate $position, $width, $height )
{
- printf( "% 4d: Draw image '%s' at ( %.2f, %.2f ) with dimensions ( %d, %d ).\n",
+ printf( "% 4d: Draw image '%s' at ( %.2F, %.2F ) with dimensions ( %d, %d ).\n",
$this->call++,
$file,
$position->x,
OpenPOWER on IntegriCloud