Lines Matching defs:props
211 std::function<void(RenderProperties& props, Canvas& canvas)> setup) {
219 RenderProperties& props = node->mutateStagingProperties();
220 props.setLeftTopRightBottom(left, top, right, bottom);
222 std::unique_ptr<Canvas> canvas(Canvas::create_recording_canvas(props.getWidth(),
223 props.getHeight()));
224 setup(props, *canvas.get());
233 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) {
241 RenderProperties& props = node->mutateStagingProperties();
242 props.setLeftTopRightBottom(left, top, right, bottom);
244 RecordingCanvasType canvas(props.getWidth(), props.getHeight());
245 setup(props, canvas);
261 std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)> setup,
272 RenderProperties& props = node->mutateStagingProperties();
273 props.setLeftTopRightBottom(left, top, right, bottom);
280 props.getWidth(), props.getHeight()));
281 setup(props, *canvas.get());