Beispiel #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()
Beispiel #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()
Beispiel #3
0
	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)
Beispiel #4
0
	def unhilight (self, id = None):
		"Apaga o 'destaque' do ponto"
		if id == None: id = self.hi
		control.plot_delete (id)
Beispiel #5
0
 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)
Beispiel #6
0
 def unhilight(self, id=None):
     "Apaga o 'destaque' do ponto"
     if id == None: id = self.hi
     control.plot_delete(id)
Beispiel #7
0
	def hide (self, id=None):
		"apaga o segmento de reta da tela"
		if id == None: id = self.lid
		control.plot_delete (id)
Beispiel #8
0
	def hide (self, id=None):
		"apaga o segmento de reta da tela"
		if id == None: id = self.lid
		control.plot_delete (id)