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 ()
 
Bitmap setupDrawBitmap ()
 
Bitmap setupDrawBitmapExWithAlpha ()
 
Bitmap setupDrawMask ()
 
- Public Member Functions inherited from vcl::test::OutputDeviceTestCommon
 OutputDeviceTestCommon ()
 
void initialSetup (long nWidth, long nHeight, Color aColor, bool bEnableAA=false)
 

Static Public Member Functions

static TestResult checkTransformedBitmap (Bitmap &rBitmap)
 
static TestResult checkBitmapExWithAlpha (Bitmap &rBitmap)
 
static TestResult checkMask (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)
 
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)
 

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

Constructor & Destructor Documentation

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

Member Function Documentation

static TestResult vcl::test::OutputDeviceTestBitmap::checkBitmapExWithAlpha ( Bitmap rBitmap)
static
static TestResult vcl::test::OutputDeviceTestBitmap::checkMask ( Bitmap rBitmap)
static
static TestResult vcl::test::OutputDeviceTestBitmap::checkTransformedBitmap ( Bitmap rBitmap)
static
Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawBitmap ( )
Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawBitmapExWithAlpha ( )
Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawMask ( )
Bitmap vcl::test::OutputDeviceTestBitmap::setupDrawTransformedBitmap ( )

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