draw a card in canvas