Pink 0.9

drawline.c File Reference

draw a graph in a 2D image More...


Detailed Description

draw a graph in a 2D image

draw a straight line segment in a 2D image

Usage: drawline in.graph in.pgm out.pgm

Description:

Draws the graph described in file in.graph into the image in.pgm

Types supported: byte 2D

Category: draw

Author:
Michel Couprie

Usage: drawline in.pgm x1 y1 [z1] x2 y2 [z2] out.pgm

Description:

Draws a straight line segment between (x1,y1[,z1]) and (x2,y2[,z2])

Types supported: byte 2D, byte 3D

Category: draw

Author:
Michel Couprie