Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches

A pixel rectangle, half-open: [left, right) x [top, bottom). More...

#include <DekiRect.h>

Public Member Functions

int32_t Width () const
int32_t Height () const
bool Empty () const

Public Attributes

int32_t left
int32_t top
int32_t right
int32_t bottom

Detailed Description

A pixel rectangle, half-open: [left, right) x [top, bottom).

Shared vocabulary between the render system (which pixels a frame changed, IDekiRenderSystem::GetPresentRects) and displays (which pixels to push, IDekiDisplay::PresentRegions).

Member Function Documentation

◆ Width()

int32_t DekiRect::Width ( ) const
inline

◆ Height()

int32_t DekiRect::Height ( ) const
inline

◆ Empty()

bool DekiRect::Empty ( ) const
inline

Member Data Documentation

◆ left

int32_t DekiRect::left

◆ top

int32_t DekiRect::top

◆ right

int32_t DekiRect::right

◆ bottom

int32_t DekiRect::bottom

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