++ed by:

37 PAUSE users
19 non-PAUSE users.

Tony Cook
i_arc(im, x, y, rad, d1, d2, color)

Fills an arc centered at (x,y) with radius rad covering the range of angles in degrees from d1 to d2, with the color.

i_arc_cfill(im, x, y, rad, d1, d2, fill)

Fills an arc centered at (x,y) with radius rad covering the range of angles in degrees from d1 to d2, with the fill object.

i_arc_aa(im, x, y, rad, d1, d2, color)

Anti-alias fills an arc centered at (x,y) with radius rad covering the range of angles in degrees from d1 to d2, with the color.

i_arc_aa_cfill(im, x, y, rad, d1, d2, fill)

Anti-alias fills an arc centered at (x,y) with radius rad covering the range of angles in degrees from d1 to d2, with the fill object.

i_circle_aa(im, x, y, rad, color)

Anti-alias fills a circle centered at (x,y) for radius rad with color.

i_circle_out(im, x, y, r, col)

Draw a circle outline centered at (x,y) with radius r, non-anti-aliased.

Parameters:

• (x, y) - the center of the circle

• r - the radius of the circle in pixels, must be non-negative

Returns non-zero on success.

Implementation:

arc_seg(angle)

Convert an angle in degrees into an angle measure we can generate simply from the numbers we have when drawing the circle.

i_arc_out(im, x, y, r, d1, d2, col)

Draw an arc outline centered at (x,y) with radius r, non-anti-aliased over the angle range d1 through d2 degrees.

Parameters:

• (x, y) - the center of the circle

• r - the radius of the circle in pixels, must be non-negative

• d1, d2 - the range of angles to draw the arc over, in degrees.

Returns non-zero on success.

Implementation:

i_circle_out_aa(im, xc, yc, r, col)

Draw a circle outline centered at (x,y) with radius r, anti-aliased.

Parameters:

• (xc, yc) - the center of the circle

• r - the radius of the circle in pixels, must be non-negative

• col - an i_color for the color to draw in.

Returns non-zero on success.

i_arc_out_aa(im, xc, yc, r, d1, d2, col)

Draw a circle arc outline centered at (x,y) with radius r, from angle d1 degrees through angle d2 degrees, anti-aliased.

Parameters:

• (xc, yc) - the center of the circle

• r - the radius of the circle in pixels, must be non-negative

• d1, d2 - the range of angle in degrees to draw the arc through. If d2-d1 >= 360 a full circle is drawn.

Returns non-zero on success.

i_box(im, x1, y1, x2, y2, color)

Outlines the box from (x1,y1) to (x2,y2) inclusive with color.

i_box_filled(im, x1, y1, x2, y2, color)

Fills the box from (x1,y1) to (x2,y2) inclusive with color.

i_box_filledf(im, x1, y1, x2, y2, color)

Fills the box from (x1,y1) to (x2,y2) inclusive with a floating point color.

i_box_cfill(im, x1, y1, x2, y2, fill)

Fills the box from (x1,y1) to (x2,y2) inclusive with fill.

i_line(`im`, `x1`, `y1`, `x2`, `y2`, `color`, `endp`)

Draw a line to image using Bresenham's line drawing algorithm

``````   im    - image to draw to
x1    - starting x coordinate
y1    - starting x coordinate
x2    - starting x coordinate
y2    - starting x coordinate
color - color to write to image
endp  - endpoint flag (boolean)``````
i_line_aa(`im`, `x1`, `x2`, `y1`, `y2`, `color`, `endp`)

Anti-alias draws a line from (x1,y1) to (x2, y2) in color.

The point (x2, y2) is drawn only if `endp` is set.

i_flood_fill(`im`, `seedx`, `seedy`, `color`)

Flood fills the 4-connected region starting from the point (`seedx`, `seedy`) with color.

Returns false if (`seedx`, `seedy`) are outside the image.

i_flood_cfill(`im`, `seedx`, `seedy`, `fill`)

Flood fills the 4-connected region starting from the point (`seedx`, `seedy`) with `fill`.

Returns false if (`seedx`, `seedy`) are outside the image.

i_flood_fill_border(`im`, `seedx`, `seedy`, `color`, `border`)

Flood fills the 4-connected region starting from the point (`seedx`, `seedy`) with `color`, fill stops when the fill reaches a pixels with color `border`.

Returns false if (`seedx`, `seedy`) are outside the image.

i_flood_cfill_border(`im`, `seedx`, `seedy`, `fill`, `border`)

Flood fills the 4-connected region starting from the point (`seedx`, `seedy`) with `fill`, the fill stops when it reaches pixels of color `border`.

Returns false if (`seedx`, `seedy`) are outside the image.

20 POD Errors

The following errors were encountered while parsing the POD:

Around line 225:

'=item' outside of any '=over'

Around line 227:

Unknown directive: =category

Around line 256:

Unknown directive: =category

Around line 360:

Unknown directive: =category

Around line 390:

Unknown directive: =category

Around line 500:

Unknown directive: =category

Around line 556:

Unknown directive: =category

Around line 661:

Unknown directive: =category

Around line 807:

Unknown directive: =synopsis

Around line 913:

Unknown directive: =synopsis

Around line 1078:

Unknown directive: =category

Around line 1106:

Unknown directive: =category

Around line 1167:

Unknown directive: =category

Around line 1227:

Unknown directive: =category

Around line 1266:

Unknown directive: =category

Around line 1388:

Unknown directive: =category

Around line 1840:

Unknown directive: =category

Around line 1886:

Unknown directive: =category

Around line 1930:

Unknown directive: =category

Around line 1974:

Unknown directive: =category