[Lazarus] FPVectorial and TAChart

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Jun 16 15:22:44 CEST 2011

On Thu, Jun 16, 2011 at 2:44 PM, Alexander Klenin <klenin at gmail.com> 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:

> 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?


Felipe Monteiro de Carvalho

More information about the Lazarus mailing list