help writing plugin
Hi Simon, thanks again for the help. I will read through these and try to
write my plugin.
_____
From: Dream Artist Aspiring [mailto:raajahamsa@gmail.com]
Sent: Tuesday, September 12, 2006 8:53 PM
To: gimp-developer@lists.XCF.Berkeley.EDU
Subject: help writing plugin
Hi all, I am new to gimp and trying to learn plugins. I wanted to start by
drawing a circle. So basically,
for(t=0; t < 360; t++)
{
x(t) = cos(t);
y(t) = sin(t);
col(t) = black;
paint col(t) at x(t), y(t) or better; draw a black line from
x(t-1),y(t-1) to x(t),y(t).
}
So, how do I proceed in general. Right now, I created a new image, created a
new layer and added to image, filled the background color. After this I know
how to compute x(t), y(t) and col(t). I dont know how to do the last step: "
paint col(t) at x(t), y(t) or better; draw a black line from x(t-1),y(t-1)
to x(t),y(t)". Can any one suggest how to do the last step. Thanks very much
in advance....