?
Solved

Drawing Text with DirectX

Posted on 1998-03-31
1
Medium Priority
?
489 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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 …
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

801 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