Move setting of LD_LIBRARY_PATH closer to invocation of cppunittester
[LibreOffice.git] / include / vcl / GestureEventRotate.hxx
blob39f4b310f9733e84a0b5b71a6600dd286e841d7e
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/.
9 */
11 #pragma once
13 #include <vcl/dllapi.h>
15 enum class GestureEventRotateType
17 Begin,
18 Update,
19 End
22 class VCL_DLLPUBLIC GestureEventRotate
24 public:
25 sal_Int32 mnX = 0;
26 sal_Int32 mnY = 0;
28 GestureEventRotateType meEventType = GestureEventRotateType::Begin;
30 // The difference of between the current gesture scale and the scale at the beginning of the
31 // gesture.
32 double mfAngleDelta = 0;
34 GestureEventRotate() = default;
36 GestureEventRotate(sal_Int32 nInitialX, sal_Int32 nInitialY, GestureEventRotateType eEventType,
37 double fAngleDelta)
38 : mnX(nInitialX)
39 , mnY(nInitialY)
40 , meEventType(eEventType)
41 , mfAngleDelta(fAngleDelta)
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */