[Gimp-developer] C plugin writer wannabe(more like newbie) has questions...

2003-06-10 Thread Kenny Law
Hi all, I am now moving from script-fu/perl-fu scripting and entering the world of C plugin writing for GIMP. Only reason I am doing this is because I need to get information about pixels on the drawable(quite a significant number of pixels) I have read the good tutorial "Essentials Of a Plug-in"

[Gimp-developer] Gimp Arrays in Perl

2003-06-03 Thread Kenny Law
First of all, just wanna thank you guys especially Chris, Branko, Marc and Dov for answering some of my questions the past 2 days. Your help is greatly appreciated. Anyway, my question regards the gimp_pencil tool. One of its parameters is an array of floats. I tried to pass in this by doing //ju

[Gimp-developer] How do I test my perl scripts?

2003-06-02 Thread Kenny Law
Hi, I have a question on how to test my perl scripts. I am now using Gimp 1.2.3 by the way. So I wrote a script and I called it whatever.pl I made it executable by chmod a+x whatever.pl Then I try to run it by entering Gimp, and starting the Perl Server by going to Xtns->Perl->Server Nothing

[Gimp-developer] Plugin/Script/gimp source code:How do I draw a vertical line withjust a click of a button?

2003-06-02 Thread kenny . law
Hi everyone, I have been cracking my head for the past day trying to think of a way to draw a vertical line with just a simple click of the mouse. Basically, what I have is this: On my image, I have two horizontal lines, I want a tool that will allow me to just click anywhere between these two l