New drawing functions plus documentation. Rendering test example updated to use new drawing functions.