Patent ID: 8726185

Claim:
A method for rendering overlapped objects, adapted for rendering a plurality of objects on an electronic device, comprising: sorting the objects according to a rendering property of each of the objects, and placing the sorted objects to a source chain, wherein at least part of the objects placed in the source chain are overlapped to each other; selecting a target object from the objects in the source chain, and successively searching for a next object in the source chain which is an overlapped object to the target object; moving the target object to a target chain and removing the target object in the source chain if the overlapped object is not found; generating a blending object by blending an overlapping area of the target object and the overlapped object according to an alpha-blending property of the target object and the overlapped object, dividing an area of the target object and the overlapped object into the overlapping area of the target object and the overlapped object and a plurality of non-overlapping areas of the target object and the overlapped object to obtain a plurality of new objects including the blending object and a plurality of non-overlapping objects, wherein the non-overlapping areas are divided in a sequence to obtain the non-overlapping objects, inserting the blending object and the all non-overlapping objects in the sequence back into the source chain, and removing the target object and the overlapped object from the source chain if the overlapped object is found; and rendering the objects in the target chain on the electronic device when all of the objects in the source chain are moved to the target chain and none of the objects are in the source chain.