Quartz uses a standard Cartesian coordinate system. By default, the origin is in the lower-left corner of the drawing canvas with x values increasing to the right and y values increasing upwards.