[Lazarus] Patch for fpVectorial
Leonardo M. Ramé
l.rame at griensu.com
Wed Jun 8 15:11:38 CEST 2011
On 2011-06-08 15:05:45 +0200, Felipe Monteiro de Carvalho wrote:
> Your code is wrong, because Vec.StartPath creates a new path.
> Previously it didn't erase the color, but now it does. Try this order
> of calls:
>
> Vec.StartPath(0, 0);
> Vec.SetPenColor(lClYellow); // <--- after StartPath
> Vec.SetPenWidth(1);
> Vec.AddLineToPath(100, 100);
> Vec.EndPath();
>
Great, now the color works. But the PenWidth doesn't seems to be
working.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list