def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def tag(self, g):
        self.g = g
        self.g.beginPath()
        self.g.fillText("%d, %d"%(self.x, self.y),self.x, self.y)
        self.g.stroke()