摘要 |
<p>A method and system for generating computer code to implement a logical operation to be performed on a plurality of bitmaps is provided. In a preferred embodiment, a Boolean equation is specified having a plurality of terms that use Boolean operations. Code segments are generated that implement each of the Boolean operations of the terms. When executing a bitBLT routine, a logical operation and a plurality of bitmaps are specified. The bitBLT routine determines which of the generated code segments are needed to implement the specified logical operation. The determined code segments are then retrieved and combined to form the computer code that implements a logical operation. The computer code can then be executed to effect a bitBLT with a logical operation. <IMAGE></p> |