MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / Contains

Method Contains

scintilla/include/Platform.h:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 (rc.top == top) && (rc.bottom == bottom);
125 }
126 bool Contains(Point pt) {
127 return (pt.x >= left) && (pt.x <= right) &&
128 (pt.y >= top) && (pt.y <= bottom);
129 }
130 bool Contains(PRectangle rc) {
131 return (rc.left >= left) && (rc.right <= right) &&
132 (rc.top >= top) && (rc.bottom <= bottom);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected