Lines Matching refs:cr
355 function circ( &$img, $cx, $cy, $cr, $color) { argument
356 $ir = $cr;
363 imageLine( $img, $cx + $cr - 1, $cy, $cx, $cy, $fill );
364 imageLine( $img, $cx - $cr + 1, $cy, $cx - 1, $cy, $fill );
365 imageLine( $img, $cx, $cy + $cr - 1, $cx, $cy + 1, $fill );
366 imageLine( $img, $cx, $cy - $cr + 1, $cx, $cy - 1, $fill );
368 imageSetPixel( $img, $cx + $cr, $cy, $draw );
369 imageSetPixel( $img, $cx - $cr, $cy, $draw );
370 imageSetPixel( $img, $cx, $cy + $cr, $draw );
371 imageSetPixel( $img, $cx, $cy - $cr, $draw );
394 if ( sqrt( pow( $xx, 2 ) + pow( $yy, 2 ) ) < $cr ) $filled += 4;