| Flutter Impeller |

Public Member Functions | List of all members
impeller::testing::Screenshotter Class Referenceabstract

`#include <screenshotter.h>`

Inheritance diagram for impeller::testing::Screenshotter:

## Public Member Functions
virtual | ~Screenshotter ()=default
virtual std::unique_ptr< Screenshot > | MakeScreenshot (AiksContext &aiks_context, const Picture &picture, const ISize &size={300, 300}, bool scale_content=true)=0
virtual PlaygroundImpl & | GetPlayground ()=0

## Detailed Description

Converts `Picture`s and `DisplayList`s to `MetalScreenshot`s with the playground backend.

Definition at line 18 of file screenshotter.h.

## Constructor & Destructor Documentation

## ◆ ~Screenshotter()

virtual impeller::testing::Screenshotter::~Screenshotter | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ GetPlayground()

virtual PlaygroundImpl& impeller::testing::Screenshotter::GetPlayground | ( |  | ) |
| pure virtual

Implemented in impeller::testing::VulkanScreenshotter, and impeller::testing::MetalScreenshotter.

## ◆ MakeScreenshot()

virtual std::unique_ptr<Screenshot> impeller::testing::Screenshotter::MakeScreenshot | ( | AiksContext & | aiks_context,
|  | const Picture & | picture,
|  | const ISize & | size = `{300, 300}`,
|  | bool | scale_content = `true`
| ) |  |
| pure virtual

Implemented in impeller::testing::VulkanScreenshotter, and impeller::testing::MetalScreenshotter.

Referenced by impeller::testing::TEST_F().

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

- impeller/golden_tests/screenshotter.h