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

#include <outputdevice.hxx>

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

Public Member Functions

 OutputDeviceTestLine ()=default
 
Bitmap setupRectangle (bool bEnableAA)
 
Bitmap setupRectangleOnSize1028 ()
 
Bitmap setupRectangleOnSize4096 ()
 
Bitmap setupDiamond ()
 
Bitmap setupLines ()
 
Bitmap setupAALines ()
 
Bitmap setupDashedLine ()
 
Bitmap setupLineCapRound ()
 
Bitmap setupLineCapSquare ()
 
Bitmap setupLineCapButt ()
 
Bitmap setupLineJoinBevel ()
 
Bitmap setupLineJoinRound ()
 
Bitmap setupLineJoinMiter ()
 
Bitmap setupLineJoinNone ()
 
- 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 checkDashedLine (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 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 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)
 

Private Member Functions

Bitmap setupLineCap (css::drawing::LineCap lineCap)
 
Bitmap setupLineJoin (basegfx::B2DLineJoin lineJoin)
 

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

Constructor & Destructor Documentation

vcl::test::OutputDeviceTestLine::OutputDeviceTestLine ( )
default

Member Function Documentation

static TestResult vcl::test::OutputDeviceTestLine::checkDashedLine ( Bitmap rBitmap)
static
Bitmap vcl::test::OutputDeviceTestLine::setupAALines ( )
Bitmap vcl::test::OutputDeviceTestLine::setupDashedLine ( )
Bitmap vcl::test::OutputDeviceTestLine::setupDiamond ( )
Bitmap vcl::test::OutputDeviceTestLine::setupLineCap ( css::drawing::LineCap  lineCap)
private
Bitmap vcl::test::OutputDeviceTestLine::setupLineCapButt ( )
inline

Definition at line 162 of file outputdevice.hxx.

Bitmap vcl::test::OutputDeviceTestLine::setupLineCapRound ( )
inline

Definition at line 160 of file outputdevice.hxx.

Bitmap vcl::test::OutputDeviceTestLine::setupLineCapSquare ( )
inline

Definition at line 161 of file outputdevice.hxx.

Bitmap vcl::test::OutputDeviceTestLine::setupLineJoin ( basegfx::B2DLineJoin  lineJoin)
private
Bitmap vcl::test::OutputDeviceTestLine::setupLineJoinBevel ( )
inline

Definition at line 164 of file outputdevice.hxx.

References basegfx::Bevel.

Bitmap vcl::test::OutputDeviceTestLine::setupLineJoinMiter ( )
inline

Definition at line 166 of file outputdevice.hxx.

References basegfx::Miter.

Bitmap vcl::test::OutputDeviceTestLine::setupLineJoinNone ( )
inline

Definition at line 167 of file outputdevice.hxx.

References basegfx::NONE.

Bitmap vcl::test::OutputDeviceTestLine::setupLineJoinRound ( )
inline

Definition at line 165 of file outputdevice.hxx.

References basegfx::Round.

Bitmap vcl::test::OutputDeviceTestLine::setupLines ( )
Bitmap vcl::test::OutputDeviceTestLine::setupRectangle ( bool  bEnableAA)
Bitmap vcl::test::OutputDeviceTestLine::setupRectangleOnSize1028 ( )
Bitmap vcl::test::OutputDeviceTestLine::setupRectangleOnSize4096 ( )

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