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
15class GPBand
16{
17public:
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