LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | List of all members
vcl::test::OutputDeviceTestBitmap Class Reference

#include <outputdevice.hxx>

Inheritance diagram for vcl::test::OutputDeviceTestBitmap:
[legend]
Collaboration diagram for vcl::test::OutputDeviceTestBitmap:
[legend]

Public Member Functions

 OutputDeviceTestBitmap ()=default
 
Bitmap setupDrawTransformedBitmap (vcl::PixelFormat aBitmapFormat, bool isBitmapGreyScale=false)
 
Bitmap setupComplexDrawTransformedBitmap (vcl::PixelFormat aBitmapFormat, bool isBitmapGreyScale=false)
 
Bitmap setupDrawBitmap (vcl::PixelFormat aBitmapFormat, bool isBitmapGreyScale=false)
 
Bitmap setupDrawBitmapExWithAlpha (vcl::PixelFormat aBitmapFormat)
 
Bitmap setupDrawMask (vcl::PixelFormat aBitmapFormat)
 
BitmapEx setupDrawBlend (vcl::PixelFormat aBitmapFormat)
 
- Public Member Functions inherited from vcl::test::OutputDeviceTestCommon
 OutputDeviceTestCommon ()
 
OUString getRenderBackendName () const
 
void initialSetup (tools::Long nWidth, tools::Long nHeight, Color aColor, bool bEnableAA=false, bool bAlphaVirtualDevice=false)
 

Static Public Member Functions

static TestResult checkTransformedBitmap (Bitmap &rBitmap)
 
static TestResult checkComplexTransformedBitmap (Bitmap &rBitmap)
 
static TestResult checkBitmapExWithAlpha (Bitmap &rBitmap)
 
static TestResult checkMask (Bitmap &rBitmap)
 
static TestResult checkBlend (const BitmapEx &rBitmap)
 
static TestResult checkTransformedBitmap8bppGreyScale (Bitmap &rBitmap)
 
- Static Public Member Functions inherited from vcl::test::OutputDeviceTestCommon
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 checkRectangles (Bitmap &rBitmap, bool aEnableAA=false)
 
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 tools::Polygon createDropShapePolygon ()
 
static basegfx::B2DPolygon createHalfEllipsePolygon ()
 
static tools::Polygon createClosedBezierLoop (const tools::Rectangle &rRect)
 
static basegfx::B2DPolygon createOpenPolygon (const tools::Rectangle &rRect, int nOffset=4)
 
static basegfx::B2DPolygon createOpenBezier ()
 
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)
 
static TestResult checkLineCapRound (Bitmap &rBitmap)
 
static TestResult checkLineCapSquare (Bitmap &rBitmap)
 
static TestResult checkLineCapButt (Bitmap &rBitmap)
 
static TestResult checkLineJoinBevel (Bitmap &rBitmap)
 
static TestResult checkLineJoinRound (Bitmap &rBitmap)
 
static TestResult checkLineJoinMiter (Bitmap &rBitmap)
 
static TestResult checkLineJoinNone (Bitmap &rBitmap)
 
static TestResult checkDropShape (Bitmap &rBitmap, bool aEnableAA=false)
 
static TestResult checkHalfEllipse (Bitmap &rBitmap, bool aEnableAA=false)
 
static TestResult checkClosedBezier (Bitmap &rBitmap)
 
static TestResult checkFilledAsymmetricalDropShape (Bitmap &rBitmap)
 
static TestResult checkTextLocation (Bitmap &rBitmap)
 
static TestResult checkEvenOddRuleInIntersectingRecs (Bitmap &rBitmap)
 
static TestResult checkIntersectingRecs (Bitmap &rBitmap, int aLayerNumber, Color aExpectedColor)
 
static TestResult checkOpenPolygon (Bitmap &rBitmap, bool aEnableAA=false)
 
static TestResult checkOpenBezier (Bitmap &rBitmap)
 

Additional Inherited Members

- Protected Attributes inherited from vcl::test::OutputDeviceTestCommon
ScopedVclPtr< VirtualDevicempVirtualDevice
 
tools::Rectangle maVDRectangle
 
- Static Protected Attributes inherited from vcl::test::OutputDeviceTestCommon
static const Color constBackgroundColor
 
static const Color constLineColor
 
static const Color constFillColor
 

Detailed Description

Definition at line 108 of file outputdevice.hxx.

Constructor & Destructor Documentation

◆ OutputDeviceTestBitmap()

vcl::test::OutputDeviceTestBitmap::OutputDeviceTestBitmap ( )
default

Member Function Documentation

◆ checkBitmapExWithAlpha()

static TestResult vcl::test::OutputDeviceTestBitmap::checkBitmapExWithAlpha ( Bitmap rBitmap)
static

◆ checkBlend()

static TestResult vcl::test::OutputDeviceTestBitmap::checkBlend ( const BitmapEx rBitmap)
static

◆ checkComplexTransformedBitmap()

static TestResult vcl::test::OutputDeviceTestBitmap::checkComplexTransformedBitmap ( Bitmap rBitmap)
static

◆ checkMask()

static TestResult vcl::test::OutputDeviceTestBitmap::checkMask ( Bitmap rBitmap)
static

◆ checkTransformedBitmap()

static TestResult vcl::test::OutputDeviceTestBitmap::checkTransformedBitmap ( Bitmap rBitmap)
static

◆ checkTransformedBitmap8bppGreyScale()

static TestResult vcl::test::OutputDeviceTestBitmap::checkTransformedBitmap8bppGreyScale ( Bitmap rBitmap)
static

◆ setupComplexDrawTransformedBitmap()

Bitmap vcl::test::OutputDeviceTestBitmap::setupComplexDrawTransformedBitmap ( vcl::PixelFormat  aBitmapFormat,
bool  isBitmapGreyScale = false 
)

◆ setupDrawBitmap()

Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawBitmap ( vcl::PixelFormat  aBitmapFormat,
bool  isBitmapGreyScale = false 
)

◆ setupDrawBitmapExWithAlpha()

Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawBitmapExWithAlpha ( vcl::PixelFormat  aBitmapFormat)

◆ setupDrawBlend()

BitmapEx vcl::test::OutputDeviceTestBitmap::setupDrawBlend ( vcl::PixelFormat  aBitmapFormat)

◆ setupDrawMask()

Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawMask ( vcl::PixelFormat  aBitmapFormat)

◆ setupDrawTransformedBitmap()

Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawTransformedBitmap ( vcl::PixelFormat  aBitmapFormat,
bool  isBitmapGreyScale = false 
)

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