coastline 0.0.4
Loading...
Searching...
No Matches
paintshape.h File Reference
#include <PR/ultratypes.h>
Include dependency graph for paintshape.h:

Go to the source code of this file.

Functions

void ConstrainPaintEndpoint (s32 anchorX, s32 anchorY, s32 *x, s32 *y, s32 square)
 Constrain an endpoint to the anchor's axis or to an equal-sided box.

Function Documentation

◆ ConstrainPaintEndpoint()

void ConstrainPaintEndpoint ( s32 anchorX,
s32 anchorY,
s32 * x,
s32 * y,
s32 square )

Constrain an endpoint to the anchor's axis or to an equal-sided box.