Programming, Swift, Object Oriented, Objective C.
and my drawing are represented by the Canvas class. It contains specific information needed to render (such as size, pixel density, color space, etc.), whether the destination is a display, a printer, or a bitmap. class Canvas { /// width of the canvas in pixels private(set) var width: Int ///