[Overview][Types][Procedures and functions][Index] Reference for unit 'GraphMath' (#lazutils)

assign(TFloatPoint):TPoint

Implements the Assign operator (=) to store a value using the TFloatPoint type to a TPoint instance.

Declaration

Source position: graphmath.pp line 132

operator operator :=(

  const Value: TFloatPoint

):TPoint;

Description

SimpleRoundTo in the RTL math.pp unit is called to round both the X and Y members to a Double value with 0 decimals in the precision. The Double values are truncated and stored to the Longint types used for the X and Y members in the result for the operator.