Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cstretchengine.h>
Public Member Functions | |
WeightTable () | |
~WeightTable () | |
bool | CalculateWeights (int dest_len, int dest_min, int dest_max, int src_len, int src_min, int src_max, const FXDIB_ResampleOptions &options) |
const PixelWeight * | GetPixelWeight (int pixel) const |
PixelWeight * | GetPixelWeight (int pixel) |
Definition at line 85 of file cstretchengine.h.
|
default |
|
default |
bool CStretchEngine::WeightTable::CalculateWeights | ( | int | dest_len, |
int | dest_min, | ||
int | dest_max, | ||
int | src_len, | ||
int | src_min, | ||
int | src_max, | ||
const FXDIB_ResampleOptions & | options ) |
Definition at line 59 of file cstretchengine.cpp.
References FXDIB_ResampleOptions::bInterpolateBilinear, FXDIB_ResampleOptions::bNoSmoothing, CStretchEngine::FixedFromDouble(), GetPixelWeight(), CStretchEngine::kFixedPointOne, CStretchEngine::PixelWeight::m_SrcEnd, CStretchEngine::PixelWeight::m_SrcStart, CStretchEngine::PixelWeight::m_Weights, CStretchEngine::PixelWeight::RemoveLastWeightAndAdjust(), and CStretchEngine::PixelWeight::SetWeightForPosition().
Referenced by CStretchEngine::StretchVert(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
CStretchEngine::PixelWeight * CStretchEngine::WeightTable::GetPixelWeight | ( | int | pixel | ) |
Definition at line 175 of file cstretchengine.cpp.
Referenced by CalculateWeights(), and CStretchEngine::StretchVert().
const CStretchEngine::PixelWeight * CStretchEngine::WeightTable::GetPixelWeight | ( | int | pixel | ) | const |
Definition at line 168 of file cstretchengine.cpp.