DrawHTML.h 559 B

1234567891011121314
  1. /* DrawHTML()
  2. * Drop-in replacement for DrawText() supporting a tiny subset of HTML.
  3. */
  4. #if defined __cplusplus
  5. extern "C"
  6. #endif
  7. int __stdcall DrawHTML(
  8. HDC hdc, // handle of device context
  9. LPCTSTR lpString, // address of string to draw
  10. int nCount, // string length, in characters
  11. LPRECT lpRect, // address of structure with formatting dimensions
  12. UINT uFormat // text-drawing flags
  13. );