Screenshot data container. More...
#include <screenshot_assertion.h>
Public Member Functions | |
| bool | IsValid () const |
| size_t | GetPixelIndex (int x, int y) const |
Public Attributes | |
| std::vector< uint8_t > | data |
| int | width = 0 |
| int | height = 0 |
| std::string | source |
Screenshot data container.
Definition at line 78 of file screenshot_assertion.h.
|
inline |
Definition at line 84 of file screenshot_assertion.h.
References data, height, and width.
Referenced by yaze::test::ScreenshotAssertion::CompareRegion().
|
inline |
Definition at line 89 of file screenshot_assertion.h.
References width.
Referenced by yaze::test::ScreenshotAssertion::ComparePixelExact(), and yaze::test::ScreenshotAssertion::GenerateDiffImage().
| std::vector<uint8_t> yaze::test::Screenshot::data |
| int yaze::test::Screenshot::width = 0 |
Definition at line 80 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::ComparePixelExact(), yaze::test::ScreenshotAssertion::GenerateDiffImage(), GetPixelIndex(), IsValid(), yaze::test::ScreenshotAssertion::LoadScreenshot(), and yaze::test::ScreenshotAssertion::SaveScreenshot().
| int yaze::test::Screenshot::height = 0 |
| std::string yaze::test::Screenshot::source |
Definition at line 82 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::LoadScreenshot().