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 equivalent? All I'm seeing is

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 editor, and not a drawing

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

2009-05-31 Thread Sven Neumann
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 equivalent? All I'm seeing is gimp-paintbrush-register. http://developer.gimp.org/api/2.0/libgimp/index.html Sven

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

2009-05-31 Thread Sven Neumann
On Sun, 2009-05-31 at 08:40 +0200, Sven Neumann 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 equivalent? All I'm seeing is gimp-paintbrush-register.

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

2009-05-31 Thread Adam C Powell IV
Indeed. So where is the C API documentation for drawing lines? When I search, all that comes up is one C paintbrush function, the Scheme interface, and this email thread. I've spent a bunch of time at http://developer.gimp.org/api/2.0/libgimp/ to no avail... (That's a lot of how I produced the

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

2009-05-31 Thread Liam R E Quin
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 editor, and not a drawing program? If you are trying to create vector art, e.g. SVG or

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

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

2009-05-30 Thread David Hodson
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 equivalent? All I'm seeing is gimp-paintbrush-register. Open Gimp Select Help Procedure Browser In the search box, type brush Click on

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

2009-05-30 Thread Rob Antonishen
Sure, but the call process should be the same. Just use the equivalent C API calls, no? -Rob A On 5/30/09, Adam C Powell IV hazel...@debian.org 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-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:

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

2009-05-29 Thread Sven Neumann
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 which seems to be what I want. It is not what you want. GDK is a drawing toolkit used by GTK+ for drawing user

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 which seems to be what I want. It is not what you want.

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

2009-05-29 Thread Ryan Krauss
The procedure browser is your best bet (should be under the help menu). gimp-pencil and gimp-paintbrush look the ones. On Fri, May 29, 2009 at 6:41 PM, Adam C Powell IV hazel...@debian.orgwrote: On Sat, 2009-05-30 at 00:00 +0200, Sven Neumann wrote: Hi, On Fri, 2009-05-29 at 17:51 -0400,