MCPcopy Create free account
hub / github.com/apache/cloudstack / _fillRect

Method _fillRect

systemvm/agent/noVNC/core/decoders/tight.js:74–83  ·  view source on GitHub ↗
(x, y, width, height, sock, display, depth)

Source from the content-addressed store, hash-verified

72 }
73
74 _fillRect(x, y, width, height, sock, display, depth) {
75 if (sock.rQwait("TIGHT", 3)) {
76 return false;
77 }
78
79 let pixel = sock.rQshiftBytes(3);
80 display.fillRect(x, y, width, height, pixel, false);
81
82 return true;
83 }
84
85 _jpegRect(x, y, width, height, sock, display, depth) {
86 let data = this._readData(sock);

Callers 1

decodeRectMethod · 0.95

Calls 3

rQwaitMethod · 0.80
rQshiftBytesMethod · 0.80
fillRectMethod · 0.80

Tested by

no test coverage detected