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
15namespace vcl
16{
19{
23 bool m_bDisposed = false;
24
25public:
26 BufferDevice(const VclPtr<vcl::Window>& pWindow, vcl::RenderContext& rRenderContext);
28 void Dispose();
29
30 vcl::RenderContext* operator->();
32};
33}
34
35/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:170
Buffers drawing on a vcl::RenderContext using a VirtualDevice.
VclPtr< vcl::Window > m_pWindow
ScopedVclPtr< VirtualDevice > m_pBuffer
vcl::RenderContext & m_rRenderContext
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
bool m_bDisposed
void Dispose(const T &xInterface)
HSLColor operator*(double nFactor, const HSLColor &rRHS)