LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
GraphicsRenderTests Class Reference

#include <GraphicsRenderTests.hxx>

Public Member Functions

std::vector< VclTestResult > & getTestResults ()
 
OUString getResultString (bool bLocalize=false)
 
void run (bool storeResultBitmap=false)
 
 GraphicsRenderTests ()
 

Private Member Functions

void testDrawRectWithRectangle ()
 
void testDrawRectWithPixel ()
 
void testDrawRectWithLine ()
 
void testDrawRectWithPolygon ()
 
void testDrawRectWithPolyLine ()
 
void testDrawRectWithPolyLineB2D ()
 
void testDrawRectWithPolyPolygon ()
 
void testDrawRectWithPolyPolygonB2D ()
 
void testDrawRectAAWithRectangle ()
 
void testDrawRectAAWithPixel ()
 
void testDrawRectAAWithLine ()
 
void testDrawRectAAWithPolygon ()
 
void testDrawRectAAWithPolyLine ()
 
void testDrawRectAAWithPolyLineB2D ()
 
void testDrawRectAAWithPolyPolygon ()
 
void testDrawRectAAWithPolyPolygonB2D ()
 
void testDrawFilledRectWithRectangle ()
 
void testDrawFilledRectWithPolygon ()
 
void testDrawFilledRectWithPolyPolygon ()
 
void testDrawFilledRectWithPolyPolygon2D ()
 
void testDrawDiamondWithPolygon ()
 
void testDrawDiamondWithLine ()
 
void testDrawDiamondWithPolyline ()
 
void testDrawDiamondWithPolylineB2D ()
 
void testDrawInvertWithRectangle ()
 
void testDrawInvertN50WithRectangle ()
 
void testDrawInvertTrackFrameWithRectangle ()
 
void testDrawDropShapeWithPolyline ()
 
void testDrawDropShapeAAWithPolyline ()
 
void testDrawBezierWithPolylineB2D ()
 
void testDrawBezierAAWithPolylineB2D ()
 
void testDrawDropShapeWithPolygon ()
 
void testDrawDropShapeAAWithPolygon ()
 
void testDrawBitmap24bpp ()
 
void testDrawTransformedBitmap24bpp ()
 
void testComplexDrawTransformedBitmap24bpp ()
 
void testDrawBitmapExWithAlpha24bpp ()
 
void testDrawMask24bpp ()
 
void testDrawBlend24bpp ()
 
void testDrawBitmap32bpp ()
 
void testDrawTransformedBitmap32bpp ()
 
void testDrawBitmapExWithAlpha32bpp ()
 
void testDrawMask32bpp ()
 
void testDrawBlend32bpp ()
 
void testDrawBitmap8bppGreyScale ()
 
void testDrawTransformedBitmap8bppGreyScale ()
 
void testDrawXor ()
 
void testClipRectangle ()
 
void testClipPolygon ()
 
void testClipPolyPolygon ()
 
void testClipB2DPolyPolygon ()
 
void testDrawOutDev ()
 
void testDrawOutDevScaledClipped ()
 
void testDrawOutDevSelf ()
 
void testDashedLine ()
 
void testLinearGradient ()
 
void testLinearGradientAngled ()
 
void testLinearGradientBorder ()
 
void testLinearGradientIntensity ()
 
void testLinearGradientSteps ()
 
void testAxialGradient ()
 
void testRadialGradient ()
 
void testRadialGradientOfs ()
 
void testLineJoinBevel ()
 
void testLineJoinRound ()
 
void testLineJoinMiter ()
 
void testLineJoinNone ()
 
void testLineCapRound ()
 
void testLineCapSquare ()
 
void testLineCapButt ()
 
void testHalfEllipseWithPolyLine ()
 
void testHalfEllipseAAWithPolyLine ()
 
void testHalfEllipseWithPolyLineB2D ()
 
void testHalfEllipseAAWithPolyLineB2D ()
 
void testHalfEllipseWithPolygon ()
 
void testHalfEllipseAAWithPolygon ()
 
void testClosedBezierWithPolyline ()
 
void testClosedBezierWithPolygon ()
 
void testFilledAsymmetricalDropShape ()
 
void testTextDrawing ()
 
void testEvenOddRuleInIntersectingRectsWithPolyPolygon ()
 
void testEvenOddRuleInIntersectingRectsWithPolyPolygonB2D ()
 
void testDrawRectangleOnSize1028WithRect ()
 
void testDrawRectangleOnSize4096WithRect ()
 
void testDrawRectangleOnSize1028WithPixel ()
 
void testDrawRectangleOnSize4096WithPixel ()
 
void testDrawRectangleOnSize1028WithLine ()
 
void testDrawRectangleOnSize4096WithLine ()
 
void testDrawRectangleOnSize1028WithPolygon ()
 
void testDrawRectangleOnSize4096WithPolygon ()
 
void testDrawRectangleOnSize1028WithPolyLine ()
 
void testDrawRectangleOnSize4096WithPolyLine ()
 
void testDrawRectangleOnSize1028WithPolyLineB2D ()
 
void testDrawRectangleOnSize4096WithPolyLineB2D ()
 
void testDrawRectangleOnSize1028WithPolyPolygon ()
 
void testDrawRectangleOnSize4096WithPolyPolygon ()
 
void testDrawRectangleOnSize1028WithPolyPolygonB2D ()
 
void testDrawRectangleOnSize4096WithPolygonPolygonB2D ()
 
void testDrawOpenPolygonWithPolyLine ()
 
void testDrawOpenPolygonWithPolyLineB2D ()
 
void testDrawOpenPolygonWithPolygon ()
 
void testDrawOpenPolygonWithPolyPolygon ()
 
void testDrawOpenPolygonWithPolyPolygonB2D ()
 
void testDrawOpenBezierWithPolyLine ()
 
void testDrawOpenBezierWithPolyLineB2D ()
 
void runALLTests ()
 
void appendTestResult (OUString aTestName, OUString aTestStatus, Bitmap aTestBitmap=Bitmap())
 

Static Private Member Functions

static OUString returnTestStatus (vcl::test::TestResult const result)
 

Private Attributes

bool m_aStoreResultantBitmap
 
std::vector< VclTestResultm_aTestResult
 
OUString m_aCurGraphicsBackend
 
OUString m_aUserInstallPath
 

Detailed Description

Definition at line 39 of file include/vcl/test/GraphicsRenderTests.hxx.

Constructor & Destructor Documentation

◆ GraphicsRenderTests()

GraphicsRenderTests::GraphicsRenderTests ( )
inline

Definition at line 164 of file include/vcl/test/GraphicsRenderTests.hxx.

Member Function Documentation

◆ appendTestResult()

void GraphicsRenderTests::appendTestResult ( OUString  aTestName,
OUString  aTestStatus,
Bitmap  aTestBitmap = Bitmap() 
)
private

◆ getResultString()

OUString GraphicsRenderTests::getResultString ( bool  bLocalize = false)

◆ getTestResults()

std::vector< VclTestResult > & GraphicsRenderTests::getTestResults ( )

◆ returnTestStatus()

static OUString GraphicsRenderTests::returnTestStatus ( vcl::test::TestResult const  result)
staticprivate

◆ run()

void GraphicsRenderTests::run ( bool  storeResultBitmap = false)

◆ runALLTests()

void GraphicsRenderTests::runALLTests ( )
private

◆ testAxialGradient()

void GraphicsRenderTests::testAxialGradient ( )
private

◆ testClipB2DPolyPolygon()

void GraphicsRenderTests::testClipB2DPolyPolygon ( )
private

◆ testClipPolygon()

void GraphicsRenderTests::testClipPolygon ( )
private

◆ testClipPolyPolygon()

void GraphicsRenderTests::testClipPolyPolygon ( )
private

◆ testClipRectangle()

void GraphicsRenderTests::testClipRectangle ( )
private

◆ testClosedBezierWithPolygon()

void GraphicsRenderTests::testClosedBezierWithPolygon ( )
private

◆ testClosedBezierWithPolyline()

void GraphicsRenderTests::testClosedBezierWithPolyline ( )
private

◆ testComplexDrawTransformedBitmap24bpp()

void GraphicsRenderTests::testComplexDrawTransformedBitmap24bpp ( )
private

◆ testDashedLine()

void GraphicsRenderTests::testDashedLine ( )
private

◆ testDrawBezierAAWithPolylineB2D()

void GraphicsRenderTests::testDrawBezierAAWithPolylineB2D ( )
private

◆ testDrawBezierWithPolylineB2D()

void GraphicsRenderTests::testDrawBezierWithPolylineB2D ( )
private

◆ testDrawBitmap24bpp()

void GraphicsRenderTests::testDrawBitmap24bpp ( )
private

◆ testDrawBitmap32bpp()

void GraphicsRenderTests::testDrawBitmap32bpp ( )
private

◆ testDrawBitmap8bppGreyScale()

void GraphicsRenderTests::testDrawBitmap8bppGreyScale ( )
private

◆ testDrawBitmapExWithAlpha24bpp()

void GraphicsRenderTests::testDrawBitmapExWithAlpha24bpp ( )
private

◆ testDrawBitmapExWithAlpha32bpp()

void GraphicsRenderTests::testDrawBitmapExWithAlpha32bpp ( )
private

◆ testDrawBlend24bpp()

void GraphicsRenderTests::testDrawBlend24bpp ( )
private

◆ testDrawBlend32bpp()

void GraphicsRenderTests::testDrawBlend32bpp ( )
private

◆ testDrawDiamondWithLine()

void GraphicsRenderTests::testDrawDiamondWithLine ( )
private

◆ testDrawDiamondWithPolygon()

void GraphicsRenderTests::testDrawDiamondWithPolygon ( )
private

◆ testDrawDiamondWithPolyline()

void GraphicsRenderTests::testDrawDiamondWithPolyline ( )
private

◆ testDrawDiamondWithPolylineB2D()

void GraphicsRenderTests::testDrawDiamondWithPolylineB2D ( )
private

◆ testDrawDropShapeAAWithPolygon()

void GraphicsRenderTests::testDrawDropShapeAAWithPolygon ( )
private

◆ testDrawDropShapeAAWithPolyline()

void GraphicsRenderTests::testDrawDropShapeAAWithPolyline ( )
private

◆ testDrawDropShapeWithPolygon()

void GraphicsRenderTests::testDrawDropShapeWithPolygon ( )
private

◆ testDrawDropShapeWithPolyline()

void GraphicsRenderTests::testDrawDropShapeWithPolyline ( )
private

◆ testDrawFilledRectWithPolygon()

void GraphicsRenderTests::testDrawFilledRectWithPolygon ( )
private

◆ testDrawFilledRectWithPolyPolygon()

void GraphicsRenderTests::testDrawFilledRectWithPolyPolygon ( )
private

◆ testDrawFilledRectWithPolyPolygon2D()

void GraphicsRenderTests::testDrawFilledRectWithPolyPolygon2D ( )
private

◆ testDrawFilledRectWithRectangle()

void GraphicsRenderTests::testDrawFilledRectWithRectangle ( )
private

◆ testDrawInvertN50WithRectangle()

void GraphicsRenderTests::testDrawInvertN50WithRectangle ( )
private

◆ testDrawInvertTrackFrameWithRectangle()

void GraphicsRenderTests::testDrawInvertTrackFrameWithRectangle ( )
private

◆ testDrawInvertWithRectangle()

void GraphicsRenderTests::testDrawInvertWithRectangle ( )
private

◆ testDrawMask24bpp()

void GraphicsRenderTests::testDrawMask24bpp ( )
private

◆ testDrawMask32bpp()

void GraphicsRenderTests::testDrawMask32bpp ( )
private

◆ testDrawOpenBezierWithPolyLine()

void GraphicsRenderTests::testDrawOpenBezierWithPolyLine ( )
private

◆ testDrawOpenBezierWithPolyLineB2D()

void GraphicsRenderTests::testDrawOpenBezierWithPolyLineB2D ( )
private

◆ testDrawOpenPolygonWithPolygon()

void GraphicsRenderTests::testDrawOpenPolygonWithPolygon ( )
private

◆ testDrawOpenPolygonWithPolyLine()

void GraphicsRenderTests::testDrawOpenPolygonWithPolyLine ( )
private

◆ testDrawOpenPolygonWithPolyLineB2D()

void GraphicsRenderTests::testDrawOpenPolygonWithPolyLineB2D ( )
private

◆ testDrawOpenPolygonWithPolyPolygon()

void GraphicsRenderTests::testDrawOpenPolygonWithPolyPolygon ( )
private

◆ testDrawOpenPolygonWithPolyPolygonB2D()

void GraphicsRenderTests::testDrawOpenPolygonWithPolyPolygonB2D ( )
private

◆ testDrawOutDev()

void GraphicsRenderTests::testDrawOutDev ( )
private

◆ testDrawOutDevScaledClipped()

void GraphicsRenderTests::testDrawOutDevScaledClipped ( )
private

◆ testDrawOutDevSelf()

void GraphicsRenderTests::testDrawOutDevSelf ( )
private

◆ testDrawRectAAWithLine()

void GraphicsRenderTests::testDrawRectAAWithLine ( )
private

◆ testDrawRectAAWithPixel()

void GraphicsRenderTests::testDrawRectAAWithPixel ( )
private

◆ testDrawRectAAWithPolygon()

void GraphicsRenderTests::testDrawRectAAWithPolygon ( )
private

◆ testDrawRectAAWithPolyLine()

void GraphicsRenderTests::testDrawRectAAWithPolyLine ( )
private

◆ testDrawRectAAWithPolyLineB2D()

void GraphicsRenderTests::testDrawRectAAWithPolyLineB2D ( )
private

◆ testDrawRectAAWithPolyPolygon()

void GraphicsRenderTests::testDrawRectAAWithPolyPolygon ( )
private

◆ testDrawRectAAWithPolyPolygonB2D()

void GraphicsRenderTests::testDrawRectAAWithPolyPolygonB2D ( )
private

◆ testDrawRectAAWithRectangle()

void GraphicsRenderTests::testDrawRectAAWithRectangle ( )
private

◆ testDrawRectangleOnSize1028WithLine()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithLine ( )
private

◆ testDrawRectangleOnSize1028WithPixel()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithPixel ( )
private

◆ testDrawRectangleOnSize1028WithPolygon()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithPolygon ( )
private

◆ testDrawRectangleOnSize1028WithPolyLine()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithPolyLine ( )
private

◆ testDrawRectangleOnSize1028WithPolyLineB2D()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithPolyLineB2D ( )
private

◆ testDrawRectangleOnSize1028WithPolyPolygon()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithPolyPolygon ( )
private

◆ testDrawRectangleOnSize1028WithPolyPolygonB2D()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithPolyPolygonB2D ( )
private

◆ testDrawRectangleOnSize1028WithRect()

void GraphicsRenderTests::testDrawRectangleOnSize1028WithRect ( )
private

◆ testDrawRectangleOnSize4096WithLine()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithLine ( )
private

◆ testDrawRectangleOnSize4096WithPixel()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithPixel ( )
private

◆ testDrawRectangleOnSize4096WithPolygon()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithPolygon ( )
private

◆ testDrawRectangleOnSize4096WithPolygonPolygonB2D()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithPolygonPolygonB2D ( )
private

◆ testDrawRectangleOnSize4096WithPolyLine()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithPolyLine ( )
private

◆ testDrawRectangleOnSize4096WithPolyLineB2D()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithPolyLineB2D ( )
private

◆ testDrawRectangleOnSize4096WithPolyPolygon()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithPolyPolygon ( )
private

◆ testDrawRectangleOnSize4096WithRect()

void GraphicsRenderTests::testDrawRectangleOnSize4096WithRect ( )
private

◆ testDrawRectWithLine()

void GraphicsRenderTests::testDrawRectWithLine ( )
private

◆ testDrawRectWithPixel()

void GraphicsRenderTests::testDrawRectWithPixel ( )
private

◆ testDrawRectWithPolygon()

void GraphicsRenderTests::testDrawRectWithPolygon ( )
private

◆ testDrawRectWithPolyLine()

void GraphicsRenderTests::testDrawRectWithPolyLine ( )
private

◆ testDrawRectWithPolyLineB2D()

void GraphicsRenderTests::testDrawRectWithPolyLineB2D ( )
private

◆ testDrawRectWithPolyPolygon()

void GraphicsRenderTests::testDrawRectWithPolyPolygon ( )
private

◆ testDrawRectWithPolyPolygonB2D()

void GraphicsRenderTests::testDrawRectWithPolyPolygonB2D ( )
private

◆ testDrawRectWithRectangle()

void GraphicsRenderTests::testDrawRectWithRectangle ( )
private

◆ testDrawTransformedBitmap24bpp()

void GraphicsRenderTests::testDrawTransformedBitmap24bpp ( )
private

◆ testDrawTransformedBitmap32bpp()

void GraphicsRenderTests::testDrawTransformedBitmap32bpp ( )
private

◆ testDrawTransformedBitmap8bppGreyScale()

void GraphicsRenderTests::testDrawTransformedBitmap8bppGreyScale ( )
private

◆ testDrawXor()

void GraphicsRenderTests::testDrawXor ( )
private

◆ testEvenOddRuleInIntersectingRectsWithPolyPolygon()

void GraphicsRenderTests::testEvenOddRuleInIntersectingRectsWithPolyPolygon ( )
private

◆ testEvenOddRuleInIntersectingRectsWithPolyPolygonB2D()

void GraphicsRenderTests::testEvenOddRuleInIntersectingRectsWithPolyPolygonB2D ( )
private

◆ testFilledAsymmetricalDropShape()

void GraphicsRenderTests::testFilledAsymmetricalDropShape ( )
private

◆ testHalfEllipseAAWithPolygon()

void GraphicsRenderTests::testHalfEllipseAAWithPolygon ( )
private

◆ testHalfEllipseAAWithPolyLine()

void GraphicsRenderTests::testHalfEllipseAAWithPolyLine ( )
private

◆ testHalfEllipseAAWithPolyLineB2D()

void GraphicsRenderTests::testHalfEllipseAAWithPolyLineB2D ( )
private

◆ testHalfEllipseWithPolygon()

void GraphicsRenderTests::testHalfEllipseWithPolygon ( )
private

◆ testHalfEllipseWithPolyLine()

void GraphicsRenderTests::testHalfEllipseWithPolyLine ( )
private

◆ testHalfEllipseWithPolyLineB2D()

void GraphicsRenderTests::testHalfEllipseWithPolyLineB2D ( )
private

◆ testLinearGradient()

void GraphicsRenderTests::testLinearGradient ( )
private

◆ testLinearGradientAngled()

void GraphicsRenderTests::testLinearGradientAngled ( )
private

◆ testLinearGradientBorder()

void GraphicsRenderTests::testLinearGradientBorder ( )
private

◆ testLinearGradientIntensity()

void GraphicsRenderTests::testLinearGradientIntensity ( )
private

◆ testLinearGradientSteps()

void GraphicsRenderTests::testLinearGradientSteps ( )
private

◆ testLineCapButt()

void GraphicsRenderTests::testLineCapButt ( )
private

◆ testLineCapRound()

void GraphicsRenderTests::testLineCapRound ( )
private

◆ testLineCapSquare()

void GraphicsRenderTests::testLineCapSquare ( )
private

◆ testLineJoinBevel()

void GraphicsRenderTests::testLineJoinBevel ( )
private

◆ testLineJoinMiter()

void GraphicsRenderTests::testLineJoinMiter ( )
private

◆ testLineJoinNone()

void GraphicsRenderTests::testLineJoinNone ( )
private

◆ testLineJoinRound()

void GraphicsRenderTests::testLineJoinRound ( )
private

◆ testRadialGradient()

void GraphicsRenderTests::testRadialGradient ( )
private

◆ testRadialGradientOfs()

void GraphicsRenderTests::testRadialGradientOfs ( )
private

◆ testTextDrawing()

void GraphicsRenderTests::testTextDrawing ( )
private

Member Data Documentation

◆ m_aCurGraphicsBackend

OUString GraphicsRenderTests::m_aCurGraphicsBackend
private

Definition at line 46 of file include/vcl/test/GraphicsRenderTests.hxx.

◆ m_aStoreResultantBitmap

bool GraphicsRenderTests::m_aStoreResultantBitmap
private

Definition at line 41 of file include/vcl/test/GraphicsRenderTests.hxx.

◆ m_aTestResult

std::vector<VclTestResult> GraphicsRenderTests::m_aTestResult
private

Definition at line 44 of file include/vcl/test/GraphicsRenderTests.hxx.

◆ m_aUserInstallPath

OUString GraphicsRenderTests::m_aUserInstallPath
private

Definition at line 48 of file include/vcl/test/GraphicsRenderTests.hxx.


The documentation for this class was generated from the following file: