Contents

CGSize

A structure that contains width and height values.

Declaration

struct CGSize

Overview

A CGSize structure is sometimes used to represent a distance vector, rather than a physical size. As a vector, its values can be negative. To normalize a CGRect structure so that its size is represented by positive values, call the standardized function.

Topics

Geometric Properties

Special Values

Transforming Sizes

Alternate Representations

Comparing Sizes

Initializers

Instance Methods

See Also

Structures