Understanding the 2d rendering context