StopperItem fertig, wird aber noch nicht in berechnung einbezogen

git-svn-id: http://svn.lsim.tuxzone.org/trunk@20 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-21 23:56:10 +00:00
parent f01d249e27
commit cabf7af527
18 changed files with 519 additions and 49 deletions

View File

@@ -136,3 +136,14 @@ void HomoEFieldItem::setOuterPenWidth ( double theValue ) {
if (outerPenWidth == theValue) return;
outerPenWidth = theValue;
}
bool HomoEFieldItem::contains(const QPointF point) {
mapFromScene (point);
return (
(point.x() <= boundingRect().width()) &&
(point.y() <= boundingRect().height()) &&
(point.y() >=0) &&
(point.x() >=0)
);
}