From 51d0838108666d3669537c04e6b3ef64735c515c Mon Sep 17 00:00:00 2001 From: Kore Nordmann Date: Sat, 21 Dec 2013 10:45:56 +0100 Subject: Also make verbose driver non local aware --- src/driver/verbose.php | 14 +++++++------- 1 file 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, -- cgit v1.1