PdfTileRasterizer typedef

PdfTileRasterizer = Future<Image> Function(Rect region, double pixelRatio)

Rasterizes one tile: region is the tile's bounds in page points (the y-down raster space PdfRetainedScene.rasterizeRegion takes), pixelRatio the bucket ratio. The returned image is owned by the store.

Implementation

typedef PdfTileRasterizer = Future<ui.Image> Function(
    Rect region, double pixelRatio);