Lines Matching refs:getInt

843 	config.viewportSize.x()	= rnd.getInt(MIN_VIEWPORT_SIZE, de::min<int>(renderTargetSize.x(), MAX_VIEWPORT_SIZE));
844 config.viewportSize.y() = rnd.getInt(MIN_VIEWPORT_SIZE, de::min<int>(renderTargetSize.y(), MAX_VIEWPORT_SIZE));
845 config.viewportPos.x() = rnd.getInt(0, renderTargetSize.x() - config.viewportSize.x());
846 config.viewportPos.y() = rnd.getInt(0, renderTargetSize.y() - config.viewportSize.y());
3568 const int srcWidth = rnd.getInt(1, unionSize.x());
3569 const int srcHeight = rnd.getInt(1, unionSize.y());
3570 const int srcX = rnd.getInt(0, unionSize.x() - srcWidth);
3571 const int srcY = rnd.getInt(0, unionSize.y() - srcHeight);
3582 const int srcWidth = rnd.getInt(1, srcSize.x());
3583 const int srcHeight = rnd.getInt(1, srcSize.y());
3584 const int srcX = rnd.getInt(0, srcSize.x() - srcWidth);
3585 const int srcY = rnd.getInt(0, srcSize.y() - srcHeight);
3586 const int dstWidth = rnd.getInt(1, dstSize.x());
3587 const int dstHeight = rnd.getInt(1, dstSize.y());
3588 const int dstX = rnd.getInt(-(dstWidth / 2), dstSize.x() - (dstWidth+1) / 2); // allow dst go out of bounds
3589 const int dstY = rnd.getInt(-(dstHeight / 2), dstSize.y() - (dstHeight+1) / 2);
4416 const int numTriangles = rnd.getInt(1, 4);
4519 const int drawObjNdx = (m_drawTriangles) ? (rnd.getInt(0, (int)m_drawObjects.size() - 1)) : (0);
4553 const int scissorX = (m_fullscreenScissor) ? (0) : rnd.getInt(0, renderTargetSize.x()-1);
4554 const int scissorY = (m_fullscreenScissor) ? (0) : rnd.getInt(0, renderTargetSize.y()-1);
4555 const int scissorW = (m_fullscreenScissor) ? (renderTargetSize.x()) : rnd.getInt(0, renderTargetSize.x()-scissorX);
4556 const int scissorH = (m_fullscreenScissor) ? (renderTargetSize.y()) : rnd.getInt(0, renderTargetSize.y()-scissorY);