Solved

Drawing Text with DirectX

Posted on 1998-03-31
1
472 Views
Last Modified: 2013-11-20
Hi,
I would like to know what I would need to do to map ttf's to be able to draw them as graphics in DirectX, I really don't want to get the DC and use textout or drawtext, because I don't want to lose the speed benefits of DirectX.  Basically, I am currently working on a stupid little program, and I need to put some text on my screen. I am runing in 640x480x256 full screen, and need to display things like score.  Any help would be appreciated.
0
Comment
Question by:navigator010897
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
Comment Utility
One way would be to use bitmaps that you have previously created. Bitmaps for certain text and digits. Then you can BitBlt() whatever character is necessary. I have found that using ExtTextOut() with a DC is very quick and very usable.


0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now