MCPcopy Index your code
hub / github.com/arduino/Arduino / setupGraphics2D

Method setupGraphics2D

app/src/processing/app/Theme.java:620–627  ·  view source on GitHub ↗
(Graphics graphics)

Source from the content-addressed store, hash-verified

618 }
619
620 static public Graphics2D setupGraphics2D(Graphics graphics) {
621 Graphics2D g = (Graphics2D) graphics;
622 if (PreferencesData.getBoolean("editor.antialias")) {
623 g.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
624 RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
625 }
626 return g;
627 }
628
629 /**
630 * Loads the supplied {@link PreferencesMap} from the specified resource,

Callers 6

paintComponentMethod · 0.95
paintComponentMethod · 0.95
paintComponentMethod · 0.95
paintComponentMethod · 0.95
paintMethod · 0.95

Calls 1

getBooleanMethod · 0.95

Tested by

no test coverage detected