mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
RasterCacheResult::draw constructs the device target rectangle by calling SkRect::roundOut, which rounds down the left/top coordinates and rounds up the right/bottom coordinates. The rounding can produce a device rect whose width and/or height differs from the cache result image's width/height by one pixel.