Code Duplication    Length = 4-4 lines in 3 locations

web_interface/astpp/application/libraries/html2pdf/_class/myPdf.class.php 3 locations

@@ 827-830 (lines=4) @@
824
                    break;
825
826
                // Make a Line (vector from last point)
827
                case 'l':
828
                    $x = $last[0] + $action[1]; $y = $last[1] + $action[2]; $xc = $x; $yc = $y;
829
                    $this->_Line($x, $y, true);
830
                    break;
831
832
                // Make a Horizontal Line (new point)
833
                case 'H':
@@ 839-842 (lines=4) @@
836
                    break;
837
838
                // Make a Horisontal Line (vector from last point)
839
                case 'h':
840
                    $x = $last[0] + $action[1]; $y = $last[1]; $xc = $x; $yc = $y;
841
                    $this->_Line($x, $y, true);
842
                    break;
843
844
                // Make a Vertical Line (new point)
845
                case 'V':
@@ 851-854 (lines=4) @@
848
                    break;
849
850
                // Make a Vertical Line (vector from last point)
851
                case 'v':
852
                    $x = $last[0]; $y = $last[1] + $action[1]; $xc = $x; $yc = $y;
853
                    $this->_Line($x, $y, true);
854
                    break;
855
856
                // Make a Arc (new point)
857
                case 'A':