mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Lots of stuff
This commit is contained in:
33
GpApp/RectUtils.h
Normal file
33
GpApp/RectUtils.h
Normal file
@@ -0,0 +1,33 @@
|
||||
//============================================================================
|
||||
//----------------------------------------------------------------------------
|
||||
// RectUtils.h
|
||||
//----------------------------------------------------------------------------
|
||||
//============================================================================
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include "PLQuickdraw.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 GlobalToLocalRect (Rect *);
|
||||
void LocalToGlobalRect (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 FrameRectSansCorners (Rect *);
|
||||
void SetEraseRect (short, short, short, short);
|
Reference in New Issue
Block a user