Archived

This topic is now archived and is closed to further replies.

ByteMe95

D3DXFONT->DrawTextA Return value??

Recommended Posts

strange, the function is declared: INT DrawTextA(...); and it says it returns D3D_OK on success, but usually that goes wtih an HRESULT return value. PLUS: help file says using the flag DT_CALCRECT: "Determines the width and height of the rectangle... In either case, DrawTextA returns the height of the formatted text but does not draw the text." So this says it could return the height? PLUS: I call drawtextA and check the return value, I ENVER get D3d_OK but it DOES draw, what''s the dilly yo, bad documentation? ByteMe95::~ByteMe95() My S(h)ite

Share this post


Link to post
Share on other sites