Searched refs:maxOutOfBounds (Results 1 – 2 of 2) sorted by relevance
227 const int maxOutOfBounds = 0; in computeRandomQuad() local232 int maxW = targetWidth + 2*maxOutOfBounds; in computeRandomQuad()233 int maxH = targetHeight + 2*maxOutOfBounds; in computeRandomQuad()237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width); in computeRandomQuad()238 int y = rnd.getInt(-maxOutOfBounds, targetHeight+maxOutOfBounds-height); in computeRandomQuad()
186 const int maxOutOfBounds = 0; in getRandomQuad() local191 const int maxW = targetW + 2*maxOutOfBounds; in getRandomQuad()192 const int maxH = targetH + 2*maxOutOfBounds; in getRandomQuad()196 const int x = rnd.getInt(-maxOutOfBounds, targetW+maxOutOfBounds-width); in getRandomQuad()197 const int y = rnd.getInt(-maxOutOfBounds, targetH+maxOutOfBounds-height); in getRandomQuad()