View Single Post
Old 12-13-2018, 06:15 PM   #6
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 3,409
Default

Ah, ok. So the confusion for me was the docs that say:

Code:
Draws a string at gfx_x, gfx_y
...
In REAPER 5.30+, flags,right,bottom can be specified to control alignment:

    flags&1: center horizontally
I assumed "center horizontally" meant "center around gfx_x".

That is, when flags,right,bottom are specified, it's no longer the case that it "draws a string at gfx_x, gfx_y", but instead draws centered within the rectangle described by x,y right,bottom.

And yeah I guess the gfx_x/y addition being required is a bug? -- not required, not a bug

Last edited by clepsydrae; 12-14-2018 at 02:32 PM.
clepsydrae is offline   Reply With Quote