Lines Matching refs:viewport
91 function show(&$viewport) { argument
93 if (is_null(BlockBox::show($viewport))) {
129 $this->mb_image($viewport, $x, $y);
138 $this->mb_disc($viewport, $x, $y);
141 $this->mb_circle($viewport, $x, $y);
144 $this->mb_square($viewport, $x, $y);
147 $this->mb_string($viewport, $x, $y);
174 function mb_string(&$viewport, $x, $y) { argument
178 $this->str_number_box->show($viewport);
181 function mb_disc(&$viewport, $x, $y) { argument
183 $color->apply($viewport);
187 …$viewport->circle( $x - $font->size->getPoints()*0.5, $y + $font->size->getPoints()*0.4*HEIGHT_KOE…
188 $viewport->fill();
191 function mb_circle(&$viewport, $x, $y) { argument
193 $color->apply($viewport);
195 $viewport->setlinewidth(0.1);
198 …$viewport->circle( $x - $font->size->getPoints()*0.5, $y + $font->size->getPoints()*0.4*HEIGHT_KOE…
199 $viewport->stroke();
202 function mb_square(&$viewport, $x, $y) { argument
204 $color->apply($viewport);
207 …$viewport->rect($x - $font->size->getPoints()*0.512, $y + $font->size->getPoints()*0.3*HEIGHT_KOEF…
208 $viewport->fill();
211 function mb_image(&$viewport, $x, $y) { argument
217 $imagebox->show($viewport);