Mega Code Archive

 
Categories / Php / Graphics
 

Ellipses and circles

IMG_ARC_PIE draws a filled wedge shape with a curved edge IMG_ARC_CHORD draws a straight line between the starting and ending angles IMG_ARC_NOFILL draws the outside edge line without drawing the two lines toward the center of the arc IMG_ARC_EDGED draws an unfilled wedge shape with a curved edge <?     imagefilledarc($image, 200, 150, 200, 200, 345, 15, $green,IMG_ARC_CHORD | IMG_ARC_NOFILL);     imagefilledarc($image, 200, 150, 200, 200, 345, 15, $green,IMG_ARC_EDGED | IMG_ARC_NOFILL); ?>