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/.
13 #include <vcl/dllapi.h>
15 enum class GestureEventZoomType
22 class VCL_DLLPUBLIC GestureEventZoom
28 GestureEventZoomType meEventType
= GestureEventZoomType::Begin
;
30 // The difference of between the current gesture scale and the scale at the beginning of the
32 double mfScaleDelta
= 0;
34 GestureEventZoom() = default;
36 GestureEventZoom(sal_Int32 nX
, sal_Int32 nY
, GestureEventZoomType eEventType
,
40 , meEventType(eEventType
)
41 , mfScaleDelta(fScaleDelta
)
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */