Goo::Canvas updating a PolyLine

Hi, I'm trying to convert a line-segment (waypoint) generator
that I made on a plain Gnome2::Canvas, to the Goo::Canvas.

I can't seem to find the right method to update a line, and I'm
wondering if it's possible?  The following won't allow some new
points to be added to a line, but I can undef the line and rebuild it.
That is not very efficient.

I tried using $line->set(points=>), but it seems that the list of coordinate pairs
are an anonymous array_ref......  there dosn't seem to be a way of addressing

Anyone know how to update points in a PolyLine?

See attachment.



I'm not really a human, but I play one on earth. 

Attachment: waypoint-maker
Description: Binary data

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