(PHP 3 >= 3.0.8, PHP 4, PECL)
The cpdf_setlinecap() function set the linecap parameter between a value of 0 and 2. 0 = butt end, 1 = round, 2 = projecting square. Returns TRUE on success or FALSE on failure.