2
2
* Kivio - Visual Modelling and Flowcharting
3
* Copyright (C) 2000-2001 theKompany.com & Dave Marotti
3
* Copyright (C) 2000-2003 theKompany.com & Dave Marotti,
5
6
* This program is free software; you can redistribute it and/or
6
7
* modify it under the terms of the GNU General Public License
40
41
QPtrList<KivioShape> *m_pShapeList;
41
42
KivioShape *m_pSubSelection;
42
43
QPtrList<KivioConnectorTarget> *m_pConnectorTargets;
43
// QPtrList<KivioConnectorTarget> *m_pOriginalConnectorTargets;
45
45
// Offsets and scale which get reused in between
46
46
// various drawing routines. To save time and
76
76
void drawPolyline( KivioShape *, KivioIntraStencilData * );
77
77
void drawTextBox( KivioShape *, KivioIntraStencilData * );
79
bool checkCollisionArc( KivioShape *, KivioPoint * );
80
bool checkCollisionBezier( KivioShape *, KivioPoint * );
81
bool checkCollisionOpenPath( KivioShape *, KivioPoint * );
82
bool checkCollisionClosedPath( KivioShape *, KivioPoint * );
83
bool checkCollisionPie( KivioShape *, KivioPoint * );
84
bool checkCollisionEllipse( KivioShape *, KivioPoint * );
85
bool checkCollisionLineArray( KivioShape *, KivioPoint * );
86
bool checkCollisionRectangle( KivioShape *, KivioPoint * );
87
bool checkCollisionRoundRectangle( KivioShape *, KivioPoint * );
88
bool checkCollisionPolygon( KivioShape *, KivioPoint * );
89
bool checkCollisionPolyline( KivioShape *, KivioPoint * );
90
bool checkCollisionTextBox( KivioShape *, KivioPoint * );
79
bool checkCollisionArc( KivioShape *, KoPoint * );
80
bool checkCollisionBezier( KivioShape *, KoPoint * );
81
bool checkCollisionOpenPath( KivioShape *, KoPoint * );
82
bool checkCollisionClosedPath( KivioShape *, KoPoint * );
83
bool checkCollisionPie( KivioShape *, KoPoint * );
84
bool checkCollisionEllipse( KivioShape *, KoPoint * );
85
bool checkCollisionLineArray( KivioShape *, KoPoint * );
86
bool checkCollisionRectangle( KivioShape *, KoPoint * );
87
bool checkCollisionRoundRectangle( KivioShape *, KoPoint * );
88
bool checkCollisionPolygon( KivioShape *, KoPoint * );
89
bool checkCollisionPolyline( KivioShape *, KoPoint * );
90
bool checkCollisionTextBox( KivioShape *, KoPoint * );
93
93
KivioShape *locateShape( const QString & );
116
116
virtual void setBGColor(QColor);
117
117
virtual void setLineWidth(double);
118
118
virtual double lineWidth();
119
virtual void setLinePattern(int p);
120
virtual int linePattern();
121
virtual void setFillPattern(int p);
122
virtual int fillPattern();
120
124
virtual void setTextColor( QColor );
121
125
virtual void setTextFont( const QFont & );
132
136
virtual QFont textFont();
134
virtual KivioCollisionType checkForCollision( KivioPoint *, double );
138
virtual KivioCollisionType checkForCollision( KoPoint *, double );
136
140
virtual KivioConnectorTarget *connectToTarget( KivioConnectorPoint *, double );
137
141
virtual KivioConnectorTarget *connectToTarget( KivioConnectorPoint *, int );
145
149
virtual int resizeHandlePositions();
151
virtual KivioLineStyle lineStyle();
152
virtual void setLineStyle(KivioLineStyle ls);
155
Returns the name of the text box that is at @param p.
156
If there exist no text box at @param p then it returns QString::null.
158
virtual QString getTextBoxName(const KoPoint& p);
160
virtual void setText(const QString& text, const QString& name);
161
virtual QString text(const QString& name);
163
virtual void addConnectorTarget(const KoPoint&);
165
virtual bool hasTextBox() const;