MCPcopy Create free account
hub / github.com/HumbleUI/Skija / drawTestSubpixel

Method drawTestSubpixel

examples/scenes/src/FontScene.java:269–273  ·  view source on GitHub ↗
(Canvas canvas, float dpi)

Source from the content-addressed store, hash-verified

267 }
268
269 public void drawTestSubpixel(Canvas canvas, float dpi) {
270 _drawLine(canvas, "AAAAAAAAAAA", new Font(_testSubpixel, 10 * dpi));
271 canvas.translate(0, 10 * dpi);
272 _drawLine(canvas, "AAAAAAAAAAA", new Font(_testSubpixel, 10 * dpi).setSubpixel(true));
273 }
274
275 public void drawModes(Canvas canvas, float dpi) {
276 String common = "1006 Component Fix Position Scrolling ";

Callers 1

drawMethod · 0.95

Calls 3

_drawLineMethod · 0.95
setSubpixelMethod · 0.80
translateMethod · 0.45

Tested by

no test coverage detected