Re: Antialiasing method used in round corners

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

 



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@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