Krita Source Code Documentation
Loading...
Searching...
No Matches
KoZoomState.cpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#include "
KoZoomState.h
"
8
9
bool
KoZoomState::operator==
(
const
KoZoomState
&other)
const
{
10
return
mode
== other.
mode
&&
11
qFuzzyCompare
(
zoom
, other.
zoom
) &&
12
qFuzzyCompare
(
minZoom
, other.
minZoom
) &&
13
qFuzzyCompare
(
maxZoom
, other.
maxZoom
);
14
}
KoZoomState.h
KoZoomState
Definition
KoZoomState.h:18
KoZoomState::zoom
qreal zoom
Definition
KoZoomState.h:25
KoZoomState::mode
KoZoomMode::Mode mode
Definition
KoZoomState.h:24
KoZoomState::operator==
bool operator==(const KoZoomState &other) const
Definition
KoZoomState.cpp:9
KoZoomState::maxZoom
qreal maxZoom
Definition
KoZoomState.h:27
KoZoomState::minZoom
qreal minZoom
Definition
KoZoomState.h:26
qFuzzyCompare
static bool qFuzzyCompare(half p1, half p2)
Definition
exr_converter.cc:233
libs
flake
KoZoomState.cpp
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52