11 #include "cores/GameSettings.h" 12 #include "utils/Geometry.h" 23 static void CalculateStretchMode(
STRETCHMODE stretchMode,
24 unsigned int rotationDegCCW,
25 unsigned int sourceWidth,
26 unsigned int sourceHeight,
32 static void CalcNormalRenderRect(
const CRect& viewRect,
33 float outputFrameRatio,
37 static void ClipRect(
const CRect& viewRect,
CRect& sourceRect,
CRect& destRect);
39 static void CropSource(
CRect& sourceRect,
40 unsigned int rotationDegCCW,
48 static std::array<CPoint, 4> ReorderDrawPoints(
const CRect& destRect,
49 unsigned int orientationDegCCW);
Definition: AudioDecoder.h:18
STRETCHMODE
Methods for stretching the game to the viewing area.
Definition: GameSettings.h:29
Definition: RenderUtils.h:20