Branch libreoffice-5-0-4
[LibreOffice.git] / include / vcl / rendersettings.hxx
blobf6df7215441d7aeec0e681a347f63e74373e7693
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_VCL_RENDERSETTINGS_HXX
11 #define INCLUDED_VCL_RENDERSETTINGS_HXX
13 #include <vcl/window.hxx>
14 #include <vcl/outdev.hxx>
15 #include <vcl/outdevstate.hxx>
17 namespace vcl
20 class VCL_DLLPUBLIC RenderSettings
22 OutDevState maOutDevState;
23 std::unique_ptr<Wallpaper> mpBackground;
25 public:
26 RenderSettings()
29 virtual ~RenderSettings()
32 inline void SetLineColor(const Color& rColor);
33 inline void SetFillColor(const Color& rColor);
34 inline void SetBackground(const Wallpaper& rBackground);
35 inline void SetFont(const vcl::Font& rNewFont);
37 void PushAndApply(vcl::RenderContext& rRenderContext);
38 void Apply(vcl::RenderContext& rRenderContext);
43 #endif // INCLUDED_VCL_RENDERSETTINGS_HXX
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */