Hi All,
How can I center text at a given x position on a painter?
I use a function to draw lines and above the line I want to set the value of the line (like 0, 2, 4, 6 etc) How can I center these values? I now use something like p.drawText(x,y,`bla') but there must be a way to find out how large 'bla' will be in pixels?
Thanks in advance
Rob
Bookmarks