#include <RenderUtils.h>
|
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) |
|
◆ CalcNormalRenderRect()
void CRenderUtils::CalcNormalRenderRect |
( |
const CRect & | viewRect, |
|
|
float | outputFrameRatio, |
|
|
float | zoomAmount, |
|
|
CRect & | destRect ) |
|
static |
◆ CalculateStretchMode()
void CRenderUtils::CalculateStretchMode |
( |
STRETCHMODE | stretchMode, |
|
|
unsigned int | rotationDegCCW, |
|
|
unsigned int | sourceWidth, |
|
|
unsigned int | sourceHeight, |
|
|
float | screenWidth, |
|
|
float | screenHeight, |
|
|
float & | pixelRatio, |
|
|
float & | zoomAmount ) |
|
static |
◆ ClipRect()
◆ CropSource()
void CRenderUtils::CropSource |
( |
CRect & | sourceRect, |
|
|
unsigned int | rotationDegCCW, |
|
|
float | viewWidth, |
|
|
float | viewHeight, |
|
|
float | sourceWidth, |
|
|
float | sourceHeight, |
|
|
float | destWidth, |
|
|
float | destHeight ) |
|
static |
◆ ReorderDrawPoints()
std::array< CPoint, 4 > CRenderUtils::ReorderDrawPoints |
( |
const CRect & | destRect, |
|
|
unsigned int | orientationDegCCW ) |
|
static |
The documentation for this class was generated from the following files: