Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef __L_RASTERWORKS_INCLUDED_
  2. #define __L_RASTERWORKS_INCLUDED_
  3. //
  4. // rasterworks - import table
  5. //
  6. #define import_rasterworks drawText
  7.  
  8. void (__stdcall* drawText)(void *canvas, long x, long y, const char *string, long charQuantity, long fontColor, long params) = (void (__stdcall*)(void*, long, long, const char*, long, long, long))&"drawText";
  9. long (__stdcall* countUTF8Z)(const char *string, long byteQuantity) = (long (__stdcall*)(const char*, long))&"countUTF8Z";
  10. long (__stdcall* charsFit)(long areaWidth, long charHeight) = (long (__stdcall*)(long, long))&"charsFit";
  11. long (__stdcall* strWidth)(long charQuantity, long charHeight) = (long (__stdcall*)(long, long))&"strWidth";
  12.  
  13. asm{
  14.         dd 0,0
  15. }
  16. #endif /* __L_RASTERWORKS_INCLUDED_ */
  17.  
  18.