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
9bool KoZoomState::operator==(const KoZoomState &other) const {
10 return mode == other.mode &&
11 qFuzzyCompare(zoom, other.zoom) &&
14}
KoZoomMode::Mode mode
Definition KoZoomState.h:24
bool operator==(const KoZoomState &other) const
qreal maxZoom
Definition KoZoomState.h:27
qreal minZoom
Definition KoZoomState.h:26
static bool qFuzzyCompare(half p1, half p2)