src/eric7/Graphics/AssociationItem.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
182 ) 182 )
183 startP = self.__findRectIntersectionPoint(self.itemA, midA, midB) 183 startP = self.__findRectIntersectionPoint(self.itemA, midA, midB)
184 endP = self.__findRectIntersectionPoint(self.itemB, midB, midA) 184 endP = self.__findRectIntersectionPoint(self.itemB, midB, midA)
185 185
186 if startP.x() != -1 and startP.y() != -1 and endP.x() != -1 and endP.y() != -1: 186 if startP.x() != -1 and startP.y() != -1 and endP.x() != -1 and endP.y() != -1:
187 # __IGNORE_WARNING_C111__ 187 # __IGNORE_WARNING_C-111__
188 self.setPoints(startP.x(), startP.y(), endP.x(), endP.y()) 188 self.setPoints(startP.x(), startP.y(), endP.x(), endP.y())
189 189
190 def __calculateEndingPoints_rectangle(self): 190 def __calculateEndingPoints_rectangle(self):
191 r""" 191 r"""
192 Private method to calculate the ending points of the association item. 192 Private method to calculate the ending points of the association item.

eric ide

mercurial