It’s probably a funny artifact of the architecture and the impracticality of image-based background on the hardware of the day that this was made available.
PatBlt() was a fast way to fill a given rectangle with a color (or xor it), but it was also a fast way to blit the pattern brush currently selected to the device context (hdc). No doubt the 2D accelerated hardware capability this was made to work with was tied up in being able to quickly scan out to the clip region while selecting the corresponding byte per line.
Win GDI was a fascinating hardware centric abstraction.
Comments
It’s probably a funny artifact of the architecture and the impracticality of image-based background on the hardware of the day that this was made available.
PatBlt() was a fast way to fill a given rectangle with a color (or xor it), but it was also a fast way to blit the pattern brush currently selected to the device context (hdc). No doubt the 2D accelerated hardware capability this was made to work with was tied up in being able to quickly scan out to the clip region while selecting the corresponding byte per line.
Win GDI was a fascinating hardware centric abstraction.