PointF class (gdiplustypes.h)
The PointF class encapsulates a point in a 2-D coordinate system.
Methods
The PointF class has these methods.
PointF::Equals The PointF::Equals method determines whether two PointF objects are equal. Two points are considered equal if they have the same X and Y data members. |
PointF::operator+ The PointF::operator+ method adds the X and Y data members of two PointF objects. |
PointF::operator- The PointF::operator- method subtracts the X and Y data members of two PointF objects. |
PointF::PointF Creates a PointF object and initializes the X and Y data members to zero. This is the default constructor. |
PointF::PointF Creates a new PointF object and copies the data from another PointF object. |
PointF::PointF Creates a PointF object using a SizeF object to specify the X and Y data members. |
PointF::PointF Creates a PointF object using two real numbers to specify the X and Y data members. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | gdiplustypes.h |