예제 #1
0
    def hide(self):
        "Apaga o poligono na tela"
        p = self.pts
        while p.next != self.pts:
            if self.cid.has_key(p):
                control.plot_delete(self.cid[p])
                del (self.cid[p])
            p = p.next

        if self.cid.has_key(p):
            control.plot_delete(self.cid[p])
            del (self.cid[p])
        control.update()
예제 #2
0
    def hide(self):
        "Apaga o poligono na tela"
        p = self.pts
        while p.next != self.pts:
            if self.cid.has_key(p):
                control.plot_delete(self.cid[p])
                del (self.cid[p])
            p = p.next

        if self.cid.has_key(p):
            control.plot_delete(self.cid[p])
            del (self.cid[p])
        control.update()
예제 #3
0
파일: point.py 프로젝트: cfvalente/GeoComp
	def remove_lineto (self, p, id = None):
		"Apaga a linha ate o ponto p"
		if id == None: id = self.lineto_id[p]
		control.plot_delete (id)
예제 #4
0
파일: point.py 프로젝트: cfvalente/GeoComp
	def unhilight (self, id = None):
		"Apaga o 'destaque' do ponto"
		if id == None: id = self.hi
		control.plot_delete (id)
예제 #5
0
파일: point.py 프로젝트: cfvalente/GeoComp
 def remove_lineto(self, p, id=None):
     "Apaga a linha ate o ponto p"
     if id == None: id = self.lineto_id[p]
     control.plot_delete(id)
예제 #6
0
파일: point.py 프로젝트: cfvalente/GeoComp
 def unhilight(self, id=None):
     "Apaga o 'destaque' do ponto"
     if id == None: id = self.hi
     control.plot_delete(id)
예제 #7
0
파일: segment.py 프로젝트: DanLux/radarscan
	def hide (self, id=None):
		"apaga o segmento de reta da tela"
		if id == None: id = self.lid
		control.plot_delete (id)
예제 #8
0
	def hide (self, id=None):
		"apaga o segmento de reta da tela"
		if id == None: id = self.lid
		control.plot_delete (id)