LCOV - code coverage report
Current view: top level - include/drawinglayer/primitive2d - openglprimitive2d.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 2 0.0 %
Date: 2014-04-14 Functions: 0 3 0.0 %
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_DRAWINGLAYER_PRIMITIVE2D_OPENGL_PRIMITIVE2D_HXX
      11             : #define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_OPENGL_PRIMITIVE2D_HXX
      12             : 
      13             : #include <tools/gen.hxx>
      14             : #include <drawinglayer/primitive2d/baseprimitive2d.hxx>
      15             : 
      16             : namespace drawinglayer {
      17             : namespace primitive2d {
      18             : 
      19             : /// Primitive to hold data necessary for openGL objects
      20           0 : class DRAWINGLAYER_DLLPUBLIC OpenGLPrimitive2D : public BasePrimitive2D
      21             : {
      22             : public:
      23             :     explicit OpenGLPrimitive2D(const Point& rPos);
      24             : 
      25           0 :     const Point& getPos() const { return m_aPos; }
      26             : 
      27             :     virtual bool operator==( const BasePrimitive2D& rPrimitive ) const SAL_OVERRIDE;
      28             : 
      29             :     /// provide unique ID
      30             :     DeclPrimitive2DIDBlock()
      31             : 
      32             : private:
      33             :     Point m_aPos;
      34             : };
      35             : 
      36             : } // namespace primitive2d
      37             : } // namespace drawinglayer
      38             : 
      39             : #endif
      40             : 
      41             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10