source-in
source-out
source-atop
source-over
destination-in
destination-out
destination-atop
destination-over
lighter
darker
xor
copy
The image is the source and the red rectangle is the destination.