- public: void dibujar(unsigned char* data){ 
-    
-   int i=0, x1=0, y1=255; 
-   float prop; 
-   g=Graphics::FromHwnd(scope->Handle); //scope es un PictureBox 
-   
-   Pen* myPen = new Pen(Color::Red);   
-   
-   myPen->Width = 1; 
-   prop =  (float)scope->Width/TBuffer; 
-   g->ScaleTransform(prop, 1.0f );  
-   g->Clear(Color::White); 
-    
-   for (i=0; i<TBuffer; i++) //TBuffer puede ser entre 1 a 8190 
-   {    
-     g->DrawLine(myPen, x1,y1 ,i , data[i]);  
-     x1=i; 
-       y1=data[i];  
-   } 
- } 
-