5#ifndef FLUTTER_FLOW_VIEW_SLICER_H_
6#define FLUTTER_FLOW_VIEW_SLICER_H_
8#include <unordered_map>
17 DlCanvas* background_canvas,
18 const std::vector<int64_t>& composition_order,
19 const std::unordered_map<int64_t, std::unique_ptr<EmbedderViewSlice>>&
21 const std::unordered_map<int64_t, DlRect>& view_rects);
std::unordered_map< int64_t, DlRect > SliceViews(DlCanvas *background_canvas, const std::vector< int64_t > &composition_order, const std::unordered_map< int64_t, std::unique_ptr< EmbedderViewSlice > > &slices, const std::unordered_map< int64_t, DlRect > &view_rects)
Compute the required overlay layers and clip the view slices according to the size and position of th...