Method LineTo implementation for Lape and PS

Fix for http://bugs.villavu.com/view.php?id=269 issue.