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

Method draw

examples/scenes/src/FigmaScene.java:93–102  ·  view source on GitHub ↗
(Canvas canvas, int width, int height, float dpi, int xpos, int ypos)

Source from the content-addressed store, hash-verified

91 }
92
93 @Override
94 public void draw(Canvas canvas, int width, int height, float dpi, int xpos, int ypos) {
95 if (width < 700) { width = 700; }
96 if (height < 700) { height = 700; }
97 drawTabbar(canvas, width, height);
98 drawToolbar(canvas, width, height);
99 drawLeft(canvas, width, height, dpi);
100 drawRight(canvas, width, height, dpi);
101 drawCanvas(canvas, width, height, dpi, xpos, ypos);
102 }
103
104 public void drawTabbar(Canvas canvas, int width, int height) {
105 try (Paint fill = new Paint();

Callers

nothing calls this directly

Calls 5

drawTabbarMethod · 0.95
drawToolbarMethod · 0.95
drawLeftMethod · 0.95
drawRightMethod · 0.95
drawCanvasMethod · 0.95

Tested by

no test coverage detected