PointF.PointF constructors

This topic lists the constructors of the PointF class. For a complete class listing, see PointF Class.

Overload list

Constructor Description
PointF(SizeF&) Creates a PointF object using a SizeF object to specify the X and Y data members.
PointF(PointF&) Creates a new PointF object and copies the data from another PointF object.
PointF(REAL,REAL) Creates a PointF object using two real numbers to specify the X and Y data members.
PointF() Creates a PointF object and initializes the X and Y data members to zero. This is the default constructor.