[Lazarus] Patch for fpVectorial

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Jun 8 15:05:45 CEST 2011


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();

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list