| Flutter Impeller |

Public Member Functions | List of all members
impeller::PictureRecorder Class Reference

`#include <picture_recorder.h>`

## Public Member Functions
| PictureRecorder ()
| ~PictureRecorder ()
std::shared_ptr< Canvas > | GetCanvas () const
Picture | EndRecordingAsPicture ()

## Detailed Description

Definition at line 13 of file picture_recorder.h.

## Constructor & Destructor Documentation

## ◆ PictureRecorder()

impeller::PictureRecorder::PictureRecorder | ( |  | ) |

Definition at line 11 of file picture_recorder.cc.

11 : canvas_(std::make_shared<Canvas>()) {}

## ◆ ~PictureRecorder()

impeller::PictureRecorder::~PictureRecorder | ( |  | ) |
| default

## Member Function Documentation

## ◆ EndRecordingAsPicture()

Picture impeller::PictureRecorder::EndRecordingAsPicture | ( |  | ) |

Definition at line 19 of file picture_recorder.cc.

19 {
20 return canvas_->EndRecordingAsPicture();
21 }

## ◆ GetCanvas()

std::shared_ptr< Canvas > impeller::PictureRecorder::GetCanvas | ( |  | ) | const

Definition at line 15 of file picture_recorder.cc.

15 {
16 return canvas_;
17 }

The documentation for this class was generated from the following files:

- impeller/aiks/picture_recorder.h
- impeller/aiks/picture_recorder.cc