• Advertisement

Archived

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

D3DXFONT->DrawTextA Return value??

This topic is 5792 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement

  • Advertisement