Glade Reference
A PointF represents a coordinate or xy pair.
Creates a PointF object p. The PointF is initialised to (0.0, 0.0) by default.
Creates a Point object and initialises its coordinates.
Get the specified PointF coordinate.
Set the specified PointF coordinate.
Returns true if the two PointFs are equal.
Returns true if the two PointFs are not equal.
Returns true if the first point is 'less than' the second. First the X coordinate is compared; if equal then the Y coordinate is compared.
Returns true if the first point is 'greater than' the second. First the X coordinate is compared; if equal then the Y coordinate is compared.
A PointF plus a Vector returns a PointF transposed by the Vector.
A PointF plus a Point returns a PointF transposed by the PointF.
A PointF minus a PointF returns a Vector.
A PointF minus a Vector returns a PointF transposed by the Vector.
A PointF plus a scalar (i.e. an integer) is offset, or moved, by the value of the scalar in both X and Y.
A PointF plus a PointF returns a PointF with the sum of the two PointFs X and Y values.
A PointF minus a PointF returns a PointF with the differrence of the two PointFs X and Y values.
A PointF times a scalar is scaled (multiplied) by the scalar.
Copyright © Peardrop Design 2024.