Common subclass for output device rendering tests.
More...
#include <outputdevice.hxx>
|
static TestResult | checkRectangle (Bitmap &rBitmap) |
|
static TestResult | checkRectangleAA (Bitmap &rBitmap) |
|
static TestResult | checkFilledRectangle (Bitmap &rBitmap, bool useLineColor) |
|
static TestResult | checkLines (Bitmap &rBitmap) |
|
static TestResult | checkAALines (Bitmap &rBitmap) |
|
static TestResult | checkDiamond (Bitmap &rBitmap) |
|
static TestResult | checkInvertRectangle (Bitmap &rBitmap) |
|
static TestResult | checkInvertN50Rectangle (Bitmap &aBitmap) |
|
static TestResult | checkInvertTrackFrameRectangle (Bitmap &aBitmap) |
|
static TestResult | checkRectangles (Bitmap &rBitmap, std::vector< Color > &aExpectedColors) |
|
static TestResult | checkRectangle (Bitmap &rBitmap, int aLayerNumber, Color aExpectedColor) |
|
static TestResult | checkFilled (Bitmap &rBitmap, tools::Rectangle aRectangle, Color aExpectedColor) |
|
static TestResult | checkChecker (Bitmap &rBitmap, sal_Int32 nStartX, sal_Int32 nEndX, sal_Int32 nStartY, sal_Int32 nEndY, std::vector< Color > const &rExpected) |
|
static TestResult | checkLinearGradient (Bitmap &bitmap) |
|
static TestResult | checkLinearGradientAngled (Bitmap &bitmap) |
|
static TestResult | checkLinearGradientBorder (Bitmap &bitmap) |
|
static TestResult | checkLinearGradientIntensity (Bitmap &bitmap) |
|
static TestResult | checkLinearGradientSteps (Bitmap &bitmap) |
|
static TestResult | checkAxialGradient (Bitmap &bitmap) |
|
static TestResult | checkRadialGradient (Bitmap &bitmap) |
|
static TestResult | checkRadialGradientOfs (Bitmap &bitmap) |
|
static void | createDiamondPoints (tools::Rectangle rRect, int nOffset, Point &rPoint1, Point &rPoint2, Point &rPoint3, Point &rPoint4) |
|
static void | createHorizontalVerticalDiagonalLinePoints (tools::Rectangle rRect, Point &rHorizontalLinePoint1, Point &rHorizontalLinePoint2, Point &rVerticalLinePoint1, Point &rVerticalLinePoint2, Point &rDiagonalLinePoint1, Point &rDiagonalLinePoint2) |
|
static tools::Rectangle | alignToCenter (tools::Rectangle aRect1, tools::Rectangle aRect2) |
|
static TestResult | checkBezier (Bitmap &rBitmap) |
|
Common subclass for output device rendering tests.
Definition at line 32 of file outputdevice.hxx.
vcl::test::OutputDeviceTestCommon::OutputDeviceTestCommon |
( |
| ) |
|
static TestResult vcl::test::OutputDeviceTestCommon::checkAALines |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkAxialGradient |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkBezier |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkChecker |
( |
Bitmap & |
rBitmap, |
|
|
sal_Int32 |
nStartX, |
|
|
sal_Int32 |
nEndX, |
|
|
sal_Int32 |
nStartY, |
|
|
sal_Int32 |
nEndY, |
|
|
std::vector< Color > const & |
rExpected |
|
) |
| |
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkDiamond |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkFilledRectangle |
( |
Bitmap & |
rBitmap, |
|
|
bool |
useLineColor |
|
) |
| |
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkInvertN50Rectangle |
( |
Bitmap & |
aBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkInvertRectangle |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkInvertTrackFrameRectangle |
( |
Bitmap & |
aBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkLinearGradient |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkLinearGradientAngled |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkLinearGradientBorder |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkLinearGradientIntensity |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkLinearGradientSteps |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkLines |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkRadialGradient |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkRadialGradientOfs |
( |
Bitmap & |
bitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkRectangle |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkRectangle |
( |
Bitmap & |
rBitmap, |
|
|
int |
aLayerNumber, |
|
|
Color |
aExpectedColor |
|
) |
| |
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkRectangleAA |
( |
Bitmap & |
rBitmap | ) |
|
|
static |
static TestResult vcl::test::OutputDeviceTestCommon::checkRectangles |
( |
Bitmap & |
rBitmap, |
|
|
std::vector< Color > & |
aExpectedColors |
|
) |
| |
|
static |
static void vcl::test::OutputDeviceTestCommon::createDiamondPoints |
( |
tools::Rectangle |
rRect, |
|
|
int |
nOffset, |
|
|
Point & |
rPoint1, |
|
|
Point & |
rPoint2, |
|
|
Point & |
rPoint3, |
|
|
Point & |
rPoint4 |
|
) |
| |
|
static |
static void vcl::test::OutputDeviceTestCommon::createHorizontalVerticalDiagonalLinePoints |
( |
tools::Rectangle |
rRect, |
|
|
Point & |
rHorizontalLinePoint1, |
|
|
Point & |
rHorizontalLinePoint2, |
|
|
Point & |
rVerticalLinePoint1, |
|
|
Point & |
rVerticalLinePoint2, |
|
|
Point & |
rDiagonalLinePoint1, |
|
|
Point & |
rDiagonalLinePoint2 |
|
) |
| |
|
static |
OUString vcl::test::OutputDeviceTestCommon::getRenderBackendName |
( |
| ) |
const |
void vcl::test::OutputDeviceTestCommon::initialSetup |
( |
tools::Long |
nWidth, |
|
|
tools::Long |
nHeight, |
|
|
Color |
aColor, |
|
|
bool |
bEnableAA = false , |
|
|
bool |
bAlphaVirtualDevice = false |
|
) |
| |
const Color vcl::test::OutputDeviceTestCommon::constBackgroundColor |
|
staticprotected |
const Color vcl::test::OutputDeviceTestCommon::constFillColor |
|
staticprotected |
const Color vcl::test::OutputDeviceTestCommon::constLineColor |
|
staticprotected |
The documentation for this class was generated from the following file: