Krita Source Code Documentation
Loading...
Searching...
No Matches
KoViewTransformStillPoint.h
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
#ifndef KOVIEWTRANSFORMSTILLPOINT_H
8
#define KOVIEWTRANSFORMSTILLPOINT_H
9
10
#include <kritaflake_export.h>
11
#include <QPointF>
12
#include <utility>
13
14
class
KisCoordinatesConverter
;
15
33
class
KRITAFLAKE_EXPORT
KoViewTransformStillPoint
:
public
std::pair<QPointF, QPointF>
34
{
35
public
:
36
KoViewTransformStillPoint
() =
default
;
37
KoViewTransformStillPoint
(
const
QPointF &docPoint,
const
QPointF &viewPoint);
38
KoViewTransformStillPoint
(
const
std::pair<QPointF, QPointF> &rhs);
39
40
KoViewTransformStillPoint
(
const
KoViewTransformStillPoint
&rhs) =
default
;
41
KoViewTransformStillPoint
(
KoViewTransformStillPoint
&&rhs) =
default
;
42
KoViewTransformStillPoint
&
operator=
(
const
KoViewTransformStillPoint
&rhs) =
default
;
43
KoViewTransformStillPoint
&
operator=
(
KoViewTransformStillPoint
&&rhs) =
default
;
44
45
QPointF docPoint()
const
;
46
QPointF viewPoint()
const
;
47
};
48
49
KRITAFLAKE_EXPORT QDebug
operator<<
(QDebug dbg,
const
KoViewTransformStillPoint
&point);
50
51
#endif
// KOVIEWTRANSFORMSTILLPOINT_H
operator<<
KRITAFLAKE_EXPORT QDebug operator<<(QDebug dbg, const KoViewTransformStillPoint &point)
Definition
KoViewTransformStillPoint.cpp:28
KisCoordinatesConverter
Definition
kis_coordinates_converter.h:49
KoViewTransformStillPoint
Definition
KoViewTransformStillPoint.h:34
KoViewTransformStillPoint::KoViewTransformStillPoint
KoViewTransformStillPoint(const KoViewTransformStillPoint &rhs)=default
KoViewTransformStillPoint::operator=
KoViewTransformStillPoint & operator=(KoViewTransformStillPoint &&rhs)=default
KoViewTransformStillPoint::KoViewTransformStillPoint
KoViewTransformStillPoint(KoViewTransformStillPoint &&rhs)=default
KoViewTransformStillPoint::KoViewTransformStillPoint
KoViewTransformStillPoint()=default
KoViewTransformStillPoint::operator=
KoViewTransformStillPoint & operator=(const KoViewTransformStillPoint &rhs)=default
libs
flake
KoViewTransformStillPoint.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52