Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 2070-2073 (lines=4) @@
2067
                        if ($val[1] || $val[2]) $actions[] = array(1, 0, 0, 1, $val[1], $val[2]);
2068
                        break;
2069
2070
                    case 'skewx':
2071
                        if ( ! isset($val[0])) $val[0] = 0.; else $val[0] = $val[0] * M_PI / 180.;
2072
                        $actions[] = array(1, 0, tan($val[0]), 1, 0, 0);
2073
                        break;
2074
2075
                    case 'skewy':
2076
                        if ( ! isset($val[0])) $val[0] = 0.; else $val[0] = $val[0] * M_PI / 180.;
@@ 2075-2078 (lines=4) @@
2072
                        $actions[] = array(1, 0, tan($val[0]), 1, 0, 0);
2073
                        break;
2074
2075
                    case 'skewy':
2076
                        if ( ! isset($val[0])) $val[0] = 0.; else $val[0] = $val[0] * M_PI / 180.;
2077
                        $actions[] = array(1, tan($val[0]), 0, 1, 0, 0);
2078
                        break;
2079
                    case 'matrix':
2080
                        if ( ! isset($val[0])) $val[0] = 0.; else $val[0] = $val[0] * 1.;
2081
                        if ( ! isset($val[1])) $val[1] = 0.; else $val[1] = $val[1] * 1.;