Home
last modified time | relevance | path

Searched refs:unionWidth (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_canvas_autocache.cpp83 int unionWidth = static_cast<int>(unionDrawArea_.width()); in OpCanCache() local
85 …if ((unionWidth > static_cast<int>(bound.width())) || (unionHeight > static_cast<int>(bound.height… in OpCanCache()
90 if (unionWidth != 0 && unionHeight != 0) { in OpCanCache()
91 percent_ = (totalDrawAreas_ * PERCENT) / (unionWidth * unionHeight); in OpCanCache()