stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::StaticGridAnimation::ImageSpan Struct Reference

Public Attributes

int32_t m_nImgId = -1
 The image to be painted to m_oRect. More...
 
NPoint m_oPos
 The position in cells within the grid. More...
 
NSize m_oSpanSize
 The number of cells the image should cover. More...
 
NSize m_oRepeatSize
 How many times the image has to be repeated for each axis. More...
 

Member Data Documentation

◆ m_nImgId

int32_t stmg::StaticGridAnimation::ImageSpan::m_nImgId = -1

The image to be painted to m_oRect.

◆ m_oPos

NPoint stmg::StaticGridAnimation::ImageSpan::m_oPos

The position in cells within the grid.

Must be completely within the grid. Size must be > 0.

◆ m_oRepeatSize

NSize stmg::StaticGridAnimation::ImageSpan::m_oRepeatSize

How many times the image has to be repeated for each axis.

Default: {1,1}.

◆ m_oSpanSize

NSize stmg::StaticGridAnimation::ImageSpan::m_oSpanSize

The number of cells the image should cover.

Default: {1,1}.