On 11/30/05, Pierre Bucher <[EMAIL PROTECTED]> wrote:
> I don't know if I'm sending this to the right mail-list, but I would
> be really happy to get any help.
> I'm a french student preparing a study on the un-continous geometry
> and I would like to find some source code of "real" programs drawing
> lines, circles or ellipses in order to be abble to give exemples of
> reals applications during my presentation ...
> I would also be very happy to find some people abble to explain me how
> some programs are performing rotations ...
I'm not sure exactly what you mean by "un-continous," but assuming you
mean rasterized graphics, there is far too much information to explain
in an email-message. "Computer Graphics: Principles and Practice" by
Foley and van Dam is the typically suggested book for learning
In particular, you probably will be interested in Bresenham lines and
circles, which are discussed practically anywhere graphics are taught.
They are two simple and clever algorithms, and I'm sure you can find
source code for them on the web. Note that they are not anti-aliased;
they will not look as good as anti-aliased methods.
Two GIMP-related libraries that implement this kind of thing are
libart and cairo. You can find information on how to get them on the
Gimp-developer mailing list