2002-11-27 02:03:14 +03:00
|
|
|
/*
|
|
|
|
* 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;
|
|
|
|
};
|
|
|
|
|
2004-01-30 20:10:36 +03:00
|
|
|
bool get_valid_rect(BBitmap *bitmap, RECT *rc);
|
2002-11-27 02:03:14 +03:00
|
|
|
|
|
|
|
int color_space2pixel_depth(color_space cs);
|
|
|
|
|
|
|
|
#endif // __VALIDRECT_H
|