On Thu, Jun 16, 2011 at 2:44 PM, Alexander Klenin <[email protected]> wrote: > You are right, I did not know it. Maybe it should be mentioned in the wiki. > It is, however, not quite simple. > First, depending on interpretation, formula may be > (ABottom - AY) or even (ABottom + ATop - AY) -- I am not sure which is > preferable.
There is no Bottom and Top in TCanvas, only Height, so: Height - AY In terms of bottom and top it would be: (ABottom - ATop) - AY I added some info here: http://wiki.lazarus.freepascal.org/fpvectorial#Coordinates_in_FPVectorial > Also there is a question of text positioning -- do I understand correctly that > FPVectorial uses given coordinates as bottom-left point of text rectangle > instead of top-left? Correct. -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
