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

#include <GUITexture.h>

Public Types

enum  ASPECT_RATIO { AR_STRETCH = 0 , AR_SCALE , AR_KEEP , AR_CENTER }
 

Public Member Functions

 CAspectRatio (ASPECT_RATIO aspect=AR_STRETCH)
 
bool operator!= (const CAspectRatio &right) const
 

Public Attributes

ASPECT_RATIO ratio
 
uint32_t align
 
bool scaleDiffuse
 

Member Enumeration Documentation

◆ ASPECT_RATIO

Enumerator
AR_STRETCH 
AR_SCALE 
AR_KEEP 
AR_CENTER 

Constructor & Destructor Documentation

◆ CAspectRatio()

CAspectRatio::CAspectRatio ( ASPECT_RATIO aspect = AR_STRETCH)
inline

Member Function Documentation

◆ operator!=()

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

Member Data Documentation

◆ align

uint32_t CAspectRatio::align

◆ ratio

ASPECT_RATIO CAspectRatio::ratio

◆ scaleDiffuse

bool CAspectRatio::scaleDiffuse

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