public void Scanline() { Pontos[] pol = GerarPoligono(); Reta.AlocarBitmap(ret); ScanLine.Scanline(Reta.getImgDta(), pol); Reta.DesalocarBitmap(ret); pictureBox.Image = ret; imgBmp = ret; }