xy_t

This is the type used for image sizes and coordinates. Rationale: - Signed, because operations with image coordinates often involve subtraction, and subtraction with unsigned numbers often leads to trouble. - Same size as size_t, in order to use the CPU word size and enable seamless interoperability with the .length property of arrays / ranges.

alias xy_t = sizediff_t

Meta