delphi - Drawing Text At An Angle -
I am writing VCL / Delphi application, and I need to draw text on the canvas object. I'm having trouble because I should have the text at a variable size and angle. Is there any easy way to do this? The TextOut method only takes the argument for the initial coordinates, so I do not know how it can attract rotated text. Thanks!
If you are painting on a canvas, then canvas.font.Orientation . It takes an angle as an integer in the tenth of a degree (i.e., you pass 900 to 90 degree angle.)
Comments
Post a Comment