XCORNERFROMSRECT

Calculates the opposite corner X location for an SRect.

Synopsis

int32 XCORNERFROMSRECT (SRect *rect)

Description

This macro evaluates to the X location for the corner opposite to the corner described by rect->pos.

This macro evaluates its argument more than once; be careful of side effects. It is usable in expression context.

Arguments

rect
Pointer to an SRect.

Return Value

The X location of the opposite corner.

Implementation

Macro

Associated Files

lib3do.lib, celutils.h

See Also

ICornerFromSRect, YCORNERFROMSRECT