Jump to content

Question - Labels


manve1

Recommended Posts

You can't.

You need to use the "onClientRender"-event. In the function, you create a rendertarget using dxCreateRenderTarget and set that as rendertarget using dxSetRenderTarget. A rendertarget is basically a drawingplane. Instead of drawing on your screen, you draw in a rendertarget and you draw that rendertarget somewhere on your screen, like writing a note and putting it on the table.

Then you use dxDrawText (since you set the created rendertarget as rendertarget, it draws on that rendertarget) to draw your text on the target. After dxDrawText, you reset the rendertarget using dxSetRenderTarget() and draw the rendertarget on the screen using dxDrawImage. Give the image a rotation and you got your rotated text.

If you need an example script, just ask for it.

Edited by Guest
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...