1. A method of modifying a graphics command, said method comprising: receiving a graphics command comprising a drawing operation and a pattern of the region; obtaining spatial frequencies of said pattern; determining if said obtained spatial frequencies of the pattern in said graphics command defines a transparency attribute of the region to be rendered; and replacing at least said pattern in said graphics command with a transparency coefficient based on the obtained spatial frequencies.