Solved

Drawing Text with DirectX

Posted on 1998-03-31
1
479 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
ID: 1317363
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Show shut-down message as Windows 8 shuts down. 9 90
tripleUp challenge 7 78
how to split multiple lines delimiter : 8 97
Problem to App 4 78
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

813 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

11 Experts available now in Live!

Get 1:1 Help Now