1 Rasterop (A.Okay.a. Bitblt)
Rubin Schreiber edited this page 6 days ago


Affine transforms are the set of linear geometrical transforms on a two-dimensional picture that encompass translation, shear, rotation and scaling. Apart from scaling, all of these operations can be applied using rasterop! Translation is obvious: you choose total picture as the source block, and place it, appropriately translated, in the vacation spot. Shear is implemented by translating blocks of image by completely different amounts. For instance, you may imagine a horizontal "clockwise" shear about the center of the image the place horizontal full width blocks are shoved to the appropriate above the center and to the left below the center. Blocks close to the highest and backside are pushed farther than blocks near the middle