Lines Matching refs:point2
139 …public function drawRoundedRectangle(Point $point1, Point $point2, $radius, Color $color, $lineWid… argument
147 $X = cos ( ($i - 90) * M_PI / 180 ) * $radius + $point2->getX() - $radius;
151 $X = cos ( ($i) * M_PI / 180 ) * $radius + $point2->getX() - $radius;
152 $Y = sin ( ($i) * M_PI / 180 ) * $radius + $point2->getY() - $radius;
156 $Y = sin ( ($i + 90) * M_PI / 180 ) * $radius + $point2->getY() - $radius;
162 $X2 = $point2->getX() + .2;
163 $Y2 = $point2->getY() + .2;
197 function drawFilledRoundedRectangle(Point $point1, Point $point2, $radius, argument
214 + $point2->getX()
222 + $point2->getX()
226 + $point2->getY()
234 + $point2->getY()
242 imageline($this->picture, $point2->getX() - $radius, $Yi2,
247 $point2->getX() - $radius, $Yi3,
272 $point2->getX(), $point2->getY() - $radius,
277 $point2->getX() - $radius, $point2->getY(),
282 $X2 = $point2->getX() + .2;
283 $Y2 = $point2->getY() + .2;
311 …public function drawLine(Point $point1, Point $point2, Color $color, $lineWidth, $lineDotSize, Sha… argument
314 $point2,
322 $Distance = $point1->distanceFrom($point2);
325 $XStep = ($point2->getX() - $point1->getX()) / $Distance;
326 $YStep = ($point2->getY() - $point1->getY()) / $Distance;
349 …public function drawDottedLine(Point $point1, Point $point2, $dotSize, $lineWidth, Color $color, S… argument
350 $Distance = $point1->distanceFrom($point2);
352 $XStep = ($point2->getX() - $point1->getX()) / $Distance;
353 $YStep = ($point2->getY() - $point1->getY()) / $Distance;