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

Method onDraw

examples/kwinit/src_java/Main.java:215–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 }
214
215 public void onDraw() {
216 Scenes.draw(canvas, width, height, scale, (int) mouseX, (int) mouseY);
217 // canvas.save();
218 // canvas.scale(scale, scale);
219 // try (var paint = new Paint().setColor(0x10000000)) {
220 // canvas.drawRRect(RRect.makeXYWH(14, 14, 64, 24, 12), paint);
221 // }
222 // canvas.restore();
223 context.flush();
224 ExternalAPI.fireUserEvent(1);
225 }
226
227 public void handleUserEvent(int cookie) {
228 switch (cookie) {

Callers 1

runMethod · 0.95

Calls 3

drawMethod · 0.95
fireUserEventMethod · 0.95
flushMethod · 0.45

Tested by

no test coverage detected