maxWidthHeight::
a: :
b: :
linear:
gammaCanvas
srcCanvas dstCanvas