The cpdf_rotate() function set the rotation in degrees to angle. Returns TRUE on success or FALSE on failure.