michael.vancann...@wisa.be schrieb:

Yes, but changing this will break existing code ?

Such code can be considered broken, deserves an fix anyhow.

Yes, it cannot do both at the same time, unless we add a property
PaintLikeTCanvas or something like that.

Hm. I would reverse the property. "UseFPCPaint", which must be switched 'on'.

I'd suggest that you use the TCanvas conventions, before you run into well known pitfalls.

E.g. an empty rectangle should be (x,y, x,y), while a single pixel should be (x,y, x+1,y+1). The Width is Right-Left, not Right-Left+1. Otherwise combining regions, tiling (tables...), rotating etc. will be overly complicated and consequently almost buggy.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to