Smooth Lines



Hello,

  The "smooth" option for CanvasLines doesn't seem to do anyting:


my $line = $group->new($group,"Gnome::CanvasLine",
        points => [10,10, 40,30, 50,40, 30,80, 80, 80],
        fill_color => "green",
        width_pixels => 8,
        smooth => 1,
        spline_steps => 50
);


No matter what value I pick for either 'smooth' or 'spline_steps', I get
exactly the same line (one that has no smoothing at all).

This example is taken right from the 'sample code' section on the weg
page.

Does anyone know what's happening?

Cheers,
Daniel.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]