Example letter "L"

Figure 67 and the following code show how to combine ellipses to create the letter "L."


      TGArea letter( TGRect (0, 0, 64, 192 ) );
      letter += TGRect( 0, 128, 128, 192 );
      letter = TGEllipse(TGRect ( 24, 8, 24, 32 ) );
      letter = TGRect( 24, 20, 24, 172 );
      letter = TGEllipse(TGRect ( 24, 160, 24, 184 ) );
      letter = TGEllipse(TGRect ( 40, 8, 88, 32 ) );
      letter = TGRect( 40, 20, 88, 164 );
      letter = TGEllipse(TGRect( 40, 152, 64, 176 ) );
      letter = TGRect( 52, 152, 108, 176 );
      letter = TGEllipse( TGRect (96, 152, 120, 176 ) );
      letter = TGRect( 88, 128, 120, 164 );


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker