Flutter Engine
The Flutter Engine
|
#include <screenshot.h>
Public Member Functions | |
Screenshot (const zx::vmo &screenshot_vmo, uint64_t width, uint64_t height, int rotation) | |
Pixel | GetPixelAt (uint64_t x, uint64_t y) const |
std::map< Pixel, uint32_t > | Histogram () const |
std::vector< std::vector< Pixel > > | screenshot () const |
uint64_t | width () const |
uint64_t | height () const |
Static Public Attributes | |
static const Pixel | kBlack = Pixel(0, 0, 0, 255) |
static const Pixel | kBlue = Pixel(255, 0, 0, 255) |
static const Pixel | kRed = Pixel(0, 0, 255, 255) |
static const Pixel | kMagenta = Pixel(255, 0, 255, 255) |
static const Pixel | kGreen = Pixel(0, 255, 0, 255) |
Definition at line 46 of file screenshot.h.
fuchsia_test_utils::Screenshot::Screenshot | ( | const zx::vmo & | screenshot_vmo, |
uint64_t | width, | ||
uint64_t | height, | ||
int | rotation | ||
) |
Definition at line 21 of file screenshot.cc.
Pixel fuchsia_test_utils::Screenshot::GetPixelAt | ( | uint64_t | x, |
uint64_t | y | ||
) | const |
Definition at line 53 of file screenshot.cc.
|
inline |
Definition at line 94 of file screenshot.h.
std::map< Pixel, uint32_t > fuchsia_test_utils::Screenshot::Histogram | ( | ) | const |
Definition at line 59 of file screenshot.cc.
|
inline |
Definition at line 90 of file screenshot.h.
|
inline |
Definition at line 92 of file screenshot.h.
Definition at line 49 of file screenshot.h.
Definition at line 50 of file screenshot.h.
Definition at line 53 of file screenshot.h.
Definition at line 52 of file screenshot.h.
Definition at line 51 of file screenshot.h.