update emoji autocorrect entries from po-files
[LibreOffice.git] / include / drawinglayer / primitive2d / openglprimitive2d.hxx
blob2086bcf487f188e5d4095c93d0dae8d9dde4c549
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_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
22 public:
23 explicit OpenGLPrimitive2D(const Point& rPos);
25 const Point& getPos() const { return m_aPos; }
27 virtual bool operator==( const BasePrimitive2D& rPrimitive ) const SAL_OVERRIDE;
29 /// provide unique ID
30 DeclPrimitive2DIDBlock()
32 private:
33 Point m_aPos;
36 } // namespace primitive2d
37 } // namespace drawinglayer
39 #endif
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */