Pink 0.9

line.c File Reference

Draws a straight line between the two first points found in image. More...


Detailed Description

Draws a straight line between the two first points found in image.

Usage: line in.pgm out.pgm

Description: Draws a straight line between the two first points found in image in.pgm. Uses the Bresenham's algorithm.

Types supported: byte 2d

Category: draw

Author:
Michel Couprie