Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CAspectRatio Class Reference

#include <AspectRatio.h>

Public Types

enum class  AspectRatio { STRETCH = 0 , SCALE , KEEP , CENTER }
 

Public Member Functions

 CAspectRatio (AspectRatio aspect=STRETCH)
 
 CAspectRatio (AspectRatio aspect, uint32_t al, bool scaleD)
 
bool operator!= (const CAspectRatio &right) const
 

Public Attributes

AspectRatio ratio
 
uint32_t align
 
bool scaleDiffuse
 

Member Enumeration Documentation

◆ AspectRatio

enum class CAspectRatio::AspectRatio
strong
Enumerator
STRETCH 
SCALE 
KEEP 
CENTER 

Constructor & Destructor Documentation

◆ CAspectRatio() [1/2]

CAspectRatio::CAspectRatio ( AspectRatio aspect = STRETCH)
inline

◆ CAspectRatio() [2/2]

CAspectRatio::CAspectRatio ( AspectRatio aspect,
uint32_t al,
bool scaleD )
inline

Member Function Documentation

◆ operator!=()

bool CAspectRatio::operator!= ( const CAspectRatio & right) const
inline

Member Data Documentation

◆ align

uint32_t CAspectRatio::align

◆ ratio

AspectRatio CAspectRatio::ratio

◆ scaleDiffuse

bool CAspectRatio::scaleDiffuse

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