Code Duplication    Length = 6-6 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/html2pdf.php 2 locations

@@ 2770-2775 (lines=6) @@
2767
                    $tY = 0;
2768
                    break;
2769
2770
                case 180:
2771
                    $w = $this->parsingCss->value['width'];
2772
                    $h = $this->parsingCss->value['height'];
2773
                    $tX = -$w;
2774
                    $tY = -$h;
2775
                    break;
2776
2777
                case 270:
2778
                    $tmp = $overH; $overH = $overW; $overW = $tmp;
@@ 2787-2792 (lines=6) @@
2784
                    $tY = -$w;
2785
                    break;
2786
2787
                default:
2788
                    $w = $this->parsingCss->value['width'];
2789
                    $h = $this->parsingCss->value['height'];
2790
                    $tX = 0;
2791
                    $tY = 0;
2792
                    break;
2793
            }
2794
2795
            if ( ! $this->parsingCss->value['position']) {