vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / print / drivers / gutenprint / GPBand.h
blob5a39174947397824fb852a73e11dd2408c24585e
1 /*
2 * Copyright 2010, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Michael Pfeiffer
7 */
8 #ifndef GP_BAND_H
9 #define GP_BAND_H
12 #include <Bitmap.h>
15 class GPBand
17 public:
18 GPBand(BBitmap* bitmap, BRect validRect, BPoint where);
20 BRect GetBoundingRectangle() const;
21 bool ContainsLine(int line) const;
23 BBitmap fBitmap;
24 BRect fValidRect;
25 BPoint fWhere;
28 #endif