| Flutter Impeller |

picture_recorder.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_
6 #define FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_
7
8 #include "impeller/aiks/canvas.h"
9 #include "impeller/aiks/picture.h"
10
11 namespace impeller {
12
13 class PictureRecorder {
14 public:
15 PictureRecorder();
16
17 ~PictureRecorder();
18
19 std::shared_ptr<Canvas> GetCanvas() const;
20
21 Picture EndRecordingAsPicture();
22
23 private:
24 std::shared_ptr<Canvas> canvas_;
25 };
26
27 } // namespace impeller
28
29 #endif // FLUTTER_IMPELLER_AIKS_PICTURE_RECORDER_H_
impeller::PictureRecorder::EndRecordingAsPicture
Picture EndRecordingAsPicture()
Definition: picture_recorder.cc:19
impeller::PictureRecorder::PictureRecorder
PictureRecorder()
Definition: picture_recorder.cc:11
picture.h
impeller::PictureRecorder::GetCanvas
std::shared_ptr< Canvas > GetCanvas() const
Definition: picture_recorder.cc:15
impeller::Picture
Definition: picture.h:17
impeller::PictureRecorder::~PictureRecorder
~PictureRecorder()
impeller::PictureRecorder
Definition: picture_recorder.h:13
canvas.h
impeller
Definition: aiks_blend_unittests.cc:18