Pink 0.9

drawellipse.c File Reference

Draws an ellipse. More...


Detailed Description

Draws an ellipse.

Usage: drawellipse in.pgm x1 y1 x2 y2 X1 Y1 X2 Y2 [filled] out.pgm

Description: Draws an ellipse specified by four points, e.g. the extremities of the small axis (x1, y1, x2, y2) and the extremities of the big axis (X1, Y1, X2, Y2). The ellipse is surimposed to the contents of in.pgm. If the (optional) int32_t parameter filled is set (1), then the ellipse is filled. Otherwise it is empty (default).

Types supported: byte 2d

Category: draw geo

Author:
Michel Couprie