tmb@lem.ai.mit.edu (Thomas M. Breuel) (05/07/90)
For vision research at our lab, I need C functions that do the
following:
* rasterization of lines (thin and thick) [+]
circles
filled circles
filled polygons
splines
filled splines
* bitmap rotations [+]
* region filling [+]
* clipping
Clarity and portability is more important than speed, since I will
probably have to adapt the code to our data structures. A clean,
simple C implementation of the pseudocode in Foley/vanDam would be
ideal.
Requests for functions of this kind seem to come up again and
again in comp.graphics. I will collect all responses and make them
publically available.
If responses warrant it, I will also try to collect the functions I
receive into a library, modify them to use a common, simple data
structure, and make them available as a collection.
If you have C code that implements any or all of these, I would
like to hear from you.
Thanks, Thomas.
tmb@ai.mit.edu
PS: I already have some code, albeit not very efficient, for the
items marked with '+'.