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

#include <outputdevice.hxx>

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

Public Member Functions

 OutputDeviceTestRect ()=default
 
Bitmap setupRectangle (bool bEnableAA)
 
Bitmap setupFilledRectangle ()
 
- Public Member Functions inherited from vcl::test::OutputDeviceTestCommon
 OutputDeviceTestCommon ()
 
void initialSetup (long nWidth, long nHeight, Color aColor, bool bEnableAA=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)
 
static TestResult checkLines (Bitmap &rBitmap)
 
static TestResult checkAALines (Bitmap &rBitmap)
 
static TestResult checkDiamond (Bitmap &rBitmap)
 
static TestResult checkRectangles (Bitmap &rBitmap, std::vector< Color > &aExpectedColors)
 
static void createDiamondPoints (tools::Rectangle rRect, int nOffset, Point &rPoint1, Point &rPoint2, Point &rPoint3, Point &rPoint4)
 
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)
 
- 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 136 of file outputdevice.hxx.

Constructor & Destructor Documentation

vcl::test::OutputDeviceTestRect::OutputDeviceTestRect ( )
default

Member Function Documentation

Bitmap vcl::test::OutputDeviceTestRect::setupFilledRectangle ( )
Bitmap vcl::test::OutputDeviceTestRect::setupRectangle ( bool  bEnableAA)

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