On Sun, Jun 7, 2009 at 8:27 PM, Stephan Rose wrote:
> Well it'd have to be top left and top right. Given those two, top center
> will be determined by DrawText on it's own when given DT_CENTER
> alignment.
>
> Ok I think that I'm really going to have to do is make a rotated test
> app to see what h
On Sun, 2009-06-07 at 19:53 -0500, Vincent Povirk wrote:
> This looks wrong to me. You're only adjusting the left coordinate, but
> in case of a rotation in the world transform, you'll need to adjust
> the top as well.
>
> Also, I think you may still be able to use DT_CENTER and DT_RIGHT
> rather
This looks wrong to me. You're only adjusting the left coordinate, but
in case of a rotation in the world transform, you'll need to adjust
the top as well.
Also, I think you may still be able to use DT_CENTER and DT_RIGHT
rather than measuring the string beforehand. Creating a rectangle
something