Hi Simon, thanks again for the help. I
will read through these and try to write my plugin…
From: Dream Artist
Aspiring [mailto:raajahamsa@xxxxxxxxx]
Sent: Tuesday, September 12, 2006
8:53 PM
To:
gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
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....
|
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer