Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

  1. /******************************Module*Header***********************************\
  2. *
  3. * *******************
  4. * * GDI SAMPLE CODE *
  5. * *******************
  6. *
  7. * Module Name: text.h
  8. *
  9. * Text rendering support routines.
  10. *
  11. * Copyright (c) 1994-1998 3Dlabs Inc. Ltd. All rights reserved.
  12. * Copyright (c) 1995-1999 Microsoft Corporation. All rights reserved.
  13. *
  14. \******************************************************************************/
  15. #ifndef __TEXT__
  16. #define __TEXT__
  17. extern BOOL bEnableText(PDev*);
  18. extern VOID vDisableText(PDev*);
  19. extern VOID vAssertModeText(PDev*, BOOL);
  20. extern BOOL bProportionalText(
  21. PDev* ppdev,
  22. GLYPHPOS* pgp,
  23. LONG cGlyph);
  24. extern BOOL bFixedText(
  25. PDev* ppdev,
  26. GLYPHPOS* pgp,
  27. LONG cGlyph,
  28. ULONG ulCharInc);
  29. extern BOOL bClippedText(
  30. PDev* ppdev,
  31. GLYPHPOS* pgp,
  32. LONG cGlyph,
  33. ULONG ulCharInc,
  34. CLIPOBJ* pco);
  35. extern BOOL bClippedAAText(
  36. PDev* ppdev,
  37. GLYPHPOS* pgp,
  38. LONG cGlyph,
  39. ULONG ulCharInc,
  40. CLIPOBJ* pco);
  41. #endif // __TEXT__