Use drawHeart(context, x, y, angle) as the drawing API

draw heart

heart rotation works

you must transform the coordiante system to the desired point, then
apply rotations, and then you can issue drawing commands; remember to
restore context afterward

refactor drawHeartFunc

use drawHeart(context, x, y, angle) as the API instead

draw two hearts in the same time

disable gradient fill