JustAnotherDnDGame 0.1.0
Jeu de rĂ´le tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
core::MarkerImage Struct Reference

Les pixels d'un marqueur, en RVBA, ligne par ligne depuis le haut. More...

#include <AssetMarker.h>

Public Member Functions

bool isEmpty () const noexcept
MarkerColor at (int x, int y) const

Public Attributes

int width = 0
int height = 0
std::vector< MarkerColorpixels
 width * height pixels.

Detailed Description

Les pixels d'un marqueur, en RVBA, ligne par ligne depuis le haut.

Member Function Documentation

◆ at()

MarkerColor core::MarkerImage::at ( int x,
int y ) const
inlinenodiscard

◆ isEmpty()

bool core::MarkerImage::isEmpty ( ) const
inlinenodiscardnoexcept

Member Data Documentation

◆ height

int core::MarkerImage::height = 0

◆ pixels

std::vector<MarkerColor> core::MarkerImage::pixels

width * height pixels.

◆ width

int core::MarkerImage::width = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/JustAnotherDnDGame/JustAnotherDnDGame/Source/Core/Resources/AssetMarker.h