repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: check userland buffers before reading them.
[haiku.git]
/
src
/
add-ons
/
print
/
drivers
/
gutenprint
/
GPBand.h
blob
5a39174947397824fb852a73e11dd2408c24585e
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