IMultiPageBitmapController.h
Go to the documentation of this file.
1 #ifndef iimg_IMultiPageBitmapController_included
2 #define iimg_IMultiPageBitmapController_included
3 
4 
5 // ACF includes
6 #include <iimg/IBitmap.h>
8 
9 
10 namespace iimg
11 {
12 
13 
18 {
19 public:
26  virtual iimg::IBitmap* InsertBitmap(
27  iimg::IBitmap::PixelFormat pixelFormat,
28  const istd::CIndex2d& size) = 0;
29 
41  virtual iimg::IBitmap* InsertBitmap(
42  iimg::IBitmap::PixelFormat pixelFormat,
43  const istd::CIndex2d& size,
44  void* dataPtr,
45  bool releaseFlag,
46  int linesDifference = 0) = 0;
47 
52  virtual void RemoveBitmap(int index) = 0;
53 };
54 
55 
56 } // namespace iimg
57 
58 
59 #endif // iimg_IMultiPageBitmapController_included
60 
61 
Index implementation for addressing elements in 2D-space.
Definition: CIndex2d.h:20
PixelFormat
Bitmap pixel format description.
Definition: IBitmap.h:23
Definition of single plane bitmap.
Definition: IBitmap.h:17
Supplier allowing to access of multiple produced bitmaps.
virtual iimg::IBitmap * InsertBitmap(iimg::IBitmap::PixelFormat pixelFormat, const istd::CIndex2d &size)=0
Inserts a new bitmap.
virtual void RemoveBitmap(int index)=0
Removes the bitmap at the given index.
Interface of a controller for handling multi-page bitmaps.

© 2007-2017 Witold Gantzke and Kirill Lepskiy