maxWidthHeight
cheat
period
width
srcCanvas
dstCanvas