Problem
1. What are the results of performing two successive block transfers into the same area of a frame buffer using the binary arithmetic operations?
2. Implement a routine to perform block transfers in a frame buffer using any specified Boolean operation or a replacement (copy) operation.
3. Write a routine to implement rotations in increments of 90° in frame-buffer block transfers.
4. Write a routine to implement rotations by any specified angle in a frame-buffer block transfer.
5. Write a routine to implement scaling as a raster transformation of a pixel block.