A method and system are provided for detecting transparency simulation
formulated by an application in a rendering device. The system includes a
node structure construction component for saving each drawing function in
a node with an associated node type and node state. The system further
includes a node structure constructed from the saved nodes and traversal
components for traversing the node structure. The traversal components
include a type check mechanism for determining a saved type of each node
in the structure and a state check mechanism for finding a saved state.
The system detects the transparency simulation upon finding a
predetermined node type and a predetermined node state.