home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / olympus / ik32_15t / main.shr / IK32.CNV < prev    next >
Encoding:
INI File  |  1996-08-01  |  2.8 KB  |  98 lines

  1. [replace]
  2. ##procedure CreatePalette(nColors: Smallint; var pPaletteEntries: TColor; nSystemColors: Smallint);
  3. ##
  4.     procedure CreatePalette(nColors: Smallint; pPaletteEntries: Pointer; nSystemColors: Smallint);
  5. [replace]
  6. ##procedure GetColorCountArray(var pCountArray: TColor);
  7. ##
  8.      procedure GetColorCountArray(pCountArray: Pointer);
  9. [replace]
  10. ##procedure GetPalette(var pPaletteArray: TColor);
  11. ##
  12.     procedure GetPalette(pPaletteArray: Pointer);
  13. [replace]
  14. ##procedure GetScanLine(nLine: Smallint; var pScanLine: TColor);
  15. ##
  16.     procedure GetScanLine(nLine: Smallint; pScanLine: Pointer);
  17. [replace]
  18. ##procedure MatrixFilter(nMatrixSize: Smallint; var pMatrix: Smallint; nScale, nNorm, nOffset: Smallint);
  19. ##
  20.     procedure MatrixFilter(nMatrixSize: Smallint; pMatrix: Pointer; nScale, nNorm, nOffset: Smallint);
  21. [replace]
  22. ##procedure PutScanLine(nLine: Smallint; var pLine: TColor; nUpdate: Variant);
  23. ##
  24.     procedure PutScanLine(nLine: Smallint; pLine: Pointer; nUpdate:Variant);
  25. [replace]
  26. ##procedure ReduceColors(nColors, nOptimize, nDither, nNoBleed: Smallint);
  27. ##
  28.     procedure ReduceColors(nColors:Integer; nOptimize, nDither, nNoBleed: Boolean);
  29. [replace]
  30. ##procedure ReduceColorsCallback(nColors, bOptimize, bDither, bNoBleed: Smallint; pPeekCntrl: Variant);
  31. ##
  32.     procedure ReduceColorsCallback(nColors : Smallint; bOptimize, bDither, bNoBleed: Boolean; pPeekCntrl: Variant);
  33. [replace]
  34. ##procedure PolyLine(var PointArray: Integer; nPts: Smallint; nDestination: Variant);
  35. ##
  36.     procedure PolyLine(PointArray: Pointer; nPts: Smallint; nDestination: Variant);
  37. [replace]
  38. ##procedure Polygon(var PointArray: Integer; nPts, nWinding: Smallint; nDestination: Variant);
  39. ##
  40.     procedure Polygon(PointArray: Pointer; nPts, nWinding: Smallint; nDestination: Variant);
  41. [insert_before]
  42. ##implementation
  43. ##
  44.  
  45. { ******* Constants ******* }
  46.  
  47. { Image file formats }
  48.  
  49. const
  50.     IK_EXTENSION = 0;
  51.     IK_TIFF      = 1;
  52.     IK_TARGA     = 2;
  53.     IK_BITMAP    = 3;
  54.     IK_GIF       = 4;
  55.     IK_DIB       = 5;
  56.     IK_PCX       = 6;
  57.     IK_JPEG      = 7;
  58.     IK_OLEPBRUSH = 8;
  59.     IK_FIF       = 9;
  60.  
  61. { Image file compression types }
  62.  
  63.     IK_UNCOMP   = 0;
  64.     IK_LZW      = 1;
  65.     IK_RLE      = 2;
  66.     IK_PACKBITS = 3;
  67.     IK_OS2      = 4;
  68.     IK_PCXCOMP  = 5;
  69.  
  70. { Scrollbar types }
  71.     IK_SB_NONE = 0;
  72.     IK_SB_HORZ = 1;
  73.     IK_SB_VERT = 2;
  74.     IK_SB_BOTH = 3;
  75.  
  76. { Load Options }
  77.     IK_FIF_24_BIT           = 0;
  78.     IK_FIF_8_BIT_DITHERED   = 1;
  79.     IK_FIF_4_BIT_DITHERED   = 2;
  80.     IK_FIF_8_BIT_NODITHERED = 3;
  81.     IK_FIF_4_BIT_NODITHERED = 4;
  82.  
  83. { Load Scale }
  84.     IK_FULL_SCALE   = 0;
  85.     IK_HALF_SCALE   = 1;
  86.     IK_DOUBLE_SCALE = 2;
  87.     IK_IGNORE_SCALE = 3;
  88.  
  89. { Contents }
  90.     IK_CT_EMPTY = 0;
  91.     IK_CT_DIB   = 1;
  92.     IK_CT_PAL   = 2;
  93.  
  94. { ikDumpControl }
  95.     IK_DC_IMAGE_PALETTE = 0;
  96.     IK_DC_IMAGE         = 1;
  97.     IK_DC_PALETTE       = 2;
  98.