mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Enable bicubic interpolation for possibly scaled components
This commit is contained in:
@@ -717,6 +717,8 @@ public class Toolkit {
|
||||
RenderingHints.VALUE_ANTIALIAS_ON);
|
||||
g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
|
||||
RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
|
||||
g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
|
||||
RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
||||
if (Toolkit.isRetina()) {
|
||||
// Looks great on retina, not so great (with our font) on 1x
|
||||
g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
|
||||
|
||||
Reference in New Issue
Block a user