You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
618 B
41 lines
618 B
14 years ago
|
/*
|
||
|
* UBStroke.h
|
||
|
*
|
||
|
* Created on: 28 sept. 2009
|
||
|
* Author: Luc
|
||
|
*/
|
||
|
|
||
|
#ifndef UBGRAPHICSSTROKE_H_
|
||
|
#define UBGRAPHICSSTROKE_H_
|
||
|
|
||
|
#include <QtGui>
|
||
|
|
||
|
#include "core/UB.h"
|
||
|
|
||
|
|
||
|
class UBGraphicsPolygonItem;
|
||
|
|
||
|
class UBGraphicsStroke
|
||
|
{
|
||
|
public:
|
||
|
UBGraphicsStroke();
|
||
|
virtual ~UBGraphicsStroke();
|
||
|
|
||
|
bool hasPressure();
|
||
|
|
||
|
void addPolygon(UBGraphicsPolygonItem* pol);
|
||
|
|
||
|
QList<UBGraphicsPolygonItem*> polygons() const;
|
||
|
|
||
|
UBGraphicsStroke *deepCopy();
|
||
|
|
||
|
bool hasAlpha() const;
|
||
|
|
||
|
private:
|
||
|
|
||
|
QList<UBGraphicsPolygonItem*> mPolygons;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif /* UBGRAPHICSSTROKE_H_ */
|