Lines Matching refs:point
445 public function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha = 100) {
449 new Point($point->getX() + $shadowProperties->xDistance,
450 $point->getY() + $shadowProperties->yDistance),
460 new Point($point->getX() + $shadowProperties->xDistance - $i / 2,
461 $point->getY() + $shadowProperties->yDistance - $i / 2),
468 new Point($point->getX() + $shadowProperties->xDistance + $i / 2,
469 $point->getY() + $shadowProperties->yDistance + $i / 2),
477 $Xi = floor($point->getX());
478 $Yi = floor($point->getY());
480 if($Xi == $point->getX() && $Yi == $point->getY()) {
485 $point->getX(), $point->getY(),
489 $this->drawAlphaPixel($point, $alpha, $color);
491 $Alpha1 = (((1 - ($point->getX() - $Xi)) * (1 - ($point->getY() - $Yi)) * 100) / 100) * $alpha;
496 $Alpha2 = ((($point->getX() - $Xi) * (1 - ($point->getY() - $Yi)) * 100) / 100) * $alpha;
501 $Alpha3 = (((1 - ($point->getX() - $Xi)) * ($point->getY() - $Yi) * 100) / 100)
507 $Alpha4 = ((($point->getX() - $Xi) * ($point->getY() - $Yi) * 100) / 100)
515 public function drawAlphaPixel(Point $point, $alpha, Color $color) {
516 /** @todo Check that the point is within the bounds of the
519 $RGB2 = imagecolorat($this->picture, $point->getX(), $point->getY());
532 imagesetpixel($this->picture, $point->getX(), $point->getY(), $C_Aliased);
582 function drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowProperties $shadowProperties) {
588 $point->getX() + $shadowProperties->xDistance,
589 $point->getY() + $shadowProperties->yDistance,
599 $point->getX(), $point->getY(),