I’m having an issue with aligning my text on a canvas. The text I created overlaps with the picture itself, and I’d like to move the text upwards so that both the picture and the text could be seen properly. Currently I’m using t->SetTextAlign(31), and I’ve tried a few other numbers, but those were even worse.
Any ideas how to move the text upwards?
I attached the picture
Thanks!
I’m using TText, and this is part of my code:
cdate is a const char.
TText* t = new TText(.5,.5,cdate);
t->SetTextAlign(31);
t->SetTextColor(kBlue);
t->Draw();