Lines Matching refs:Point

14     function drawFilledRectangle(Point $corner1, Point $corner2, Color $color,
18 $newCorner1 = new Point($corner2->getX(), $corner1->getY());
19 $newCorner2 = new Point($corner1->getX(), $corner2->getY());
26 $newCorner1 = new Point($corner1->getX(), $corner2->getY());
27 $newCorner2 = new Point($corner2->getX(), $corner1->getY());
43 new Point($X1 + $shadowProperties->xDistance,
45 new Point($X2 + $shadowProperties->xDistance,
57 new Point($X1 + $shadowProperties->xDistance - $i / 2,
59 new Point($X2 + $shadowProperties->xDistance - $i / 2,
68 new Point($X1 + $shadowProperties->xDistance + $i / 2,
70 new Point($X2 + $shadowProperties->xDistance + $i / 2,
100 new Point($X1, $Y1),
101 new Point($X2, $Y2),
110 public function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
116 new Point($X1, $Y1),
117 new Point($X2, $Y1),
125 new Point($X2, $Y1),
126 new Point($X2, $Y2),
134 new Point($X2, $Y2),
135 new Point($X1, $Y2),
143 new Point($X1, $Y2),
144 new Point($X1, $Y1),
153 public function drawRoundedRectangle(Point $point1, Point $point2, $radius, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties) {
159 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
163 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
167 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
171 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
179 new Point($X1 + $radius, $Y1),
180 new Point($X2 - $radius, $Y1),
188 new Point($X2, $Y1 + $radius),
189 new Point($X2, $Y2 - $radius),
197 new Point($X2 - $radius, $Y2),
198 new Point($X1 + $radius, $Y2),
206 new Point($X1, $Y2 - $radius),
207 new Point($X1, $Y1 + $radius),
219 function drawFilledRoundedRectangle(Point $point1, Point $point2, $radius,
287 new Point($Xi1, $Yi1),
292 new Point($Xi2, $Yi2),
297 new Point($Xi3, $Yi3),
302 new Point($Xi4, $Yi4),
327 new Point($X1 + $radius, $Y1),
328 new Point($X2 - $radius, $Y1),
335 new Point($X2, $Y1 + $radius),
336 new Point($X2, $Y2 - $radius),
343 new Point($X2 - $radius, $Y2),
344 new Point($X1 + $radius, $Y2),
351 new Point($X1, $Y2 - $radius),
352 new Point($X1, $Y1 + $radius),
360 public function drawLine(Point $point1, Point $point2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shadowProperties, Point $boundingBoxMin = null, Point $boundingBoxMax = null) {
389 $this->drawAntialiasPixel(new Point($X, $Y), $color, $shadowProperties);
395 new Point($X + $j, $Y + $j),
403 public function drawDottedLine(Point $point1, Point $point2, $dotSize, $lineWidth, Color $color, ShadowProperties $shadowProperties, Point $boundingBoxMin = null, Point $boundingBoxMax = null) {
422 new Point($X, $Y),
430 new Point($X + $j,
445 public function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha = 100) {
449 new Point($point->getX() + $shadowProperties->xDistance,
460 new Point($point->getX() + $shadowProperties->xDistance - $i / 2,
468 new Point($point->getX() + $shadowProperties->xDistance + $i / 2,
493 $this->drawAlphaPixel(new Point($Xi, $Yi), $Alpha1, $color);
498 $this->drawAlphaPixel(new Point($Xi + 1, $Yi), $Alpha2, $color);
504 $this->drawAlphaPixel(new Point($Xi, $Yi + 1), $Alpha3, $color);
510 $this->drawAlphaPixel(new Point($Xi + 1, $Yi + 1), $Alpha4, $color);
515 public function drawAlphaPixel(Point $point, $alpha, Color $color) {
582 function drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowProperties $shadowProperties) {
604 function drawCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
615 new Point($X, $Y),
623 public function drawFilledCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $width = null) {
638 new Point($X1 - 1, $Y1 - 1),
643 new Point($X2 - 1, $Y2 - 1),