Lines Matching defs:width
305 const int width = rt.getWidth();
309 pixels.resize(width * height * 3);
312 gl.readPixels(0, 0, width, height, GL_RGB, GL_UNSIGNED_BYTE, pixels.data());
318 int x = (int)(((it->x + 1.0f) / 2) * width);
324 if (pixels[(x + y * width) * 3 + 0] != red || pixels[(x + y * width) * 3 + 1] != green ||
325 pixels[(x + y * width) * 3 + 2] != blue)
329 << "Result point: (" << (int)pixels[(x + y * width) * 3 + 0] << ","
330 << (int)pixels[(x + y * width) * 3 + 1] << "," << (int)pixels[(x + y * width) * 3 + 2]