Re: Gimp-python: Artefacts when creating layer

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

 



Sebastian Breuers (sebbreuers@xxxxxx) wrote:
> The plug-in, I'm writing, creates a number of layers, every layer receives an 
> object, for example a circle (created by ellipse selection, an selection 
> fill), but somewhen, don't know why, the layer contains not only the desired 
> circle but also some artefacts. Stripes, areas of white, the mouse cursor, 
> things they should not be there.
> Is that a problem that can be solved by a certain programmable handling or do 
> I have to remove these artefacts by hand?

That sounds as if you don't clear the layer before you use it for the
first time. Layers created from a Plugin are not initialized from the
very beginning. They need to be cleared using e.g. gimp_drawable_fill.

Hope this helps,
        Simon
-- 
              simon@xxxxxxxx              http://simon.budig.de/
_______________________________________________
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