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

#include <outputdevice.hxx>

Inheritance diagram for vcl::test::OutputDeviceTestClip:
Collaboration diagram for vcl::test::OutputDeviceTestClip:

Public Member Functions

Bitmap setupClipRectangle ()
Bitmap setupClipPolygon ()
Bitmap setupClipPolyPolygon ()
Bitmap setupClipB2DPolyPolygon ()
- 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 checkClip (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 295 of file outputdevice.hxx.

Member Function Documentation

◆ checkClip()

static TestResult vcl::test::OutputDeviceTestClip::checkClip ( Bitmap rBitmap)

◆ setupClipB2DPolyPolygon()

Bitmap vcl::test::OutputDeviceTestClip::setupClipB2DPolyPolygon ( )

◆ setupClipPolygon()

Bitmap vcl::test::OutputDeviceTestClip::setupClipPolygon ( )

◆ setupClipPolyPolygon()

Bitmap vcl::test::OutputDeviceTestClip::setupClipPolyPolygon ( )

◆ setupClipRectangle()

Bitmap vcl::test::OutputDeviceTestClip::setupClipRectangle ( )

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