Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo073

FPointFromIVal

Creates an FPoint from inline values.

Synopsis

FPoint * FPointFromIVal (FPoint *dst, int32 x, int32 y)

Description

Converts the specified values from integer to frac16 and stores them in *dst. It is useful for writing inline calls like the following:

FPoint      wrk; 
OffsetCelListByFDelta (cel, FPointFromIVal (&wrk, 2, 2)); 

Arguments

  • dst Pointer to the FPoint where the results are to be stored.
  • x y Values to be converted.

Return Value

The input parameter dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo073.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1