LibreOffice Module vcl (master) 1
Classes | Typedefs
scoped_gdi.hxx File Reference
#include <win/svsys.h>
#include <win/wincomp.hxx>
#include <win/saldata.hxx>
#include <memory>
Include dependency graph for scoped_gdi.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GDIDeleter< H, DeleterFunc >
 
class  ScopedSelectedGDI< ScopedH, SelectorFunc >
 
class  ScopedCachedHDC< ID >
 

Typedefs

template<typename H , auto DeleterFunc>
using ScopedGDI = std::unique_ptr< H, GDIDeleter< H, DeleterFunc > >
 
using ScopedHBRUSH = ScopedGDI< HBRUSH, DeleteBrush >
 
using ScopedHRGN = ScopedGDI< HRGN, DeleteRegion >
 
using ScopedHDC = ScopedGDI< HDC, DeleteDC >
 
using ScopedHPEN = ScopedGDI< HPEN, DeletePen >
 
using ScopedHFONT = ScopedGDI< HFONT, DeleteFont >
 
using ScopedHBITMAP = ScopedGDI< HBITMAP, DeleteBitmap >
 
using ScopedSelectedHPEN = ScopedSelectedGDI< ScopedHPEN, SelectPen >
 
using ScopedSelectedHFONT = ScopedSelectedGDI< ScopedHFONT, SelectFont >
 
using ScopedSelectedHBRUSH = ScopedSelectedGDI< ScopedHBRUSH, SelectBrush >
 

Typedef Documentation

◆ ScopedGDI

template<typename H , auto DeleterFunc>
using ScopedGDI = std::unique_ptr<H, GDIDeleter<H, DeleterFunc> >

Definition at line 25 of file scoped_gdi.hxx.

◆ ScopedHBITMAP

Definition at line 32 of file scoped_gdi.hxx.

◆ ScopedHBRUSH

Definition at line 27 of file scoped_gdi.hxx.

◆ ScopedHDC

using ScopedHDC = ScopedGDI<HDC, DeleteDC>

Definition at line 29 of file scoped_gdi.hxx.

◆ ScopedHFONT

using ScopedHFONT = ScopedGDI<HFONT, DeleteFont>

Definition at line 31 of file scoped_gdi.hxx.

◆ ScopedHPEN

using ScopedHPEN = ScopedGDI<HPEN, DeletePen>

Definition at line 30 of file scoped_gdi.hxx.

◆ ScopedHRGN

Definition at line 28 of file scoped_gdi.hxx.

◆ ScopedSelectedHBRUSH

Definition at line 54 of file scoped_gdi.hxx.

◆ ScopedSelectedHFONT

Definition at line 53 of file scoped_gdi.hxx.

◆ ScopedSelectedHPEN

Definition at line 52 of file scoped_gdi.hxx.