PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Canvas » Bug #5917

Linestyles not supported if antialiased by native

Details

Submitted2005-11-10 08:51 UTC
Fromelandril at gmail dot com
StatusBogus
PackageImage_Canvas
PHP Version4.3.11
OSFedora 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.