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 11class BBitmap; 12 13struct RECT { 14 int left; 15 int top; 16 int right; 17 int bottom; 18}; 19 20bool get_valid_rect(BBitmap *bitmap, RECT *rc); 21 22int color_space2pixel_depth(color_space cs); 23 24#endif // __VALIDRECT_H 25