Re: Selections in plugins

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

 



Joël-Alexis Bialkiewicz (jabial@xxxxxxxxx) wrote:
> My primary hypothesis is that gimp gives the full image (or a square portion
> of it including all selections) when you call gimp_drawable_mask_bounds, and
> that when you write your results using gimp_drawable_update, it just updates
> the selected portion of this square.
> 
> There come my questions :
> A) Have I figuret it correctly?
> B) If not, how does it really work?
> C) Is there a way to force writing outside the selection?
> D) Is there a way to know if a given coordinate is selected or not?

The selection gets respected when you're using shadow tiles and use
gimp_drawable_merge_shadow. You can ignore the selection by not using
shadow tiles IIRC, I am at the moment not sure how this would affect the
undo system if you don't use shadow tiles.

Hope this helps a bit,
        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