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

#include <gdiimpl.hxx>

Inheritance diagram for SkiaCompatibleDC:
[legend]
Collaboration diagram for SkiaCompatibleDC:
[legend]

Public Member Functions

 SkiaCompatibleDC (SalGraphics &rGraphics, int x, int y, int width, int height)
 
sk_sp< SkImage > getAsImageDiff (const SkiaCompatibleDC &white) const
 
- Public Member Functions inherited from CompatibleDC
virtual ~CompatibleDC ()
 
HDC getCompatibleHDC ()
 
SalTwoRect getTwoRect () const
 
tools::Long getBitmapWidth () const
 
tools::Long getBitmapHeight () const
 
void fill (sal_uInt32 color)
 Reset the DC with the defined color. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CompatibleDC
static std::unique_ptr< CompatibleDCcreate (SalGraphics &rGraphics, int x, int y, int width, int height)
 
- Protected Member Functions inherited from CompatibleDC
 CompatibleDC (SalGraphics &rGraphics, int x, int y, int width, int height, bool disable=true)
 
- Protected Attributes inherited from CompatibleDC
HDC mhCompatibleDC
 The compatible DC that we create for our purposes. More...
 
HBITMAP mhBitmap
 DIBSection that we use for the GDI drawing, and later obtain. More...
 
HBITMAP mhOrigBitmap
 Return the previous bitmap to undo the SelectObject. More...
 
sal_uInt32 * mpData
 DIBSection data. More...
 
SalTwoRect maRects
 Mapping between the GDI position and OpenGL, to use for OpenGL drawing. More...
 
WinSalGraphicsImplBasempImpl
 The SalGraphicsImpl where we will draw. If null, we ignore the drawing, it means it happened directly to the DC... More...
 

Detailed Description

Definition at line 33 of file win/gdiimpl.hxx.

Constructor & Destructor Documentation

◆ SkiaCompatibleDC()

SkiaCompatibleDC::SkiaCompatibleDC ( SalGraphics rGraphics,
int  x,
int  y,
int  width,
int  height 
)

Member Function Documentation

◆ getAsImageDiff()

sk_sp< SkImage > SkiaCompatibleDC::getAsImageDiff ( const SkiaCompatibleDC white) const

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