Lines Matching refs:bufferWidth
175 float bufferWidth = buffer->GetWidth();
178 if (crop.w < bufferWidth && bufferWidth != 0) {
179 tx = (float(crop.x) / bufferWidth);
180 sx = (float(crop.w) / bufferWidth);
273 float bufferWidth = buffer->GetWidth();
276 if (crop.w < bufferWidth && bufferWidth != 0) {
277 tx = (float(crop.x) / bufferWidth);
278 sx = (float(crop.w) / bufferWidth);