1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_OPENGLPRIMITIVE2D_HXX
11 #define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_OPENGLPRIMITIVE2D_HXX
13 #include <tools/gen.hxx>
14 #include <drawinglayer/primitive2d/baseprimitive2d.hxx>
16 namespace drawinglayer
{
17 namespace primitive2d
{
19 /// Primitive to hold data necessary for openGL objects
20 class DRAWINGLAYER_DLLPUBLIC OpenGLPrimitive2D
: public BasePrimitive2D
23 explicit OpenGLPrimitive2D(const Point
& rPos
);
25 const Point
& getPos() const { return m_aPos
; }
27 virtual bool operator==( const BasePrimitive2D
& rPrimitive
) const SAL_OVERRIDE
;
30 DeclPrimitive2DIDBlock()
36 } // namespace primitive2d
37 } // namespace drawinglayer
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */