
Lib_canvas
    

---

 
copyarea(x_src: integer, y_src: integer, width: integer, height: integer, x_dest: integer, y_dest: integer, anchor: integer);
 -     width   height, 
    (xs, ys)    
   (xd, yd)

setgrayscale(anchor: integer);
 -    , 
       (0-255)

translate(x_src: integer, y_src: integer);
 -      (x, y).
         

gettranslatex: integer;
 -  X   

gettranslatey: integer;
 -  Y   

rotate_image_from_image(image: image, x: integer, y: integer, width: integer, height: integer, transform: integer): image;
 -          
   x, y -   
   width, height -     
   trans -  ,   :
     0 -   
     5 -   90 
     3 -   180 
     6 -   270 
     2 -  
     7 -      90 
     1 -      180 
     4 -      270 

resize_image(temp: image, newX: integer, newY: integer): image;
 -    im. 
         .
   width, height -     .

