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
Make UEFI boot-platform build again
[haiku.git]
/
headers
/
libs
/
print
/
libprint
/
ValidRect.h
blob
12b5f1e2b387aa13823b433938cdb0c22947f921
1
/*
2
* ValidRect.h
3
* Copyright 1999-2000 Y.Takagi All Rights Reserved.
4
*/
5
6
#ifndef __VALIDRECT_H
7
#define __VALIDRECT_H
8
9
#include <GraphicsDefs.h>
10
11
class
BBitmap
;
12
13
struct
RECT
{
14
int
left
;
15
int
top
;
16
int
right
;
17
int
bottom
;
18
};
19
20
bool
get_valid_rect
(
BBitmap
*
bitmap
,
RECT
*
rc
);
21
22
int
color_space2pixel_depth
(
color_space cs
);
23
24
#endif
// __VALIDRECT_H