Lines Matching defs:width

782 	var $LineWidth; // line width in user unit
1319 // Line width (0.2 mm)
1324 // Full width display mode
2075 // to the largest size such that both its width and its height can fit inside the background positioning area.
2085 // to the smallest size such that both its width and its height can completely cover the background positioning area.
2301 $s = ' q 0 w '; // Line width=0
2447 // size such that both its width and its height can fit inside the background positioning area.
2457 // size such that both its width and its height can completely cover the background positioning area.
2649 // Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.
2658 // Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.
3228 // Set line width
3251 // Restore line width
3507 // Get width of a single character in the current Core font
3538 // Get width of a single character in the current Non-Core font
3609 // Get width of a string in the current font
3745 function SetLineWidth($width)
3747 // Set line width
3748 $this->LineWidth = $width;
3749 $lwout = (sprintf('%.3F w', $width * Mpdf::SCALE));
4667 // Only use kashida if each allocated kashida width is > 0.01 x width of a tatweel
6413 $this->flowingBlockAttr['width'] = ($w * Mpdf::SCALE);
6442 $maxWidth = & $this->flowingBlockAttr['width'];
6467 // Right trim last content and adjust width if needed to justify (later)
6737 // but if CJKorphan has allowed content width to go over max width, use J charspacing to compress line
6802 // If last character has an XPlacement set, adjust width calculation, and add to XAdvance to account for it
7522 $this->directWrite->CircularText($objattr['INNER-X'] + $objattr['INNER-WIDTH'] / 2, $objattr['INNER-Y'] + $objattr['INNER-HEIGHT'] / 2, $objattr['r'] / $k, $objattr['top-text'], 'top', $objattr['fontfamily'], $objattr['fontsize'] / $k, $objattr['fontstyle'], $objattr['space-width'], $objattr['char-width'], (isset($objattr['divider']) ? $objattr['divider'] : ''));
7525 $this->directWrite->CircularText($objattr['INNER-X'] + $objattr['INNER-WIDTH'] / 2, $objattr['INNER-Y'] + $objattr['INNER-HEIGHT'] / 2, $objattr['r'] / $k, $objattr['bottom-text'], 'bottom', $objattr['fontfamily'], $objattr['fontsize'] / $k, $objattr['fontstyle'], $objattr['space-width'], $objattr['char-width'], (isset($objattr['divider']) ? $objattr['divider'] : ''));
7669 // x and y are the centre of the bullet; size is the width and/or height in mm
7680 $lw = $size / 12; // Line width
7742 // width of all the content so far in points
7744 // cell width in points
7745 $maxWidth = & $this->flowingBlockAttr['width'];
7881 // get the width of the character in points
8097 elseif ($prevchar == "\xe2\x80\x8b") { // U+200B Zero-width Word Break
8376 // If last character has an XPlacement set, adjust width calculation, and add to XAdvance to account for it
8857 // Automatic width and height calculation if needed
9001 // Avoid drawing out of the paper(exceeding width limits).
9054 // Return width-height array
9096 if (isset($objattr['width'])) {
9097 $w = $objattr['width'] / $k;
9193 // Automatically resize to width remaining
9241 // Automatically resize to width remaining
9254 $objattr['width'] = $objattr['INNER-WIDTH'];
9268 // Automatically resize to width remaining
9296 // Return width-height array
9418 if ($last_x != ($this->lMargin + $this->blk[$blvl]['outer_left_margin']) || ($last_w != $this->blk[$blvl]['width']) || $last_fc != $this->FillColor || (isset($this->blk[$blvl]['border_top']['s']) && $this->blk[$blvl]['border_top']['s']) || (isset($this->blk[$blvl]['border_bottom']['s']) && $this->blk[$blvl]['border_bottom']['s']) || (isset($this->blk[$blvl]['border_left']['s']) && $this->blk[$blvl]['border_left']['s']) || (isset($this->blk[$blvl]['border_right']['s']) && $this->blk[$blvl]['border_right']['s'])) {
9420 $this->Cell(($this->blk[$blvl]['width']), $h, '', '', 0, '', 1);
9432 $last_w = $this->blk[$blvl]['width'];
9744 $lk[3] = $lw; // swap width and height
9840 $lk[3] = $lw; // swap width and height
10535 $maxlen = (min($this->w, $this->h) ); // sets max length of text as 7/8 width/height of page
10667 function Shaded_box($text, $font = '', $fontstyle = 'B', $szfont = '', $width = '70%', $style = 'DF', $radius = 2.5, $fill = '#FFFFFF', $color = '#000000', $pad = 2)
10673 $this->directWrite->Shaded_box($text, $font, $fontstyle, $szfont, $width, $style, $radius, $fill, $color, $pad);
11766 // Advance down page by half width of top border
12114 if ($table['borders_separate']) { // NB twice border width
12551 $html = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: ' . $valign . '; color: #000000; ';
12559 $html .= '<td width="' . $lw . '%" style="padding: ' . $vpadding . '; text-align: ' . $talignL . '; ';
12583 $html .= '<td width="' . $cw . '%" style="padding: ' . $vpadding . '; text-align: center; ';
12607 $html .= '<td width="' . $rw . '%" style="padding: ' . $vpadding . '; text-align: ' . $talignR . '; ';
12727 $oddhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: bottom; color: #000000; ';
12750 $oddhtml .= '<td width="' . $lw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: left; ">' . $hdet[0] . '</td>';
12751 $oddhtml .= '<td width="' . $cw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: center; ">' . $hdet[1] . '</td>';
12752 $oddhtml .= '<td width="' . $rw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: right; ">' . $hdet[2] . '</td>';
12755 $evenhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: bottom; color: #000000; ';
12776 $evenhtml .= '<td width="' . $rw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: left; ">' . $hdet[2] . '</td>';
12777 $evenhtml .= '<td width="' . $cw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: center; ">' . $hdet[1] . '</td>';
12778 $evenhtml .= '<td width="' . $lw . '%" style="padding: 0 0 ' . $this->header_line_spacing . 'em 0; text-align: right; ">' . $hdet[0] . '</td>';
12872 $oddhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: top; color: #000000; ';
12893 $oddhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: left; ">' . $hdet[0] . '</td>';
12894 $oddhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: center; ">' . $hdet[1] . '</td>';
12895 $oddhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: right; ">' . $hdet[2] . '</td>';
12898 $evenhtml = '<table width="100%" style="border-collapse: collapse; margin: 0; vertical-align: top; color: #000000; ';
12921 $evenhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: left; ">' . $hdet[2] . '</td>';
12922 $evenhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: center; ">' . $hdet[1] . '</td>';
12923 $evenhtml .= '<td width="33%" style="padding: ' . $this->footer_line_spacing . 'em 0 0 0; text-align: right; ">' . $hdet[0] . '</td>';
13073 $w = 6 / 2; // shorter width of the cross line (half)
13191 $this->blk[0]['width'] = & $this->pgwidth;
13390 // Don't allow non-breaking spaces that are converted to substituted chars or will break anyway and mess up table width calc.
13491 // removes U+200E/U+200F LTR and RTL mark and U+200C/U+200D Zero-width Joiner and Non-joiner
13959 // top/left/right/bottom/width/height/background*/border*/padding*/margin* are taken from bounding
13975 $this->blk[0]['width'] = & $this->pgwidth;
14290 // http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width
14558 } // width before rotation
14578 } // width before rotation
14600 $this->blk[1]['width'] = $bbox_w = $cont_w - $bbox_left - $bbox_ml - $bbox_mr - $bbox_right;
14704 $lk[2] *= $shrink_f; // width
15353 // ? Restrict maximum height/width of list marker??
15366 $objattr['width'] = 0;
15392 // Default width and height calculation if needed
15449 $objattr['width'] = $w;
15469 $objattr['width'] = 0;
15475 $objattr['width'] = $size + $objattr['offset'];
15517 $objattr['width'] = 0;
15556 $objattr['width'] = 0;
15923 $this->divwidth = $this->blk[$this->blklvl]['width'];
16166 $ntw = $this->table[($level + 1)][$objattr['nestedcontent']]['w']; // nested table width
16221 // 1 -> New line needed because of width
16222 // -1 -> Will fit width on line but NEW PAGE REQUIRED because of height
16302 $fx = $this->w - $this->rMargin - $objattr['width'] - ($this->blk[$this->blklvl]['outer_right_margin'] + $this->blk[$this->blklvl]['border_right']['w'] + $this->blk[$this->blklvl]['padding_right']);
16306 $w = $objattr['width'];
16663 $w = $this->blk[$blvl]['width'];
16735 // Disallow border-radius if it is smaller than the border width.
16761 // CHECK FOR radii that sum to > width or height of div ********
16787 $w = $this->blk[$blvl]['width'];
17129 // Defined br values represent the radius of the outer curve - need to take border-width/2 from each radius for drawing the borders
17176 $s = ' q 0 w '; // Line width=0
17240 // Ensure spread/blur do not make effective shadow width/height < 0
17272 // If any border-radius is greater width-negative spread(inner edge), ignore radii for shadow or screws up
17829 $w = $this->blk[$blvl]['width'];
19075 if ($objattr['type'] != 'hr' && isset($objattr['width']) && ($objattr['width'] / $this->shrin_k) > ($maxwidth + 0.0001)) {
19076 if (($objattr['width'] / $this->shrin_k) > $biggestword) {
19077 $biggestword = ($objattr['width'] / $this->shrin_k);
19531 // wc List of width of each column
19557 if ($table['borders_separate']) { // NB twice border width
19569 if ($table['borders_separate']) { // NB twice border width
19586 if (isset($c['w'])) { // If cell width is specified
19632 // If minimum width has already been set by a nested table or inline object (image/form), use it
19643 // If maximum width has already been set by a nested table, use it
19680 if (isset($c['w'])) { // If cell width is specified
19683 } // Cell min width = that specified
19686 } // If width specified is less than minimum allowed (W) increase it
19687 // mPDF 5.7.4 Do not set column width in colspan
19692 } // If the Col width is not specified = set it to 1
19698 } // If cell width not specified -> set Cell min width it to minimum allowed (W)
19702 } // If Cell max width < Minwidth - increase it to =
19723 // Check if minimum width of the whole column is big enough for largest word to fit
19728 } // check for maximum width of letters
19737 // increase minimum width
19747 } // update maximum width, if needed
19783 $wisa += $wc[$k]['miw']; // $wisa is the sum of the column miw in cells with no width specified in the colspan
19784 $wasa += $wc[$k]['maw']; // $wasa is the sum of the column maw in cells with no width specified in the colspan
19799 // mPDF 5.7.2 Extra min width distributed proportionately to all cells in colspan without a specified width
19820 // mPDF 5.7.4 Extra max width distributed evenly to all cells in colspan without a specified width
19852 // Set a nominal width of 1% for unset columns
20051 $totalatextlength = 0; // Added - to sum $table['l'][colno] for those columns where width not set
20074 } elseif ($tablewidth < $temppgwidth && !isset($table['w']) && $percentages_set) { // if any widths set as percentages and max width fits < page width
20078 // if table width is set and is > allowed width
20083 // IF the table width is now set - Need to distribute columns widths
20085 // If the table width is already set to the maximum width (e.g. nested table), then use maximum column widths exactly
20088 // This sets the columns all to maximum width
20093 } elseif (isset($table['w'])) { // elseif the table width is set distribute width using algorithm
20112 // Allocate spare (more than col's minimum width) across the cols according to their approx total text length
20113 // Do it by setting minimum width here
20128 // Now allocate surplus up to maximum width of each column
20140 // Don't allocate more than Maximum required width - save rest in surplus
20159 // Don't allocate more than Maximum required width - save rest in surplus
20195 // This sets the columns all to minimum width (which has been increased above if appropriate)
20228 } else { // table has no width defined
20356 if ($table['borders_separate']) { // NB twice border width
20372 if ($table['borders_separate']) { // NB twice border width
21626 // Set maximum cell border width meeting at LRTB edges of cell - used for extended cell border
21627 // ['border_details']['mbw']['LT'] = meeting border width - Left border - Top end
21799 // Update maximum cell border width at LRTB edges of table - used for overall table width
21891 // Advance down page by half width of top border
22167 // extra half border width in case page breaks in middle
22395 // extra half border width in case page was broken in middle
22956 if ($table['borders_separate']) { // NB twice border width
23149 // Advance down page by half width of bottom border
25069 $v[2] = $h * Mpdf::SCALE; // swap width and height
25405 $width = $this->sizeConverter->convert($w);
26164 $bcw = ($arrcode["maxw"] * $xres); // Barcode width = Should always be 31.35mm * $size
26166 $fbw = $bcw + $llm + $rlm; // Full barcode width incl. light margins
26167 $ow = $fbw + $paddingL + $paddingR; // Full overall width incl. user-defined padding
26169 $fbwi = $fbw - 2; // Full barcode width incl. light margins - 2mm - for isbn string
26256 // max width is $fbwi
26358 if (!$this->usingCoreFont) { // character width at 3mm
26368 $this->x = $x + $paddingL - ($cw * ($outerfontsize / 3) * 0.1); // 0.1 is correction as char does not fill full width;
26404 $this->x = $x + $paddingL + $llm + $bcw + $rlm - ($cw * ($outerfontsize / 3) * 0.9); // 0.9 is correction as char does not fill full width
26423 $bcw = ($supparrcode["maxw"] * $xres); // Barcode width = Should always be 31.35mm * $size
26425 $fbw = $bcw + $llm + $rlm; // Full barcode width incl. light margins
26426 $ow = $fbw + $paddingL + $paddingR; // Full overall width incl. user-defined padding
26463 $this->x = $x + $paddingL + $llm + $bcw + $rlm - ($cw * 0.9); // 0.9 is correction as char does not fill full width
26517 $fbw = $bcw + $llm + $rlm; // Full barcode width incl. light margins
26859 } elseif ($type === 're') { // xpos,ypos,width,height
26873 } elseif ($type === 'img') { // width,height,xpos,ypos
27315 $this->Rect($x, $y, $size['width'], $size['height']);