Home » Images » Image_Canvas » Bug #5917
Linestyles not supported if antialiased by native
Details
| Submitted | 2005-11-10 08:51 UTC |
|---|---|
| From | elandril at gmail dot com |
| Status | Bogus |
| Package | Image_Canvas |
| PHP Version | 4.3.11 |
| OS | Fedora 3 |
| Roadmaps | (Not assigned) |
Comments
[2005-11-10 08:51 UTC] elandril at gmail dot com
Description:
------------
When a Canvas is created with antialias=native linestyles do not have any effect, but with antialias=driver it works great although very slow. :(
Test script:
---------------
When using Image_Graph:
$HardMarker =& $Plotarea->addNew('Axis_Marker_Line', null, IMAGE_GRAPH_AXIS_Y);
$HardMarker->setValue( 10 );
$LineStyle =& Image_Graph::factory('Image_Graph_Line_Solid', 'red@0.8');
$LineStyle->setThickness(2);
$HardMarker->setLineStyle($LineStyle);
Expected result:
----------------
A red line with thickness 2 is drawn at the Y position 10.
Actual result:
--------------
A red line with default thickness 1 is drawn at the Y position 10.