| 
                     
                    
                    Add background image to library 
                      
                     Create a style for page with the image as background 
                     Create a vector style col=gold, width=2, currel=OC 
                     Create a vector style col=red, width=5, currel=OC, 
                    opacity=80 
                     Create a vector style col=maroon, width=9 currel=OL 
                     Create a line style col=blue, width=15, currel=CC, 
                    opacity=40; 
                     Create a line style col=green, width=15, currel=SC,  
                    opacity=40 
                      
                     Define a page named "pageName" with style "pageStyle"  
                      
                     Set current position to X=240, Y=150 
                     Draw line1, 150 long angle of 30 with offset of 20 
                     Draw line2, 150 long angle of 60 with offset of 20 
                     Draw line3, 130 long angle of 90 with offset of 20 
                     Draw line4, 220 long angle of 135  
                     Draw line5 , 110 long angle of 225  
                      
                     After loading show the page named "pageName"
                    
                     
                 | 
                
                     
LIB(background,"SDHC/bground.png");
 
 STYLE(pageStyle, Page) { image = background; }
 STYLE(drawStyle1, Draw) { type = Vector; col = gold; width = 2; currel=OC;}
 STYLE(drawStyle2, Draw) { type = Vector; col = red; width = 5; currel=OC; opacity=80; }
 STYLE(drawStyle3, Draw) { type = Vector; col = maroon; width = 9; currel=OC; opacity=80; }
 STYLE(drawStyle4, Draw) { type = Vector; col = blue; width = 15; currel=CC; opacity=40; }
 STYLE(drawStyle5, Draw) { type = Vector; col = green; width = 15; currel=SC; opacity=40; }
 
 PAGE(pageName, pageStyle)
 {
  POSN(240, 150);
  DRAW(line1, 150, 30, 20, drawStyle1);
  DRAW(line2, 150, 60, 20, drawStyle2);
  DRAW(line3, 130, 90, 20, drawStyle3);
  DRAW(line4, 220, 135, drawStyle4, 240, 150);
  DRAW(line5, 110, 225, drawStyle5, 240, 150);  
 }
 SHOW(pageName);
 
                 |