#include <OverlayRenderer.h>
◆ EAlign
Enumerator |
---|
ALIGN_SCREEN | |
ALIGN_SCREEN_AR | |
ALIGN_VIDEO | |
ALIGN_SUBTITLE | |
◆ EPosition
Enumerator |
---|
POSITION_ABSOLUTE | |
POSITION_ABSOLUTE_SCREEN | |
POSITION_RELATIVE | |
◆ EType
Enumerator |
---|
TYPE_NONE | |
TYPE_TEXTURE | |
◆ COverlay()
◆ ~COverlay()
◆ Create() [1/3]
std::shared_ptr< COverlay > COverlay::Create |
( |
ASS_Image * | images, |
|
|
float | width, |
|
|
float | height ) |
|
static |
◆ Create() [2/3]
◆ Create() [3/3]
◆ IsSquareResolution()
bool OVERLAY::COverlay::IsSquareResolution |
( |
float | resRatio | ) |
|
|
inlineprotected |
Given the resolution ratio determines if it is a 4/3 resolution.
- Parameters
-
resRatio | The resolution ratio (the results of width / height) |
- Returns
- True if the ratio refer to a 4/3 resolution, otherwise false
◆ Render()
◆ m_align
◆ m_height
float OVERLAY::COverlay::m_height {1.0f} |
◆ m_pos
◆ m_source_height
float OVERLAY::COverlay::m_source_height {0} |
◆ m_source_width
float OVERLAY::COverlay::m_source_width {0} |
◆ m_type
◆ m_width
float OVERLAY::COverlay::m_width {1.0f} |
◆ m_x
float OVERLAY::COverlay::m_x {0} |
◆ m_y
float OVERLAY::COverlay::m_y {0} |
The documentation for this class was generated from the following files: