Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
Loading...
Searching...
No Matches
gva::RenderBase Class Reference

Class defining the base renderer. More...

#include <renderer_base.h>

Inheritance diagram for gva::RenderBase:
Inheritance graph
Collaboration diagram for gva::RenderBase:
Collaboration graph

Public Member Functions

 RenderBase ()=default
 Construct a new Render Base object.
 
 RenderBase (uint32_t x, uint32_t y)
 Construct a new Render Base object.
 
 RenderBase (uint32_t x, uint32_t y, uint32_t width)
 Construct a new Render Base object.
 
 RenderBase (uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 Construct a new Render Base object.
 
uint32_t GetX () const
 Get the X attribute.
 
uint32_t GetY () const
 Get the Y attribute.
 
uint32_t GetWidth () const
 Get the Width attribute.
 
uint32_t GetHeight () const
 Get the Height attribute.
 

Detailed Description

Class defining the base renderer.

Constructor & Destructor Documentation

◆ RenderBase() [1/3]

gva::RenderBase::RenderBase ( uint32_t  x,
uint32_t  y 
)
inline

Construct a new Render Base object.

Parameters
xX pixel position
yY pixel position

◆ RenderBase() [2/3]

gva::RenderBase::RenderBase ( uint32_t  x,
uint32_t  y,
uint32_t  width 
)
inline

Construct a new Render Base object.

Parameters
xX pixel position
yY pixel position
widththe width in pixels

◆ RenderBase() [3/3]

gva::RenderBase::RenderBase ( uint32_t  x,
uint32_t  y,
uint32_t  width,
uint32_t  height 
)
inline

Construct a new Render Base object.

Parameters
xX pixel position
yY pixel position
widththe width in pixels
heightthe height in pixels

Member Function Documentation

◆ GetHeight()

uint32_t gva::RenderBase::GetHeight ( ) const
inline

Get the Height attribute.

Returns
uint32_t The height in pixels

◆ GetWidth()

uint32_t gva::RenderBase::GetWidth ( ) const
inline

Get the Width attribute.

Returns
uint32_t The width in pixels

◆ GetX()

uint32_t gva::RenderBase::GetX ( ) const
inline

Get the X attribute.

Returns
uint32_t The X pixel position

◆ GetY()

uint32_t gva::RenderBase::GetY ( ) const
inline

Get the Y attribute.

Returns
uint32_t The Y pixel position

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