xbmc
Static Public Member Functions | List of all members
KODI::RETRO::CRenderUtils Class Reference

Static Public Member Functions

static void CalculateStretchMode (STRETCHMODE stretchMode, unsigned int rotationDegCCW, unsigned int sourceWidth, unsigned int sourceHeight, float screenWidth, float screenHeight, float &pixelRatio, float &zoomAmount)
 
static void CalcNormalRenderRect (const CRect &viewRect, float outputFrameRatio, float zoomAmount, CRect &destRect)
 
static void ClipRect (const CRect &viewRect, CRect &sourceRect, CRect &destRect)
 
static void CropSource (CRect &sourceRect, unsigned int rotationDegCCW, float viewWidth, float viewHeight, float sourceWidth, float sourceHeight, float destWidth, float destHeight)
 
static std::array< CPoint, 4 > ReorderDrawPoints (const CRect &destRect, unsigned int orientationDegCCW)
 

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