Jump to content

Need help regarding dxText text position!


patriot

Recommended Posts

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:

2i24oyx.png

(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.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...