yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::test::ScreenRegion Struct Reference

Region of interest for screenshot comparison. More...

#include <screenshot_assertion.h>

Public Member Functions

bool IsFullScreen () const
 

Static Public Member Functions

static ScreenRegion FullScreen ()
 
static ScreenRegion At (int x, int y, int w, int h)
 

Public Attributes

int x = 0
 
int y = 0
 
int width = 0
 
int height = 0
 

Detailed Description

Region of interest for screenshot comparison.

Definition at line 19 of file screenshot_assertion.h.

Member Function Documentation

◆ IsFullScreen()

bool yaze::test::ScreenRegion::IsFullScreen ( ) const
inline

Definition at line 25 of file screenshot_assertion.h.

References height, and width.

◆ FullScreen()

static ScreenRegion yaze::test::ScreenRegion::FullScreen ( )
inlinestatic

Definition at line 27 of file screenshot_assertion.h.

Referenced by yaze::test::ScreenshotAssertion::Compare().

◆ At()

static ScreenRegion yaze::test::ScreenRegion::At ( int x,
int y,
int w,
int h )
inlinestatic

Definition at line 28 of file screenshot_assertion.h.

References x, and y.

Member Data Documentation

◆ x

◆ y

◆ width

◆ height


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