maxWidthHeight:: block::
block type:
srcCanvas dstCanvas