XenevaOS
Loading...
Searching...
No Matches
rect.h
Go to the documentation of this file.
1
30#ifndef __RECT_H__
31#define __RECT_H__
32
33#include "deodhai.h"
34
35/*
36* RectSetLeft -- set a new left edge value to
37* the given rect
38* @param rect -- pointer to the rect structure
39* @param new_left -- new left edge value
40*/
41extern int RectSetLeft(Rect* rect, int new_left);
42
43/*
44* RectSetRight -- sets a new right edge value to
45* the given rect
46* @param rect -- pointer to the rect structure
47* @param new_right -- new right value
48*/
49extern int RectSetRight(Rect * rect, int new_right);
50
51/*
52* RectSetTop -- set a new top edge value to the given
53* rectangle
54* @param rect -- pointer to the rect structure
55* @param new_top -- top edge value
56*/
57extern int RectSetTop(Rect *rect, int new_top);
58
59/*
60* RectSetBottom -- set a new bottom edge value to the given
61* rectangle
62* @param rect -- pointer to the rect structure
63* @param new_bottom -- new bottom edge value
64*/
65extern int RectSetBottom(Rect *rect, int new_bottom);
66
67/*
68* RectGetLeft -- returns the left edge value
69* @param rect -- pointer to the rect structure
70*/
71extern int RectGetLeft(Rect *rect);
72
73/*
74* RectGetRight -- returns the right edge value
75* @param rect -- pointer to the rect structure
76*/
77extern int RectGetRight(Rect *rect);
78
79/*
80* RectGetTop -- returns the top edge value
81* @param rect -- pointer to the rect structure
82*/
83extern int RectGetTop(Rect *rect);
84
85/*
86* RectGetBottom -- returns the bottom edge value
87* @param rect -- pointer to the rect structure
88*/
89extern int RectGetBottom(Rect *rect);
90
91
92#endif
int RectSetLeft(Rect *rect, int new_left)
Definition rect.cpp:39
int RectGetBottom(Rect *rect)
Definition rect.cpp:109
int RectSetTop(Rect *rect, int new_top)
Definition rect.cpp:64
int RectSetRight(Rect *rect, int new_right)
Definition rect.cpp:52
int RectSetBottom(Rect *rect, int new_bottom)
Definition rect.cpp:76
int RectGetLeft(Rect *rect)
Definition rect.cpp:85
int RectGetRight(Rect *rect)
Definition rect.cpp:93
int RectGetTop(Rect *rect)
Definition rect.cpp:101
Definition deodhai.h:69