C language drawing function (word)