mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
31 lines
1018 B
C
31 lines
1018 B
C
//============================================================================
|
|
//----------------------------------------------------------------------------
|
|
// RectUtils.h
|
|
//----------------------------------------------------------------------------
|
|
//============================================================================
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "PLQDraw.h"
|
|
|
|
|
|
void FrameWHRect (short, short, short, short);
|
|
void NormalizeRect (Rect *);
|
|
void ZeroRectCorner (Rect *);
|
|
void CenterRectOnPoint (Rect *, Point);
|
|
short HalfRectWide (Rect *);
|
|
short HalfRectTall (Rect *);
|
|
short RectWide (Rect *);
|
|
short RectTall (Rect *);
|
|
void CenterRectInRect (Rect *, Rect *);
|
|
void HOffsetRect (Rect *, short);
|
|
void VOffsetRect (Rect *, short);
|
|
Boolean IsRectLeftOfRect (Rect *, Rect *);
|
|
void QOffsetRect (Rect *, short, short);
|
|
void QSetRect (Rect *, short, short, short, short);
|
|
Boolean ForceRectInRect (Rect *, Rect *);
|
|
void QUnionSimilarRect (Rect *, Rect *, Rect *);
|
|
void SetEraseRect (short, short, short, short);
|