Lines Matching refs:content_rect
69 void LayerTilingData::ContentRectToTileIndices(gfx::Rect content_rect,
78 DCHECK(!content_rect.IsEmpty());
80 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x());
81 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y());
82 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1);
83 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1);
93 gfx::Rect content_rect) const {
94 if (content_rect.IsEmpty())
99 ContentRectToTileIndices(content_rect, &left, &top, &right, &bottom);
107 gfx::IntersectRects(content_rect, tile->opaque_rect());