1 /* 2 * imagesource_mask.h 3 * 4 * Supports RGB and CMYK data 5 * Supports random access 6 * 7 * Copyright (c) 2004 by Alastair M. Robinson 8 * Distributed under the terms of the GNU General Public License - 9 * see the file named "COPYING" for more details. 10 * 11 */ 12 13 #ifndef IMAGESOURCE_MASK_H 14 #define IMAGESOURCE_MASK_H 15 16 #include "imagesource.h" 17 18 class ImageSource_Mask : public ImageSource 19 { 20 public: 21 ImageSource_Mask(ImageSource *source,ImageSource *mask); 22 ~ImageSource_Mask(); 23 ISDataType *GetRow(int row); 24 private: 25 ImageSource *source; 26 ImageSource *mask; 27 }; 28 29 #endif 30