xref: /haiku/src/add-ons/print/drivers/gutenprint/GPBand.h (revision 9295cd647f7e9e3fbdea2355096b5d3c949a0d1c)
1 /*
2 * Copyright 2010, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Michael Pfeiffer
7 */
8 #ifndef GP_BAND_H
9 #define GP_BAND_H
10 
11 
12 #include <Bitmap.h>
13 
14 
15 class GPBand
16 {
17 public:
18 			GPBand(BBitmap* bitmap, BRect validRect, BPoint where);
19 
20 	BRect	GetBoundingRectangle() const;
21 	bool	ContainsLine(int line) const;
22 
23 	BBitmap	fBitmap;
24 	BRect	fValidRect;
25 	BPoint	fWhere;
26 };
27 
28 #endif
29