1. A method of conducting a non-raster operation function using a raster operation unit that receives a first operand, a second operand, a pattern operand and a rasterop code, the method comprising the steps of: modifying at least one of the rasterop code and the pattern operand to implement the non-raster operation function; and executing on the first operand, the second operand and the pattern operand according to the rasterop code using the raster operation unit to generate resulting pixel data.