-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRect.h
33 lines (28 loc) · 1011 Bytes
/
Rect.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef HWX_RECT_H
#define HWX_RECT_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <windows.h>
#include <windef.h>
BOOL WINAPI IsRectNULL(const RECT *);
BOOL WINAPI MoveRectTo(LPRECT, int, int);
void WINAPI NormalizeRect(LPRECT);
BOOL WINAPI SetRect (LPRECT ,POINT, SIZE);
BOOL WINAPI SetRect (LPRECT,POINT, POINT);
LONG WINAPI RectWidth(const LPRECT);
LONG WINAPI RectHeight(const LPRECT);
POINT WINAPI RectCenterPoint(const LPRECT);
void WINAPI RectSwapLeftRight(LPRECT);
void WINAPI RectSwapTopBottom(LPRECT);
BOOL WINAPI IsRectEmpty(const LPRECT) ;
BOOL WINAPI PtInRect(const LPRECT, POINT);
void WINAPI InflateRect(LPRECT, SIZE);
void WINAPI InflateRect(LPRECT, int, int, int, int);
void WINAPI DeflateRect(LPRECT, int, int) ;
void WINAPI DeflateRect(LPRECT, SIZE) ;
void WINAPI OffsetRect(LPRECT, POINT);
void WINAPI OffsetRect(LPRECT, SIZE);
void WINAPI RectMoveTo(LPRECT, int, int);
void WINAPI RectMoveTo(LPRECT, POINT);
#endif //HWX_RECT_H