On 11/13/2009 11:26 PM, Денис Черемисов wrote:
> It seems to be adequate enough -- definitely better than one used in
> photoshop and simple approaches I've tried to use in my task. So, what
> method do they used?

If you mean the round corners for rectangle select you can study
the implementation of gimp_channel_combine_ellipse_rect() here:

http://git.gnome.org/cgit/gimp/tree/app/core/gimpchannel-combine.c#n202

It's not based on general super-sampling or antialiasing/smoothing
techniques, instead it's based on trigonometry and the geometry for each
individual pixel.

 / Martin

-- 

My GIMP Blog:
http://www.chromecode.com/

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

Reply via email to