Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

gdi drawing text in a rectangle boundary

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 / rouncer   Members   

294
Like
0Likes
Like

Posted 23 February 2014 - 03:49 AM

Im making an art program in directx11,  but i figure using gdi for text is the right option.

 

Ive got a single line of text coming out,  but im not sure how to go about fitting it in a rectangle, and giving it basic justification (left side, right side, or centred).  

 

That would do for my purposes.

 

greatful for any help...



#2 / rouncer   Members   

294
Like
0Likes
Like

Posted 23 February 2014 - 04:53 AM

drawtext() :)  thankyou drivethrough






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.