patriot Posted December 24, 2012 Posted December 24, 2012 Hi, so I am trying to draw a dxText on the screen, but the problem is that the screen positions of the dxText are telling where the text is starting from. I want that the screen positions, as in here: dxDrawText("This is a long line in order to present the new text on the screen!", 600, screenHeight - 147, screenWidth, screenHeight, tocolor( 255, 255, 255, 255 ), 1, "verdana", "left", "top", false, true, false, false, true) Will be like that: (http://i49.tinypic.com/2i24oyx.png) Basically, a static text position no matter what's the length of it. I don't want to make a desiered position for each text line, that's the point... Any functions or some kind of help to achieve what I want will be appriciated.
csiguusz Posted December 24, 2012 Posted December 24, 2012 Where can I find this parameter? It is now "left" in your code.
patriot Posted December 24, 2012 Author Posted December 24, 2012 Got it. What should I put in the vertical?
csiguusz Posted December 24, 2012 Posted December 24, 2012 Got it. What should I put in the vertical? Just use "center" instead of "left"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now