RSS/Atom feed Twitter
Site is read-only, email is disabled

Antialiasing method used in round corners

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Antialiasing method used in round corners ????? ????????? 13 Nov 23:26
  Antialiasing method used in round corners Martin Nordholts 13 Nov 23:35
????? ?????????
2009-11-13 23:26:45 UTC (about 15 years ago)

Antialiasing method used in round corners

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?

Martin Nordholts
2009-11-13 23:35:21 UTC (about 15 years ago)

Antialiasing method used in round corners

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