18#ifndef _KIS_BOUNDARY_H_
19#define _KIS_BOUNDARY_H_
21#include <tqvaluelist.h>
23#include <koffice_export.h>
37class KRITACORE_EXPORT KisBoundary {
40 void generateBoundary( int w, int h);
43 typedef TQPair<KisPoint, int> PointPair;
44 bool isDark(TQ_UINT8 val);
48 typedef TQValueList<PointPair> PointPairList;
49 typedef TQValueList< PointPairList > PointPairListList;
51 PointPairListList m_horSegments;
52 PointPairListList m_vertSegments;
54 friend class KisBoundaryPainter;
A paint device contains the actual pixel data and offers methods to read and write pixels.
|