Re: Drawing a line in a GIMP plugin

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

 



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.


Sven


_______________________________________________
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