add function shadow compose and drawImage ...