maxWidthHeight::
srcCanvas dstCanvas