yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gfx::Bitmap::DirtyRegion Struct Reference

Public Member Functions

void Reset ()
 
void AddPoint (int x, int y)
 

Public Attributes

int min_x = 0
 
int min_y = 0
 
int max_x = 0
 
int max_y = 0
 
bool is_dirty = false
 

Detailed Description

Definition at line 301 of file bitmap.h.

Member Function Documentation

◆ Reset()

void yaze::gfx::Bitmap::DirtyRegion::Reset ( )
inline

Definition at line 305 of file bitmap.h.

References is_dirty, max_x, max_y, min_x, and min_y.

◆ AddPoint()

void yaze::gfx::Bitmap::DirtyRegion::AddPoint ( int  x,
int  y 
)
inline

Definition at line 310 of file bitmap.h.

References is_dirty, max_x, max_y, min_x, and min_y.

Referenced by yaze::gfx::Bitmap::SetPixel().

Member Data Documentation

◆ min_x

int yaze::gfx::Bitmap::DirtyRegion::min_x = 0

Definition at line 302 of file bitmap.h.

Referenced by AddPoint(), and Reset().

◆ min_y

int yaze::gfx::Bitmap::DirtyRegion::min_y = 0

Definition at line 302 of file bitmap.h.

Referenced by AddPoint(), and Reset().

◆ max_x

int yaze::gfx::Bitmap::DirtyRegion::max_x = 0

Definition at line 302 of file bitmap.h.

Referenced by AddPoint(), and Reset().

◆ max_y

int yaze::gfx::Bitmap::DirtyRegion::max_y = 0

Definition at line 302 of file bitmap.h.

Referenced by AddPoint(), and Reset().

◆ is_dirty

bool yaze::gfx::Bitmap::DirtyRegion::is_dirty = false

Definition at line 303 of file bitmap.h.

Referenced by AddPoint(), and Reset().


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