Original Post
Hi !
I''ve recently started using directX, and was wondering 2 things:
(I use directx 7 / ddraw)
1)
Are there no support for textdrawing in directX ?
I know I can use GDI to draw text in surfaces in directX, but it''s kinda slow.
If I want faster textdrawing, do I have to make text-engine myself, using bitmaps as characters ? Or what shall I do ?
2)
When I blit my "sprites" I use the bltfast function, and I clip my sprites from the source using the source_rect in the BlitFast function. Like so:
lpDDSBack->
BltFast(xpos,ypos,back_surf,&source_rect,DDBLTFAST_WAIT)
I do it like this since he does so in my book,"teach yourself directX 7 in 24 hours". Now I''ve seen people using the clipper instead, and not having to bother with calculating the cutting from the source-sprite.
Is there any drawback using the clipper ? (It seems alot more easy to use it)
=D
//TechnoCore