The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
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_aa_fill(im, x, y, rad, fill)

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

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.

21 POD Errors

The following errors were encountered while parsing the POD:

Around line 232:

'=item' outside of any '=over'

Around line 234:

Unknown directive: =category

Around line 263:

Unknown directive: =category

Around line 367:

Unknown directive: =category

Around line 397:

Unknown directive: =category

Around line 452:

Unknown directive: =category

Around line 476:

Unknown directive: =category

Around line 640:

Unknown directive: =category

Around line 745:

Unknown directive: =category

Around line 891:

Unknown directive: =synopsis

Around line 997:

Unknown directive: =synopsis

Around line 1162:

Unknown directive: =category

Around line 1190:

Unknown directive: =category

Around line 1251:

Unknown directive: =category

Around line 1311:

Unknown directive: =category

Around line 1350:

Unknown directive: =category

Around line 1472:

Unknown directive: =category

Around line 1956:

Unknown directive: =category

Around line 2002:

Unknown directive: =category

Around line 2046:

Unknown directive: =category

Around line 2090:

Unknown directive: =category