[SlimDX] Set Position of Text in DirectWrite
Hi,
I've taken a look to DirectWrite, and it seems to be very powerful but also more difficult to use...
The text I'm writing is aligned, but how can I put text at an arbitary Position, is this possible?
How can I put for example the framerate in the upper-left corner?
Thanks in advance.
You use a transformation matrix, in this case a 3x2 matrix, which allows for rotation and translation.
See ID2D1RenderTarget::SetTransform.
See ID2D1RenderTarget::SetTransform.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement