Pink 0.9

drawrect.c File Reference

Draws a rectangle with sides parallel to the main axes. More...


Detailed Description

Draws a rectangle with sides parallel to the main axes.

Usage: drawrect in.pgm x1 y1 z1 x2 y2 z2 out.pgm

Description: Draws a rectangle (a box in 3D) with sides parallel to the main axes. Two diagonally opposed corners are specified by x1, y1, z1 and x2, y2, z2. The rectangle is surimposed to the contents of in.pgm.

Types supported: byte 2d, byte 3d

Category: draw

Author:
Michel Couprie