[Up] | Reference for unit 'GraphMath' (#lcl)

## GraphMath Operators

This Unit contains a number of routines for calculating and converting series of graphic points from one coordinate system to another.

A fundamental type is introduced, called TFloatPoint. It is an extended precision record containg an X and a Y coordinate for a graphic point. Its structure is as follows:

    Type
      TFloatPoint = Record
        X, Y : Extended;
      end;

The Unit contains definitions for mathematical operators which extend the normal definitions of addition, subtraction, multiplication, division and comparison to cover manipulations with TFloatPoints, allowing, for example, addition or multiplication of two TFloatPoints, a TFloatPoint and a TPoint, or a TFloatPoint and an Extended Precision number.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.