Contents

CGFloat

The basic type for floating-point scalar values in Core Graphics and related frameworks.

Declaration

@frozen struct CGFloat

Overview

The size and precision of this type depend on the CPU architecture. When you build for a 64-bit CPU, the CGFloat type is a 64-bit, IEEE double-precision floating point type, equivalent to the Double type. When you build for a 32-bit CPU, the CGFloat type is a 32-bit, IEEE single-precision floating point type, equivalent to the Float type.

Topics

Initializers

Instance Properties

Type Aliases

Default Implementations

See Also

Structures