Lines Matching defs:mode

809 	var $ZoomMode; // zoom display mode
810 var $LayoutMode; // layout display mode
1037 $mode,
1324 // Full width display mode
1355 if (preg_match('/([\-+])aCJK/i', $mode, $m)) {
1356 $mode = preg_replace('/([\-+])aCJK/i', '', $mode); // mPDF 6
1364 if (strlen($mode) == 1) {
1365 if ($mode == 's') {
1367 $mode = '';
1368 } elseif ($mode == 'c') {
1370 $mode = '';
1372 } elseif (substr($mode, -2) == '-s') {
1374 $mode = substr($mode, 0, strlen($mode) - 2);
1375 } elseif (substr($mode, -2) == '-c') {
1377 $mode = substr($mode, 0, strlen($mode) - 2);
1378 } elseif (substr($mode, -2) == '-x') {
1380 $mode = substr($mode, 0, strlen($mode) - 2);
1383 // Autodetect if mode is a language_country string (en-GB or en_GB or en)
1384 if ($mode && $mode != 'UTF-8') { // mPDF 6
1385 list ($coreSuitable, $mpdf_pdf_unifont) = $this->languageToFont->getLanguageOptions($mode, $this->useAdobeCJK);
1392 $this->currentLang = $mode;
1393 $this->default_lang = $mode;
1598 'mode' => '',
1768 // Set auto page break mode and triggering margin
1781 throw new \Mpdf\MpdfException('Incorrect zoom display mode: ' . $zoom);
1789 throw new \Mpdf\MpdfException('Incorrect layout display mode: ' . $layout);
1888 function SetAlpha($alpha, $bm = 'Normal', $return = false, $mode = 'B')
1891 // bm: blend mode, one of the following:
1895 // mode determines F (fill) S (stroke) B (both)
1903 if ($mode == 'F' || $mode == 'B') {
1906 if ($mode == 'S' || $mode == 'B') {
5768 function _kern($txt, $mode, $aix, $x, $y)
5770 if ($mode == 'MBTw') { // Multibyte requiring word spacing
8806 function _SetTextRendering($mode)
8808 if (!(($mode == 0) || ($mode == 1) || ($mode == 2))) {
8809 throw new \Mpdf\MpdfException("Text rendering mode should be 0, 1 or 2 (value : $mode)");
8811 $tr = ($mode . ' Tr');
9312 function SetLineJoin($mode = 0)
9314 $s = sprintf('%d j', $mode);
9321 function SetLineCap($mode = 2)
9323 $s = sprintf('%d J', $mode);
13141 * @param int $mode Use HTMLParserMode constants. Controls what parts of the $html code is parsed.
13145 function WriteHTML($html, $mode = HTMLParserMode::DEFAULT_MODE, $init = true, $close = true)
13154 // Check the mode is valid
13155 if (in_array($mode, HTMLParserMode::getAllModes(), true) === false) {
13156 throw new \Mpdf\MpdfException('WriteHTML() requires $mode to be one of the modes defined in HTMLParserMode');
13169 if ($mode === HTMLParserMode::HEADER_CSS) {
13174 if ($mode === HTMLParserMode::DEFAULT_MODE) {
13177 if ($this->charset_in && $mode !== HTMLParserMode::HTML_HEADER_BUFFER) {
13197 if ($mode === HTMLParserMode::DEFAULT_MODE || $mode === HTMLParserMode::HEADER_CSS) {
13249 if ($mode === HTMLParserMode::HEADER_CSS) {
13295 if ($mode == HTMLParserMode::HTML_PARSE_NO_WRITE) {
13308 } elseif ($mode === HTMLParserMode::HTML_HEADER_BUFFER) {
13352 if ($this->state == 0 && ($mode === HTMLParserMode::DEFAULT_MODE || $mode === HTMLParserMode::HTML_BODY)) {
14625 $op = 'W n'; // Clipping alternative mode
25503 function _setBidiCodes($mode = 'start', $bdf = '')
25507 if ($mode == 'end') {
25518 } elseif ($mode == 'start') {