#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | MONITORS_MAX 10 |
#define | RectCenterX(prc) ((prc)->left+((prc)->right-(prc)->left)/2) |
#define | RectCenterY(prc) ((prc)->top+((prc)->bottom-(prc)->top)/2) |
#define | INTERSECTION_AXIS(a, b) |
#define | INTERSECTION_AXIS_VERTICAL (0) |
#define | INTERSECTION_AXIS_HORIZONTAL (1) |
#define | INTERSECTION_AXIS_UNKNOWN(code) (code & 2) |
Functions | |
void NEAR PASCAL | CenterRectangles (LPRECT arc, UINT count) |
LPRECT NEAR PASCAL | RemoveOverlap (LPRECT lprc1, LPRECT lprc2, LPRECT lprcI) |
void NEAR PASCAL | RemoveOverlaps (LPRECT arc, UINT count) |
LPRECT FAR *NEAR PASCAL | AddNextContiguousRectangle (LPRECT FAR *aprc, LPRECT FAR *pprcSplit, UINT count) |
void NEAR PASCAL | RemoveGaps (LPRECT arc, UINT count) |
BOOL | AlignRects (LPRECT arc, DWORD cCount, DWORD iPrimary, DWORD dwFlags) |
|
Value:
Definition at line 59 of file alignrec.c. Referenced by RemoveOverlap(). |
|
Definition at line 64 of file alignrec.c. Referenced by RemoveOverlap(). |
|
Definition at line 65 of file alignrec.c. Referenced by RemoveOverlap(). |
|
Definition at line 63 of file alignrec.c. Referenced by RemoveOverlap(). |
|
Definition at line 17 of file alignrec.c. Referenced by AlignRects(), and RemoveGaps(). |
|
Definition at line 19 of file alignrec.c. Referenced by CenterRectangles(), RemoveGaps(), and RemoveOverlap(). |
|
Definition at line 20 of file alignrec.c. Referenced by CenterRectangles(), RemoveGaps(), and RemoveOverlap(). |
|
Definition at line 295 of file alignrec.c. References CopyRect, FAR, IntersectRect(), OffsetRect(), and UINT. Referenced by RemoveGaps().
|
|
Definition at line 538 of file alignrec.c. References CopyRect, dwFlags, FALSE, MONITORS_MAX, OffsetRect(), RemoveGaps(), RemoveOverlaps(), and TRUE.
|
|
Definition at line 73 of file alignrec.c. References CopyRect, OffsetRect(), RectCenterX, RectCenterY, and UnionRect(). Referenced by RemoveGaps(), and RemoveOverlaps().
|
|
Definition at line 442 of file alignrec.c. References AddNextContiguousRectangle(), CenterRectangles(), FAR, MONITORS_MAX, RectCenterX, RectCenterY, and UINT. Referenced by AlignRects().
|
|
Definition at line 105 of file alignrec.c. References BOOL, INTERSECTION_AXIS, INTERSECTION_AXIS_HORIZONTAL, INTERSECTION_AXIS_UNKNOWN, INTERSECTION_AXIS_VERTICAL, OffsetRect(), PtInRect(), RectCenterX, and RectCenterY. Referenced by RemoveOverlaps().
|
|
Definition at line 241 of file alignrec.c. References CenterRectangles(), IntersectRect(), and RemoveOverlap(). Referenced by AlignRects().
|