freetype icon indicating copy to clipboard operation
freetype copied to clipboard

how to get the length for font after draw

Open fr4nkhe opened this issue 5 years ago • 1 comments

I want the font draw in the image horizontal center, but I don't know what method can get the length for font.

fr4nkhe avatar Jul 13 '20 02:07 fr4nkhe

drawer.MeasureString(text) ? (drawer is *font.Drawer)

syrm avatar Dec 29 '20 13:12 syrm