home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Graphics / ToyViewer-2.6a / src / ImageOpr.h < prev    next >
Encoding:
Text File  |  1997-01-23  |  1.3 KB  |  81 lines

  1. #import  <objc/Object.h>
  2. #import  "common.h"
  3.  
  4. @interface ImageOpr:Object
  5.  
  6. - doRotateFlipClip:(int)op to:(int)angle;
  7. - setRandom:(float)freq :(float)mag;
  8. - (BOOL)checkCommonInfo:(const commonInfo *)cinf filename:(const char *)fn;
  9. - keyParentWindow:(int)op;
  10.  
  11. @end
  12.  
  13.  
  14. @interface ImageOpr (Mono)
  15.  
  16. - monochrome:(int)op tone:(const unsigned char *)tone method:(int)tag;
  17. - brightness:(const unsigned char *)tone;
  18.  
  19. @end
  20.  
  21.  
  22. @interface ImageOpr (Edge)
  23.  
  24. - enhanceWith:(float)degree;
  25. - embossWith:(float)degree and:(float)bright;
  26. - posterizeWith:(float)diff and:(float)ctrl;
  27.  
  28. @end
  29.  
  30.  
  31. @interface ImageOpr (SFrame)
  32.  
  33. - softFrame:(float)ratio shape:(int)shape color:(int *)color;
  34.  
  35. @end
  36.  
  37.  
  38. @interface ImageOpr (ColorReplace)
  39.  
  40. - colorChange:(int *)origclr to:(int *)newclr
  41.     with:(float)comparison uniformly:(BOOL)uniform area:(BOOL)outside;
  42.  
  43. @end
  44.  
  45. @interface ImageOpr (ColorToneCtrl)
  46.  
  47. - colorToneEnhance:(const float *)ratio;
  48.  
  49. @end
  50.  
  51.  
  52. @interface ImageOpr (ReduceColor)
  53.  
  54. - reduceUsing: (int)tag;    /* by Median Cut Method */
  55. - (BOOL)needReduce:(const char *)fn colors:(int)cnum ask:(BOOL)ask;
  56.  
  57. @end
  58.  
  59.  
  60. @interface ImageOpr (ColorHalf)
  61.  
  62. - colorHalftoneWith:(int)colnum method:(int)tag;
  63.     /* by Dither or MDA (Mean Density Approximation Method) */ 
  64.  
  65. @end
  66.  
  67.  
  68. @interface ImageOpr (CutDownBits)
  69.  
  70. - cutDownBitsTo:(int)bits;
  71.  
  72. @end
  73.  
  74.  
  75. @interface ImageOpr (Newmap)
  76.  
  77. - newBitmap: sender;
  78. - EPSResize: sender;
  79.  
  80. @end
  81.