Example #1
0
bool TiledBackingStore::visibleAreaIsCovered() const
{
    return coverageRatio(visibleContentsRect()) == 1.0f;
}
Example #2
0
bool TiledBackingStore::visibleAreaIsCovered() const
{
    IntRect boundedVisibleContentsRect = intersection(m_client->tiledBackingStoreVisibleRect(), m_client->tiledBackingStoreContentsRect());
    return coverageRatio(boundedVisibleContentsRect) == 1.0f;
}