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 "flutter/fml/macros.h"
9
#include "
impeller/aiks/canvas.h
"
10
#include "
impeller/aiks/picture.h
"
11
12
namespace
impeller
{
13
14
class
PictureRecorder
{
15
public
:
16
PictureRecorder
();
17
18
~PictureRecorder
();
19
20
std::shared_ptr<Canvas>
GetCanvas
()
const
;
21
22
Picture
EndRecordingAsPicture
();
23
24
private
:
25
std::shared_ptr<Canvas> canvas_;
26
};
27
28
}
// namespace impeller
29
30
#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:20
impeller::PictureRecorder::~PictureRecorder
~PictureRecorder()
impeller::PictureRecorder
Definition:
picture_recorder.h:14
canvas.h
impeller
Definition:
aiks_blur_unittests.cc:20
impeller
aiks
picture_recorder.h
Generated by
1.8.17