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