Lines Matching refs:area
42 * will cover the area under the given rectangle.
44 DrawingSurface::DrawingSurface(Geom::IntRect const &area)
46 , _origin(area.min())
48 , _pixels(area.dimensions())
54 * will cover the area under the given rectangle. IT will contain
89 DrawingSurface::area() const
175 DrawingCache::DrawingCache(Geom::IntRect const &area)
176 : DrawingSurface(area)
178 , _pending_area(area)
187 DrawingCache::markDirty(Geom::IntRect const &area)
189 cairo_rectangle_int_t dirty = _convertRect(area);
193 DrawingCache::markClean(Geom::IntRect const &area)
195 Geom::OptIntRect r = Geom::intersect(area, pixelArea());
226 // is to ensure that the clean area is not too large
237 // the area has changed, so the cache content needs to be copied
270 * Paints the clean area from cache and modifies the @a area
274 DrawingCache::paintFromCache(DrawingContext &dc, Geom::OptIntRect &area)
276 if (!area) return;
278 // We subtract the clean region from the area, then get the bounds
279 // of the resulting region. This is the area that needs to be repainted
281 // Then we subtract the area that needs to be repainted from the
282 // original area and paint the resulting region from cache.
283 cairo_rectangle_int_t area_c = _convertRect(*area);
289 area = Geom::OptIntRect();
293 area = _convertRect(to_repaint);
313 DrawingCache::_dumpCache(Geom::OptIntRect const &area)
329 dc.rectangle(*area);
339 DrawingCache::_convertRect(Geom::IntRect const &area)
342 ret.x = area.left();
343 ret.y = area.top();
344 ret.width = area.width();
345 ret.height = area.height();