void pdf_setlinecap
The PDF_setlinecap() function set the linecap parameter between a value of 0 and 2.