12fd6cc2e7
* move libprint headers into libs headers folder accordingly * merge all shared folders sources into kits print, we might build later on a real print kit, propably also to access cups from an nicely API, atm static * move all shared headers into private print, also pr_server.h from interface * adjust build to work with the changed folder layout git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
25 lines
347 B
C++
25 lines
347 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, RECT *rc);
|
|
|
|
int color_space2pixel_depth(color_space cs);
|
|
|
|
#endif // __VALIDRECT_H
|