IPointFromFVal

Creates an IPoint from inline values.

Synopsis

IPoint * IPointFromFVal (IPoint *dst, frac16 x, frac16 y)

Description

Converts the specified values from frac16 to integer and stores them at *dst. It is useful for writing inline calls such as:

IPoint      wrk; 
OffsetCelListByIDelta (cel, IPointFromFVal (&wrk, my_x, my_y)); 

Arguments

dst
Pointer to the IPoint where the results are to be stored.
x y

Values to be used for the IPoint that's created.

Return Value

The input parameter dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

IPointFromIVal, FPointFromFVal