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

#include <outputdevice.hxx>

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

Public Member Functions

 OutputDeviceTestPolyLine ()=default
 
Bitmap setupRectangle (bool bEnableAA)
 
Bitmap setupDiamond ()
 
Bitmap setupLines ()
 
Bitmap setupAALines ()
 
Bitmap setupDropShape ()
 
Bitmap setupAADropShape ()
 
Bitmap setupHalfEllipse (bool aEnableAA=false)
 
Bitmap setupClosedBezier ()
 
Bitmap setupRectangleOnSize1028 ()
 
Bitmap setupRectangleOnSize4096 ()
 
Bitmap setupOpenPolygon ()
 
Bitmap setupOpenBezier ()
 
- 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)
 

Additional Inherited Members

- 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)
 
- 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 185 of file outputdevice.hxx.

Constructor & Destructor Documentation

◆ OutputDeviceTestPolyLine()

vcl::test::OutputDeviceTestPolyLine::OutputDeviceTestPolyLine ( )
default

Member Function Documentation

◆ setupAADropShape()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupAADropShape ( )

◆ setupAALines()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupAALines ( )

◆ setupClosedBezier()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupClosedBezier ( )

◆ setupDiamond()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupDiamond ( )

◆ setupDropShape()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupDropShape ( )

◆ setupHalfEllipse()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupHalfEllipse ( bool  aEnableAA = false)

◆ setupLines()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupLines ( )

◆ setupOpenBezier()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupOpenBezier ( )

◆ setupOpenPolygon()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupOpenPolygon ( )

◆ setupRectangle()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupRectangle ( bool  bEnableAA)

◆ setupRectangleOnSize1028()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupRectangleOnSize1028 ( )

◆ setupRectangleOnSize4096()

Bitmap vcl::test::OutputDeviceTestPolyLine::setupRectangleOnSize4096 ( )

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