  ___________________________________355

       

if (OpenPictureDialogl->Execute())
(

Bitmap = new Graphics::TBitmap;

Bitmap->LoadFromFile(OpenPictureDialogl->FileName);

Canvas->Draw(0,0,Bitmap);

t

 Bitmap->Free,     , 
    OnDestroy.      -
          Bitmap 
      OnPaint    :

if (Bitmap != NULL) Canvas->Draw(0,0,Bitmap);

 if ,      Bitmap,
        Bitmap  .

 ,  ,         -
 .

     , , 
,    .      -
       . -
   ,    
 .     ClipRect  TRect,    -
  OnPaint  ,   . -
    :

if (Bitmap != NULL)

Canvas->CopyRect(Canvas->ClipRect,Bitmap->Canvas,Canvas->ClipRect) ;

    ClipRect,  .

5.2   

5.2.1 

5.2.1.1     

 ,       -
 ,      .  
        ,   
           -
       .

       .wav.   -
       
,   .      -
  ,       ;     -
    .

    -   -
    (MIDI).  .midi 
   .        -
  ,         
 .     ,     -
      .   
 MIDI  ,     .
 MIDI       ,    
 .bmp.       ,  

12*