home *** CD-ROM | disk | FTP | other *** search
/ Windows Graphics Programming / Feng_Yuan_Win32_GDI_DirectX.iso / Samples / Chapt_15 / Text / TextDemo.h < prev   
Encoding:
C/C++ Source or Header  |  2000-05-12  |  2.2 KB  |  51 lines

  1. #pragma once
  2.  
  3. //-----------------------------------------------------------------------------------//
  4. //              Windows Graphics Programming: Win32 GDI and DirectDraw               //
  5. //                             ISBN  0-13-086985-6                                   //
  6. //                                                                                   //
  7. //  Written            by  Yuan, Feng                             www.fengyuan.com   //
  8. //  Copyright (c) 2000 by  Hewlett-Packard Company                www.hp.com         //
  9. //  Published          by  Prentice Hall PTR, Prentice-Hall, Inc. www.phptr.com      //
  10. //                                                                                   //
  11. //  FileName   : textdemo.h                                                             //
  12. //  Description: Text demo routines                                                  //
  13. //  Version    : 1.00.000, May 31, 2000                                              //
  14. //-----------------------------------------------------------------------------------//
  15.  
  16. void ZoomRect(HDC hDC, int x0, int y0, int x1, int y1, int dx, int dy, int zoom);
  17.  
  18. void Line(HDC hDC, int x0, int y0, int x1, int y1);
  19. void Box(HDC hDC, int x0, int y0, int x1, int y1);
  20. void disp(HDC hDC, int x, int y, const TCHAR * mess, int val);
  21. void disp(HDC hDC, int x, int y, const TCHAR * mess);
  22.  
  23. void Demo_StockFonts(HDC hDC, const RECT * rcPaint);
  24. void Demo_Term(HDC hDC, const RECT * rcPaint);
  25. void Demo_CoordinateSystem(HDC hDC, const RECT * rcPaint);
  26.  
  27. void Test_LC(void);
  28. void Test_Point(void);
  29.  
  30. void Demo_TextAlignment(HDC hDC, const RECT * rcPaint);
  31. void Demo_RTL(HDC hDC, const RECT * rcPaint);
  32. void Demo_Justification(HDC hDC, const RECT * rcPaint);
  33. void Demo_CharacterWidth(HDC hDC, const RECT * rcPaint);
  34. void Demo_CharacterPlacement(HDC HDC, const RECT * rcPaint);
  35. void Demo_GlyphIndex(HDC hDC, const RECT * rcPaint);
  36.  
  37. void Demo_GlyphOutline(HDC hDC);
  38.  
  39. void Demo_TabbedTextOut(HDC hDC);
  40. void Demo_Paragraph(HDC hDC, bool bPrecise);
  41.  
  42. void Demo_TextColor(HDC hDC, HINSTANCE hInst);
  43. void Demo_TextStyle(HDC hDC);
  44. void Demo_TextGeometry(HDC hDC);
  45.  
  46. void Demo_TextasBitmap(HDC hDC);
  47. void Demo_TextasBitmap2(HDC hDC);
  48.  
  49. void Demo_TextasCurve(HDC hDC);
  50. void Demo_TextasCurve2(HDC hDC);
  51.