연습장(다버리고 갑니다...)-남길 글이 있으면 민가촌에 남겨주시고, 회원 가입을 받지 않습니다.

2017/04/12 (15:00) from 124.137.60.57' of 0' Article Number : 1125
Delete Modify ... Access : 265 , Lines : 14
Introduction to D3DXFont_tutorial
Download : d3dxfont.zip (155 Kbytes)
http://www.drunkenhyena.com/cgi-bin/view_cpp_article.pl?chapter=3;article=17

Introduction

In the DirectX9 Summer Update there were a lot of improvements. One of the interfaces that was in sore need of improvement was D3DXFont, and it got it. Not only is it more flexible than it was, but it's much faster. In some ways it's easier to use too.

This lesson will cover basic usage of D3DXFont. You can do more advanced things by combining it with D3DXSprite (which also was greatly improved) and by setting various flags. In this lesson we're going to cover 2 simple uses:

 ● Single lines that don't need to be clipped
 ● Paragraphs to be wrapped to a given rectangle

This lesson also uses dhFPSTimer which will let us gauge our application's performance.


Backward Forward Post Reply List