Lines Matching refs:x

181     var $x;  variable in PDFRect
186 function PDFRect($x,$y,$w,$h) { argument
187 $this->x = $x;
194 return $handler->x_coord($this->x);
198 return $handler->x_coord($this->x+$this->w);
963 var $x,$y; //current position in user unit for cell positioning
1004 function moveto($x, $y) { argument
1006 $this->x_coord($x),
1010 function lineto($x, $y) { argument
1012 $this->x_coord($x),
1028 function x_coord($x) { argument
1029 return $x * $this->k;
1113 function add_field_select($x, $y, $w, $h, $name, $value, $options) { argument
1117 new PDFRect($x, $y, $w, $h), // Annotation rectangle
1140 function add_field_checkbox($x, $y, $w, $h, $name, $value, $checked) { argument
1144 … new PDFRect($x, $y, $w, $h), // Annotation rectangle
1177 function add_field_radio($x, $y, $w, $h, $group_name, $value, $checked) { argument
1195 new PDFRect($x, $y, $w, $h),
1215 function add_field_text($x, $y, $w, $h, $value, $field_name) { argument
1219 new PDFRect($x, $y, $w, $h),
1231 function add_field_multiline_text($x, $y, $w, $h, $value, $field_name) { argument
1235 new PDFRect($x, $y, $w, $h),
1259 function add_field_password($x, $y, $w, $h, $value, $field_name) { argument
1263 new PDFRect($x, $y, $w, $h),
1275 function add_field_pushbuttonimage($x, $y, $w, $h, $field_name, $value, $actionURL) { argument
1279 new PDFRect($x, $y, $w, $h),
1292 function add_field_pushbuttonsubmit($x, $y, $w, $h, $field_name, $value, $actionURL) { argument
1296 new PDFRect($x, $y, $w, $h),
1309 function add_field_pushbuttonreset($x, $y, $w, $h) { argument
1313 new PDFRect($x, $y, $w, $h),
1324 function add_field_pushbutton($x, $y, $w, $h) { argument
1328 new PDFRect($x, $y, $w, $h),
1340 function SetDash($x, $y) { argument
1341 $x = (int)$x;
1343 $this->_out(sprintf("[%d %d] 0 d", $x*2, $y*2));
1350 function _dounderline($x,$y,$txt) { argument
1356 $x*$this->k,
1362 function _dooverline($x,$y,$txt) { argument
1370 $x*$this->k,
1376 function _dostrikeout($x,$y,$txt) { argument
1383 $x*$this->k,
1498 function Circle($x, $y, $r) { argument
1502 $this->_out(sprintf("%.2f %.f2 m", $x + $r, $y));
1504 $x + $r, $y + $l,
1505 $x + $l, $y + $r,
1506 $x, $y + $r));
1508 $x - $l, $y + $r,
1509 $x - $r, $y + $l,
1510 $x - $r, $y));
1512 $x - $r, $y - $l,
1513 $x - $l, $y - $r,
1514 $x, $y - $r));
1516 $x + $l, $y - $r,
1517 $x + $r, $y - $l,
1518 $x + $r, $y));
1657 if($this->page>0 && $this->x<$margin)
1658 $this->x=$margin;
1926 function Rect($x,$y,$w,$h,$style='') argument
1935 …$this->_out(sprintf('%.2f %.2f %.2f %.2f re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h…
2070 * @param Float $x X-coordinate of the upper-left corner of the link area
2076 function add_link_external($x, $y, $w, $h, $link) { argument
2080 new PDFRect($x, $y, $w, $h),
2089 * @param Float $x X-coordinate of the upper-left corner of the link area
2095 function add_link_internal($x, $y, $w, $h, $link) { argument
2099 new PDFRect($x, $y, $w, $h),
2104 function Text($x,$y,$txt) { argument
2106 … $s=sprintf('BT %.2f %.2f Td (%s) Tj ET',$x*$this->k,($this->h-$y)*$this->k,$this->_escape($txt));
2109 $s.=' '.$this->_dounderline($x,$y,$txt);
2113 $s.=' '.$this->_dooverline($x,$y,$txt);
2117 $s.=' '.$this->_dostrikeout($x,$y,$txt);
2138 $x=$this->x;
2146 $this->x=$x;
2154 $w=$this->w-$this->rMargin-$this->x;
2162 … $s=sprintf('%.2f %.2f %.2f %.2f re %s ',$this->x*$k,($this->h-$this->y)*$k,$w*$k,-$h*$k,$op);
2166 $x=$this->x;
2169 … $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k);
2171 … $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k);
2173 …$s.=sprintf('%.2f %.2f m %.2f %.2f l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))…
2175 …$s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))…
2192 …$s.=sprintf('BT %.2f %.2f Td (%s) Tj ET',($this->x+$dx)*$k,($this->h-($this->y+.5*$h+.3*$this->Fon…
2195 $s.=' '.$this->_dounderline($this->x+$dx,$this->y+.5*$h+.3*$this->FontSize,$txt);
2201 …$this->Link($this->x+$dx,$this->y+.5*$h-.5*$this->FontSize,$this->GetStringWidth($txt),$this->Font…
2211 $this->x=$this->lMargin;
2214 $this->x+=$w;
2222 $w=$this->w-$this->rMargin-$this->x;
2327 $this->x=$this->lMargin;
2333 $w=$this->w-$this->rMargin-$this->x;
2353 $this->x=$this->lMargin;
2354 $w=$this->w-$this->rMargin-$this->x;
2367 if($this->x>$this->lMargin) {
2369 $this->x=$this->lMargin;
2371 $w=$this->w-$this->rMargin-$this->x;
2389 $this->x=$this->lMargin;
2390 $w=$this->w-$this->rMargin-$this->x;
2403 function Image($file,$x,$y,$w=0,$h=0,$type='',$link='') argument
2454 …$this->_out(sprintf('q %.2f 0 0 %.2f %.2f %.2f cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,(…
2456 $this->Link($x,$y,$w,$h,$link);
2463 $this->x=$this->lMargin;
2473 return $this->x;
2476 function SetX($x) argument
2479 if($x>=0)
2480 $this->x=$x;
2482 $this->x=$this->w+$x;
2494 $this->x=$this->lMargin;
2501 function SetXY($x,$y) argument
2505 $this->SetX($x);
2990 $this->x=$this->lMargin;