MCPcopy Create free account
hub / github.com/badvision/jace / draw

Method draw

src/main/java/jace/core/Video.java:227–233  ·  view source on GitHub ↗
(int xVal)

Source from the content-addressed store, hash-verified

225 public static int hblankOffsetY = 1;
226
227 private void draw(int xVal) {
228 if (lineDirty || forceRedrawRowCount > 0 || currentWriter.isRowDirty(y)) {
229 lineDirty = true;
230 currentWriter.displayByte(video, xVal, y, textOffset[y], hiresOffset[y]);
231 }
232 doPostDraw();
233 }
234
235 static public int calculateHiresOffset(int y) {
236 return calculateTextOffset(y >> 3) + ((y & 7) << 10);

Callers 1

tickMethod · 0.95

Calls 3

doPostDrawMethod · 0.95
isRowDirtyMethod · 0.45
displayByteMethod · 0.45

Tested by

no test coverage detected