home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mod201j.zip / modula2.exe / os2api / pic.def < prev    next >
Text File  |  1994-07-05  |  1KB  |  39 lines

  1. DEFINITION MODULE PIC;
  2.  
  3. (************************************************************************
  4.   OS/2 2.x interface for Presentation Manager Picture functions
  5.  
  6.  
  7.   Copyright (c) 1992, 1994 by Juergen Neuhoff
  8. *************************************************************************)
  9.  
  10. (*$XL+       Modula-2 language extensions: '_' allowed for symbol names *)
  11. (*$CDECL+    C-style procedures                                         *)
  12. (*$A         default alignment for record fields                        *)
  13.  
  14. FROM   OS2DEF  IMPORT HAB;
  15.  
  16. CONST (* type of picture to print *)
  17.   PIP_MF                  = 1;
  18.   PIP_PIF                 = 2;
  19.  
  20. CONST (* type of conversion required *)
  21.   PIC_PIFTOMET            = 0;
  22.   PIC_SSTOFONT            = 2;
  23.  
  24. PROCEDURE PicPrint
  25. ( AnchorBlockHandle       : HAB;
  26.   FileName                : ARRAY OF CHAR;
  27.   Type                    : LONGINT;
  28.   VAR Params              : ARRAY OF CHAR
  29. )                         : BOOLEAN;
  30.  
  31. PROCEDURE PicIchg
  32. ( AnchorBlockHandle       : HAB;
  33.   FileName1               : ARRAY OF CHAR;
  34.   FileName2               : ARRAY OF CHAR;
  35.   Type                    : LONGINT
  36. )                         : BOOLEAN;
  37.  
  38. END PIC.
  39.