[fpc-devel] TFPCustomCanvas Expanded Clipping

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Dec 8 17:17:21 CET 2011


Felipe Monteiro de Carvalho schrieb:

> Yes, in the case of the rectangle drawing I think it was a typo by who
> implemented the current rectangle in fcl-image, I have done various
> similar typos in my coding and they don't mean I really wanted to
> redefine rectangle.
> 
> But the TCanvas line is trully confusing by not adding the last pixel.

It works properly in drawing polygons, in detail with lines of different 
colors or styles. When the last (end) pixel would be painted for every 
line, the connection points would be drawn twice. This doesn't look 
dramatic for polygons, but may cause trouble in drawing other elements.

DoDi




More information about the fpc-devel mailing list