Re: Drawing a line in a GIMP plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hazelsct@xxxxxxxxxx> wrote:
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. GDK is a drawing toolkit used by GTK+ for
> drawing user interfaces. It is not meant and not suited for drawing to
> GIMP drawables.
>
> You probably want to use the procedures gimp-paint or gimp-pencil that
> allow you to draw strokes using the paintbrush or pencil tools.

I see.  I was hoping to avoid the complexity of choosing brushes and
whatnot, and just draw a simple line with squared-off end...

But okay.  A search for "gimp plugin draw line" doesn't turn up anything
looking helpful.  Can you point me to an object or method to get
started?

Thanks,
-Adam
--
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux