XenevaOS
Loading...
Searching...
No Matches
clip.h
Go to the documentation of this file.
1
30#include "deodhai.h"
31
32/* Check if two rectangle intersects
33* @param r1 -- rectangle one
34* @param r2 -- rectangle two
35*/
36extern bool ClipCheckIntersect(Rect* r1, Rect* r2);
37
38/*
39* ClipCalculateRect -- calculate visible rectanlges of current window
40* @param sub_rect -- subject rectangle
41* @param cut_rect -- cutting rectangle
42* @param list -- pointer to the list, where to store all
43* visible rectangles
44* @param count -- number of rectangles stored in the list
45*/
46extern void ClipCalculateRect(Rect* sub_rect, Rect* cut_rect, Rect* list, int* count);
47
48/*
49* ClipSubtractRect -- calculate visible rectanlges of current window
50* @param sub_rect -- subject rectangle
51* @param cut_rect -- cutting rectangle
52* @param list -- pointer to the list, where to store all
53* visible rectangles
54* @param count -- number of rectangles stored in the list
55*/
56extern void ClipSubtractRect(Rect* sub_rect, Rect* cut_rect, Rect* list, int r_count);
void ClipCalculateRect(Rect *sub_rect, Rect *cut_rect, Rect *list, int *count)
ClipCalculateRect – calculate visible rectanlges of current window.
Definition clip.cpp:62
void ClipSubtractRect(Rect *sub_rect, Rect *cut_rect, Rect *list, int r_count)
ClipSubtractRect – calculate visible rectanlges of current window.
Definition clip.cpp:154
bool ClipCheckIntersect(Rect *r1, Rect *r2)
Check if two rectangle intersects.
Definition clip.cpp:44
XEProcessList * list
Definition main.cpp:27
Definition deodhai.h:66