LCOV - code coverage report
Current view: top level - include/vcl - rendersettings.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 4 4 100.0 %
Date: 2015-06-13 12:38:46 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : #ifndef INCLUDED_VCL_RENDERSETTINGS_HXX
      11             : #define INCLUDED_VCL_RENDERSETTINGS_HXX
      12             : 
      13             : #include <vcl/window.hxx>
      14             : #include <vcl/outdev.hxx>
      15             : #include <vcl/outdevstate.hxx>
      16             : 
      17             : namespace vcl
      18             : {
      19             : 
      20             : class VCL_DLLPUBLIC RenderSettings
      21             : {
      22             :     OutDevState maOutDevState;
      23             :     std::unique_ptr<Wallpaper> mpBackground;
      24             : 
      25             : public:
      26      267840 :     RenderSettings()
      27      267840 :     {}
      28             : 
      29      267413 :     virtual ~RenderSettings()
      30      267413 :     {}
      31             : 
      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);
      36             : 
      37             :     void PushAndApply(vcl::RenderContext& rRenderContext);
      38             :     void Apply(vcl::RenderContext& rRenderContext);
      39             : };
      40             : 
      41             : }
      42             : 
      43             : #endif // INCLUDED_VCL_RENDERSETTINGS_HXX
      44             : 
      45             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11