haiku/headers/private/print/libprint/ValidRect.h
Michael Pfeiffer 2440d2c1cf Removed or created shared header files used by print kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:03:14 +00:00

25 lines
373 B
C++

/*
* ValidRect.h
* Copyright 1999-2000 Y.Takagi All Rights Reserved.
*/
#ifndef __VALIDRECT_H
#define __VALIDRECT_H
#include <GraphicsDefs.h>
class BBitmap;
struct RECT {
int left;
int top;
int right;
int bottom;
};
bool get_valid_rect(BBitmap *bitmap, const rgb_color *palette, RECT *rc);
int color_space2pixel_depth(color_space cs);
#endif // __VALIDRECT_H