Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_fill_interval_map_p.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_FILL_INTERVAL_MAP_P_H
8#define __KIS_FILL_INTERVAL_MAP_P_H
9
10struct KRITAIMAGE_EXPORT KisFillIntervalMap::Private {
11 typedef QMap<int, KisFillInterval> LineIntervalMap;
12 typedef QHash<int, LineIntervalMap> GlobalMap;
13
16 {
17 }
18
19 IteratorRange(LineIntervalMap::iterator _beginIt,
20 LineIntervalMap::iterator _endIt,
21 GlobalMap::iterator _rowMapIt)
22 : beginIt(_beginIt),
23 endIt(_endIt),
24 rowMapIt(_rowMapIt)
25 {
26 }
27
28 LineIntervalMap::iterator beginIt;
29 LineIntervalMap::iterator endIt;
30 GlobalMap::iterator rowMapIt;
31 };
32
34
36};
37
38
39#endif /* __KIS_FILL_INTERVAL_MAP_P_H */
IteratorRange findFirstIntersectingInterval(const KisFillInterval &interval)
QMap< int, KisFillInterval > LineIntervalMap
QHash< int, LineIntervalMap > GlobalMap
IteratorRange(LineIntervalMap::iterator _beginIt, LineIntervalMap::iterator _endIt, GlobalMap::iterator _rowMapIt)