Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "core/fxge/dib/cstretchengine.h"
#include <utility>
#include "core/fpdfapi/page/cpdf_dib.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fxge/dib/fx_dib.h"
#include "testing/gtest/include/gtest/gtest.h"
Go to the source code of this file.
Functions | |
TEST (CStretchEngine, OverflowInCtor) | |
TEST (CStretchEngine, WeightRounding) | |
TEST (CStretchEngine, WeightRoundingNoSmoothing) | |
TEST (CStretchEngine, WeightRoundingBilinear) | |
TEST (CStretchEngine, WeightRoundingNoSmoothingBilinear) | |
TEST (CStretchEngine, ZeroLengthSrc) | |
TEST (CStretchEngine, ZeroLengthSrcNoSmoothing) | |
TEST (CStretchEngine, ZeroLengthSrcBilinear) | |
TEST (CStretchEngine, ZeroLengthSrcNoSmoothingBilinear) | |
TEST (CStretchEngine, ZeroLengthDest) | |
TEST (CStretchEngine, TooManyWeights) | |
TEST | ( | CStretchEngine | , |
OverflowInCtor | ) |
Definition at line 71 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::FXDIB_ResampleOptions(), FXDIB_ResampleOptions::bHalftone, FXDIB_ResampleOptions::bInterpolateBilinear, FXDIB_ResampleOptions::bLossy, FXDIB_ResampleOptions::bNoSmoothing, CStretchEngine::GetResampleOptionsForTest(), and k8bppRgb.
TEST | ( | CStretchEngine | , |
TooManyWeights | ) |
Definition at line 146 of file cstretchengine_unittest.cpp.
References CStretchEngine::WeightTable::CalculateWeights().
TEST | ( | CStretchEngine | , |
WeightRounding | ) |
Definition at line 88 of file cstretchengine_unittest.cpp.
TEST | ( | CStretchEngine | , |
WeightRoundingBilinear | ) |
Definition at line 99 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::bInterpolateBilinear.
TEST | ( | CStretchEngine | , |
WeightRoundingNoSmoothing | ) |
Definition at line 93 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::bNoSmoothing.
TEST | ( | CStretchEngine | , |
WeightRoundingNoSmoothingBilinear | ) |
Definition at line 105 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::bInterpolateBilinear, and FXDIB_ResampleOptions::bNoSmoothing.
TEST | ( | CStretchEngine | , |
ZeroLengthDest | ) |
Definition at line 140 of file cstretchengine_unittest.cpp.
References CStretchEngine::WeightTable::CalculateWeights().
TEST | ( | CStretchEngine | , |
ZeroLengthSrc | ) |
Definition at line 112 of file cstretchengine_unittest.cpp.
References CStretchEngine::WeightTable::CalculateWeights().
TEST | ( | CStretchEngine | , |
ZeroLengthSrcBilinear | ) |
Definition at line 125 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::bInterpolateBilinear, and CStretchEngine::WeightTable::CalculateWeights().
TEST | ( | CStretchEngine | , |
ZeroLengthSrcNoSmoothing | ) |
Definition at line 118 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::bNoSmoothing, and CStretchEngine::WeightTable::CalculateWeights().
TEST | ( | CStretchEngine | , |
ZeroLengthSrcNoSmoothingBilinear | ) |
Definition at line 132 of file cstretchengine_unittest.cpp.
References FXDIB_ResampleOptions::bInterpolateBilinear, FXDIB_ResampleOptions::bNoSmoothing, and CStretchEngine::WeightTable::CalculateWeights().