OpenEnroth 631fe01
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Viewport Struct Reference

#include <Viewport.h>

Public Member Functions

void SetViewport (int topLeft_X, int topLeft_Y, int bottomRight_X, int bottomRight_Y)
 
bool Contains (unsigned int x, unsigned int y)
 

Public Attributes

int viewportTL_X
 
int viewportTL_Y
 
int viewportBR_X
 
int viewportBR_Y
 
int viewportWidth
 
int viewportHeight
 
int viewportCenterX
 
int viewportCenterY
 

Member Function Documentation

◆ Contains()

bool Viewport::Contains ( unsigned int  x,
unsigned int  y 
)

◆ SetViewport()

void Viewport::SetViewport ( int  topLeft_X,
int  topLeft_Y,
int  bottomRight_X,
int  bottomRight_Y 
)

Member Data Documentation

◆ viewportBR_X

int Viewport::viewportBR_X

◆ viewportBR_Y

int Viewport::viewportBR_Y

◆ viewportCenterX

int Viewport::viewportCenterX

◆ viewportCenterY

int Viewport::viewportCenterY

◆ viewportHeight

int Viewport::viewportHeight

◆ viewportTL_X

int Viewport::viewportTL_X

◆ viewportTL_Y

int Viewport::viewportTL_Y

◆ viewportWidth

int Viewport::viewportWidth

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