/ *  
 * *   ! E x G r a p h i c s . j s  
 * /  
  
 / /   I n i t i a l i z e   g r a p h i c s   d i a l o g  
 I n i t G r a p h i c s ( 0 , 0 , 0 ) ;  
 N a m e G r a p h i c s ( " ! E x G r a p h i c s " ) ;  
 S h o w G r a p h i c s ( ) ;  
  
 / /   D r a w   s o m e   p i x e l s  
 f o r ( y = 1 0 ; y < 4 0 ; y + = 2 )   {  
       f o r ( x = 1 0 ; x < ( G e t W i d t h ( ) - 2 0 ) ; x + = 2 )   {  
             r   =   x ;  
             g   =   1 2 8 ;  
             b   =   M a t h . a b s ( x - y ) ;  
             D r a w P i x e l ( x , y , r , g , b ) ;  
             D o E v e n t s ( ) ;  
       }  
 }  
  
 / /   D r a w   s o m e   l i n e s  
 f o r ( y = 6 0 ; y < 1 0 0 ; y + = 2 )   {  
       D r a w L i n e ( 1 0 , y , G e t W i d t h ( ) - 2 0 , y , 2 5 5 , 2 * y , 1 2 8 ) ;  
 }  
  
 / /   D r a w   s o m e   r e c t a n g l e s  
 f o r ( y = 1 2 0 ; y < 1 6 0 ; y + = 5 )   {  
       D r a w R e c t ( y - 1 1 0 , y , ( y - 1 1 0 ) * 2 , y + 4 0 , 0 , 2 5 5 , 0 ) ;  
 }  
  
  
 / /   D r a w   s o m e   e l l i p s e s  
 f o r ( y = 1 2 0 ; y < 1 6 0 ; y + = 5 )   {  
       D r a w E l l i p s e ( y , y , y * 1 . 2 , y + 4 0 , 0 , 1 2 8 , 2 5 5 ) ;  
 }  
  
 / /   D r a w   s o m e   t e x t  
 S e t F o n t ( " C o u r i e r   N e w " , 1 0 ) ;  
 D r a w T e x t ( 1 0 , 2 1 0 , " C o u r i e r   N e w   1 0 " , 2 5 5 , 0 , 0 ) ;  
 S e t F o n t ( " C o u r i e r   N e w " , 1 2 ) ;  
 D r a w T e x t ( 1 0 , 2 2 0 , " C o u r i e r   N e w   1 2 " , 0 , 2 5 5 , 0 ) ;  
 S e t F o n t ( " C o u r i e r   N e w " , 1 6 ) ;  
 D r a w T e x t ( 1 0 , 2 3 0 , " C o u r i e r   N e w   1 6 " , 0 , 0 , 2 5 5 ) ;  
  
 S e t F o n t ( " T a h o m a " , 1 0 ) ;  
 D r a w T e x t ( 1 4 0 , 2 1 0 , " T a h o m a   1 0 " , 2 5 5 , 0 , 0 ) ;  
 S e t F o n t ( " T a h o m a " , 1 2 ) ;  
 D r a w T e x t ( 1 4 0 , 2 2 0 , " T a h o m a   1 2 " , 0 , 2 5 5 , 0 ) ;  
 S e t F o n t ( " T a h o m a " , 1 6 ) ;  
 D r a w T e x t ( 1 4 0 , 2 3 0 , " T a h o m a   1 6 " , 0 , 0 , 2 5 5 ) ;  
  
 