Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_paint_device_debug_utils.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef __KIS_PAINT_DEVICE_DEBUG_UTILS_H
8
#define __KIS_PAINT_DEVICE_DEBUG_UTILS_H
9
10
11
class
QRect;
12
class
QString;
13
14
#include <
kis_types.h
>
15
#include <kritaimage_export.h>
16
17
void
KRITAIMAGE_EXPORT
kis_debug_save_device_incremental
(
KisPaintDeviceSP
device,
18
int
i,
19
const
QRect &rc,
20
const
QString &suffix,
const
QString &prefix);
21
31
#define KIS_DUMP_DEVICE_1(device, rc, suffix) \
32
do { \
33
static int i = -1; i++; \
34
kis_debug_save_device_incremental((device), i, (rc), (suffix), QString()); \
35
} while(0)
36
49
#define KIS_DUMP_DEVICE_2(device, rc, suffix, prefix) \
50
do { \
51
static int i = -1; i++; \
52
kis_debug_save_device_incremental((device), i, (rc), (suffix), (prefix)); \
53
} while(0)
54
55
#endif
/* __KIS_PAINT_DEVICE_DEBUG_UTILS_H */
KisSharedPtr< KisPaintDevice >
kis_debug_save_device_incremental
void KRITAIMAGE_EXPORT kis_debug_save_device_incremental(KisPaintDeviceSP device, int i, const QRect &rc, const QString &suffix, const QString &prefix)
Definition
kis_paint_device_debug_utils.cpp:15
kis_types.h
libs
image
kis_paint_device_debug_utils.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52