LibreOffice Module vcl (master)  1
bufferdevice.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #pragma once
11 
12 #include <vcl/virdev.hxx>
13 #include <vcl/window.hxx>
14 
15 namespace vcl
16 {
19 {
23  bool m_bDisposed = false;
24 
25 public:
26  BufferDevice(const VclPtr<vcl::Window>& pWindow, vcl::RenderContext& rRenderContext);
27  ~BufferDevice();
28  void Dispose();
29 
30  vcl::RenderContext* operator->();
32 };
33 }
34 
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool m_bDisposed
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
ScopedVclPtr< VirtualDevice > m_pBuffer
Buffers drawing on a vcl::RenderContext using a VirtualDevice.
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:168
VclPtr< vcl::Window > m_pWindow
HSLColor operator*(double nFactor, const HSLColor &rRHS)
void Dispose(const T &xInterface)
vcl::RenderContext & m_rRenderContext