Home | History | Annotate | Download | only in page

Lines Matching defs:srcRect

40     IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height()));
41 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size());
42 m_bitmapOffset = srcRect.location();
44 if (!srcRect.width() || !srcRect.height())
58 IntRect srcRect = intersection(cropRect, videoRect);
59 IntRect dstRect(IntPoint(), srcRect.size());
64 c->translate(-srcRect.x(), -srcRect.y());
67 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size());
78 IntRect srcRect = intersection(cropRect, IntRect(IntPoint(), canvasSize));
79 IntRect dstRect(IntPoint(), srcRect.size());
82 m_buffer->context()->drawImageBuffer(canvas->buffer(), dstRect, srcRect);
84 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size());
94 IntRect srcRect = intersection(cropRect, IntRect(IntPoint(), data->size()));
97 if (srcRect.width() > 0 && srcRect.height() > 0)
98 m_buffer->putByteArray(Unmultiplied, data->data(), data->size(), srcRect, IntPoint(min(0, -cropRect.x()), min(0, -cropRect.y())));
101 m_bitmapRect = IntRect(IntPoint(max(0, -cropRect.x()), max(0, -cropRect.y())), srcRect.size());
113 IntRect srcRect = intersection(cropRect, oldBitmapRect);
114 m_bitmapRect = IntRect(IntPoint(max(0, oldBitmapRect.x() - cropRect.x()), max(0, oldBitmapRect.y() - cropRect.y())), srcRect.size());
118 m_bitmapOffset = srcRect.location();