示例#1
0
 def toprightpoint(self):
     """ return top right of window kid"""
     return towlist(list1=self.bottomrightpoint_p,
                    list2=[self.w_right, self.w_back]).subtracttowlist()
示例#2
0
 def pointcenterofparent(self):
     """ point center of window parent"""
     return towlist(self.startpoint,
                    [self.info_width_P / 2, self.info_height_p / 2
                     ]).plustracttowlist()
示例#3
0
 def topleftpoint(self):
     """ return top left of window kid"""
     return towlist(list1=self.topleftpoint_p,
                    list2=[self.w_left, self.w_front]).plustracttowlist()
示例#4
0
 def pointrightrec(self):
     """ return point rectangle on the left"""
     return towlist(self.pointcenterofparent(),
                    [self.info_width_k / 2, self.info_height_k / 2
                     ]).plustracttowlist()