1. A method of rendering an object including a path, the method comprising: obtaining path data including information about vertices included in the path and a command corresponding to the path; calculating a winding number of each of tiles included in a frame based on the path data; and determining whether to perform shading based on the winding number of the tile.