MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / is_empty

Method is_empty

java/com/tigervnc/rfb/Rect.java:72–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71 public final boolean equals(Rect r) {return r.tl.equals(tl) && r.br.equals(br);}
72 public final boolean is_empty() {return (tl.x >= br.x) || (tl.y >= br.y);}
73 public final void clear() {tl = new Point(); br = new Point();}
74 public final boolean enclosed_by(Rect r) {
75 return (tl.x>=r.tl.x) && (tl.y>=r.tl.y) && (br.x<=r.br.x) && (br.y<=r.br.y);

Callers 7

copyRectMethod · 0.95
maskRectMethod · 0.95
union_boundaryMethod · 0.95
updateWindowMethod · 0.95
findEntryMethod · 0.45
readRectMethod · 0.45
validateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected