Lines Matching refs:zoom
24 protected string $zoom = ''; // optional scaling factor variable in syntax_plugin_bpmnio_bpmnio
71 $this->zoom = $this->normalizeZoom($attrs['zoom'] ?? null) ?? '';
74 return [$state, $this->type, '', $pos, '', false, $this->zoom, $this->lint];
86 $posStart, $posEnd, $inline, $this->zoom, $this->lint,
92 $this->zoom = '';
109 private function normalizeZoom($zoom): ?string argument
111 if ($zoom === null || $zoom === '') {
115 if (!is_numeric($zoom)) {
119 $zoom = (float) $zoom;
120 if ($zoom <= 0) {
124 return rtrim(rtrim(number_format($zoom, 4, '.', ''), '0'), '.');
175 … [$state, $type, $match, $posStart, $posEnd, $inline, $zoom, $lint] = array_pad($data, 8, '');
224 $zoomAttr = $zoom !== '' ? " data-zoom=\"{$zoom}\"" : '';