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.

81 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. pclxlcmn.h
  5. Abstract:
  6. PCL XL minidriver common utility function header file
  7. Environment:
  8. Windows Whistler
  9. Revision History:
  10. 03/23/00
  11. Created it.
  12. --*/
  13. #ifndef _PCLXLCMN_H_
  14. #define _PCLXLCMN_H_
  15. #define DATALENGTH_HEADER_SIZE 5
  16. #define READIMAGE_HEADER_SIZE 15
  17. PBYTE
  18. PubGetFontName(
  19. PDEVOBJ pdevobj,
  20. ULONG ulFontID);
  21. HRESULT
  22. FlushCachedText(
  23. PDEVOBJ pdevobj);
  24. HRESULT
  25. RemoveAllFonts(
  26. PDEVOBJ pdevobj);
  27. ROP4
  28. UlVectMixToRop4(
  29. IN MIX mix);
  30. HRESULT
  31. GetXForm(
  32. PDEVOBJ pdevobj,
  33. PUNIFONTOBJ pUFObj,
  34. FLOATOBJ_XFORM* pxform);
  35. HRESULT
  36. GetFONTOBJ(
  37. PDEVOBJ pdevobj,
  38. PUNIFONTOBJ pUFObj,
  39. FONTOBJ **pFontObj);
  40. HRESULT
  41. GetXYScale(
  42. FLOATOBJ_XFORM *pxform,
  43. FLOATOBJ *pfoXScale,
  44. FLOATOBJ *pfoYScale);
  45. HRESULT
  46. IsXYSame(
  47. FLOATOBJ_XFORM *pxform);
  48. inline
  49. VOID
  50. DetermineOutputFormat(
  51. XLATEOBJ *pxlo,
  52. ColorDepth DeviceColorDepth,
  53. INT iBitmapFormat,
  54. OutputFormat *pOutputF,
  55. ULONG *pulOutputBPP);
  56. extern "C" BOOL
  57. BSaveFont(
  58. PDEVOBJ pdevobj);
  59. #endif // _PCLXLCMN_H_