home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / misc / imagefx_sdk / include / scan / presets.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-19  |  800 b   |  42 lines

  1. /*
  2.  * ImageFX Development Header File
  3.  * Copyright © 1991-1995 Nova Design, Inc.
  4.  * Written by Thomas Krehbiel
  5.  *
  6.  * Resolution Presets (2.0).
  7.  *
  8.  */
  9.  
  10. #ifndef EXEC_NODES_H
  11. #include <exec/nodes.h>
  12. #endif
  13.  
  14. /*
  15.  * Preset:
  16.  *
  17.  * This structure is returned by the new scan.library function
  18.  * NewGetPreset().  It should be considered READ ONLY.
  19.  *
  20.  */
  21. struct Preset
  22. {
  23.    struct MinNode Node;
  24.    short          Width;
  25.    short          Height;
  26.    short          AspectX;
  27.    short          AspectY;
  28.    short          DPIX;
  29.    short          DPIY;
  30.    char           Label[64];
  31.    LONG           reserved[8];
  32. };
  33.  
  34. /*
  35.  * Flags for NewGetPreset():
  36.  */
  37. #define PRESET_SIZE     (0x01)
  38. #define PRESET_ASPECT   (0x02)
  39. #define PRESET_DPI      (0x04)
  40. #define PRESET_ALL      (PRESET_SIZE | PRESET_ASPECT | PRESET_DPI)
  41.  
  42.