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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
