Patent ID: 7982746
Filing Date: 2011-07-19
Classification: G06T,G09G

Abstract:
1. A computer implemented method of determining a color at a selected location in an overlapping region of a first graphic element and a second graphic element, wherein the first graphic element has, at the selected location, a first color value and a first partial opacity value, and the second graphic element has, at the selected location, a second color value and a second partial opacity value, the computer comprising a processor configured to implement the method and a computer readable storage medium to store the color at the selected location, the method comprising the steps of: copying the first color value of the first graphic element to a temporary buffer of the computer readable storage medium, said first color value being independent of the first partial opacity value; compositing the second color value of the second graphic element with the first color value in the temporary buffer to produce a transfer color in the temporary buffer, said transfer color being independent of the first and second partial opacities; copying the second color value and the second partial opacity value of the second graphic element to a result buffer of the computer readable storage medium; determining a mask by applying a halftoning process to the first partial opacity value of the first graphic element, wherein the mask is adapted for determining if said transfer color in the temporary buffer is to be copied to a result buffer at the selected location; and copying the transfer color in the temporary buffer to the result buffer according to the determined mask.