Re: [Gimp-developer] Drawing a line in a GIMP plugin

2009-06-03 Thread Adam C Powell IV
Okay, one more bit of help should finish this. :-) On Sun, 2009-05-31 at 11:50 +1000, David Hodson wrote: > On Sat, 2009-05-30 at 20:47 -0400, Adam C Powell IV wrote: > > I'm sorry, I'm developing a C plugin (tried Scheme first and it was DOG > > slow). Is there a C eq

Re: [Gimp-developer] Drawing a line in a GIMP plugin

2009-06-01 Thread Adam C Powell IV
On Sun, 2009-05-31 at 23:13 -0400, Liam R E Quin wrote: > On Sun, 2009-05-31 at 15:35 -0400, Adam C Powell IV wrote: > > Indeed. So where is the C API documentation for drawing lines? > > At the risk of stating the obvious, you do realise, I hope, that > GIMP is a bitmap

Re: [Gimp-developer] Drawing a line in a GIMP plugin

2009-05-31 Thread Adam C Powell IV
t > C API calls, no? > > -Rob A> > > On 5/30/09, Adam C Powell IV wrote: > > I'm sorry, I'm developing a C plugin (tried Scheme first and it was DOG > > slow). Is there a C equivalent? All I'm seeing is > > gimp-paintbrush-register. > > &

Re: [Gimp-developer] Drawing a line in a GIMP plugin

2009-05-30 Thread Adam C Powell IV
I'm sorry, I'm developing a C plugin (tried Scheme first and it was DOG slow). Is there a C equivalent? All I'm seeing is gimp-paintbrush-register. Funny, a search for "gimp c api line" turns up this thread. :-) Going further, searching for "gimp plugin api draw line" and restricting to develop

Re: [Gimp-developer] Drawing a line in a GIMP plugin

2009-05-29 Thread Adam C Powell IV
On Sat, 2009-05-30 at 00:00 +0200, Sven Neumann wrote: > Hi, > > On Fri, 2009-05-29 at 17:51 -0400, Adam C Powell IV wrote: > > > I'm a relative newbie trying to have a GIMP plugin draw a line (among > > other things). > > > > I found gdk_draw_line whic

[Gimp-developer] Drawing a line in a GIMP plugin

2009-05-29 Thread Adam C Powell IV
Hi, I'm a relative newbie trying to have a GIMP plugin draw a line (among other things). I found gdk_draw_line which seems to be what I want. But I don't know what to do about drawable. I of course have the GimpDrawable, and I have a guint8 array which holds the data from the GimpDrawable: g

Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-11-01 Thread Adam C Powell IV
On Fri, 2008-10-31 at 19:27 -0400, Kevin Cozens wrote: > David Gowers wrote: > >> One is finding "islands" in an image > [snip] > >> Another is integrals: zero, first and second moments, or alternatively, > >> integrals/sums of channel intensity, x- and y-weighted intensity, and > >> x^2, y^2 and x

Re: [Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-10-31 Thread Adam C Powell IV
On Sat, 2008-11-01 at 01:02 +1030, David Gowers wrote: > Hi Adam, > > On Fri, Oct 31, 2008 at 9:51 PM, Adam C Powell IV <[EMAIL PROTECTED]> wrote: > > Greetings, > > > > I am working on an image processing plug-in (which I'll offer for > > upstream

[Gimp-developer] Script-fu primitive wishlist: islands, integrals/sums, and data files

2008-10-31 Thread Adam C Powell IV
Greetings, I am working on an image processing plug-in (which I'll offer for upstream contribution BSD-licensed), and would really like to have a couple of primitives that I can't find. One is finding "islands" in an image: take a channel and create new layers each with one contiguous region in t