chalk

kis_types.h
1/*
2 * Copyright (c) 2002 Patrick Julien <freak@codepimps.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18#ifndef KISTYPES_H_
19#define KISTYPES_H_
20
21#include <tqvaluevector.h>
22#include <tqmap.h>
23#include <tqpoint.h>
24
25#include <ksharedptr.h>
26
27#include "kis_shared_ptr_vector.h"
28
36
37class KisImage;
38typedef TDESharedPtr<KisImage> KisImageSP;
39
40class KisPaintDevice;
41typedef TDESharedPtr<KisPaintDevice> KisPaintDeviceSP;
42typedef KisSharedPtrVector<KisPaintDevice> vKisPaintDeviceSP;
43typedef vKisPaintDeviceSP::iterator vKisPaintDeviceSP_it;
44typedef vKisPaintDeviceSP::const_iterator vKisPaintDeviceSP_cit;
45
46class KisLayer;
47typedef TDESharedPtr<KisLayer> KisLayerSP;
48typedef KisSharedPtrVector<KisLayer> vKisLayerSP;
49typedef vKisLayerSP::iterator vKisLayerSP_it;
50typedef vKisLayerSP::const_iterator vKisLayerSP_cit;
51
52class KisPartLayer;
53typedef TDESharedPtr<KisPartLayer> KisPartLayerSP;
54
55class KisPaintLayer;
56typedef TDESharedPtr<KisPaintLayer> KisPaintLayerSP;
57
59typedef TDESharedPtr<KisAdjustmentLayer> KisAdjustmentLayerSP;
60
61class KisGroupLayer;
62typedef TDESharedPtr<KisGroupLayer> KisGroupLayerSP;
63
64class KisSelection;
65typedef TDESharedPtr<KisSelection> KisSelectionSP;
66
67class KisBackground;
68typedef TDESharedPtr<KisBackground> KisBackgroundSP;
69
70class KisSubstrate;
71typedef TDESharedPtr<KisSubstrate> KisSubstrateSP;
72
73class KisHistogram;
74typedef TDESharedPtr<KisHistogram> KisHistogramSP;
75
77typedef TDESharedPtr<KisPaintOpFactory> KisPaintOpFactorySP;
78
79typedef TQValueVector<TQPoint> vKisSegments;
80
81//class KisGuide;
82//typedef TDESharedPtr<KisGuide> KisGuideSP;
83
84class KisAlphaMask;
85typedef TDESharedPtr<KisAlphaMask> KisAlphaMaskSP;
86
87class KisFilter;
88typedef TDESharedPtr<KisFilter> KisFilterSP;
89
90#endif // KISTYPES_H_
Class that contains a KisFilter and optionally a KisSelection.
KisAlphaMask is intended to create alpha values from a TQImage for use in brush creation.
Basic interface of a Chalk filter.
Definition kis_filter.h:46
A KisLayer that bundles child layers into a single layer.
The histogram class computes the histogram data from the specified layer for the specified channel,...
Abstract class that represents the concept of a Layer in Chalk.
Definition kis_layer.h:42
A paint device contains the actual pixel data and offers methods to read and write pixels.
This layer is of a type that can be painted on.
The paintop factory is responsible for creating paintops of the specified class.
An interface for the Part Layer so that we can use it in core/, but can implement it in ui/.
KisSelection contains a byte-map representation of a layer, where the value of a byte signifies wheth...
TQValueVector does not always destroy an element when it is erased.
This abstract class defines the properties of a substrate – that is, the simulation of the paper or c...