Solved

Drawing Text with DirectX

Posted on 1998-03-31
1
482 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to retreive data from .TFS file exported by DVR 8 217
haveThree challenge 22 121
post4 challenge 28 104
Use of condition with 'serial' in ansible 2 70
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

790 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