SizeF class (gdiplustypes.h)

The SizeF class encapsulates a Width and Height dimension in a 2-D coordinate system. The SizeF class uses floating point coordinates.

Methods

The SizeF class has these methods.

 
SizeF::Empty

The SizeF::Empty method determines whether a SizeF object is empty.
SizeF::Equals

The SizeF::Equals method determines whether two SizeF objects are equal.
SizeF::operator+

The SizeF::operator+ method adds the Width and Height data members of two SizeF objects.
SizeF::operator-

Subtraction operator for the SizeF class.
SizeF::SizeF

Creates a SizeF object and initializes the members to zero. This is the default constructor.
SizeF::SizeF

Creates a SizeF object and initializes its members by copying the members of another SizeF object.
SizeF::SizeF

Creates a SizeF object and initializes its Width and Height data members.

Requirements

Requirement Value
Target Platform Windows
Header gdiplustypes.h