Logo 
Search:

C++ Programming Articles

Submit Article
Home » Articles » C++ Programming » Computer GraphicsRSS Feeds

Program to show the Urdu Alphabets using Stroke Method

Posted By: Easy Tutor     Category: C++ Programming     Views: 2445

Write a program to show the Urdu Alphabets using Stroke Method.

Code for Program to show the Urdu Alphabets using Stroke Method in C++ Programming

 # include <iostream.h>
 # include <graphics.h>
 # include    <conio.h>
 # include     <math.h>

 void show_screen( );

 void Alif_mad_aa(constint,constint);
 void Alif(constint,constint);
 void Bae(constint,constint);
 void Pae(constint,constint);
 void Tae(constint,constint);
 void Tay(constint,constint);
 void Sae(constint,constint);
 void Jeem(constint,constint);
 void Chae(constint,constint);
 void Hae(constint,constint);
 void Khae(constint,constint);
 void Daal(constint,constint);
 void Daaal(constint,constint);
 void Zaal(constint,constint);
 void Rae(constint,constint);
 void Arae(constint,constint);
 void Zae(constint,constint);
 void Say(constint,constint);
 void Seen(constint,constint);
 void Sheen(constint,constint);
 void Swat(constint,constint);
 void Zwat(constint,constint);
 void Tuawn(constint,constint);
 void Zuawn(constint,constint);
 void Ayan(constint,constint);
 void Gyan(constint,constint);
 void Fae(constint,constint);
 void Qaaf(constint,constint);
 void Kaaaf(constint,constint);
 void Kaaf(constint,constint);
 void Ghaf(constint,constint);
 void Laam(constint,constint);
 void Meem(constint,constint);
 void Noon(constint,constint);
 void Waoo(constint,constint);
 void Haae(constint,constint);
 void Hamza(constint,constint);
 void Choti_yae(constint,constint);
 void Barri_yae(constint,constint);

 void Line(constint,constint,constint,constint);
 void Polygon(constint,constint []);

 int main( )
    {
       int driver=VGA;
       int mode=VGAHI;

       initgraph(&driver,&mode,"..\\Bgi");

       show_screen( );

       setcolor(7);
     Line(50,140,585,140);
     Line(50,220,585,220);
     Line(50,300,585,300);
     Line(50,380,585,380);

       setcolor(15);
     Alif_mad_aa(560,138);
     Alif(520,138);
     Bae(490,138);
     Pae(440,138);
     Tae(390,138);
     Tay(340,138);
     Sae(290,138);
     Jeem(240,138);
     Chae(190,138);
     Hae(140,138);
     Khae(90,138);

     Daal(570,218);
     Daaal(530,218);
     Zaal(490,218);
     Rae(450,218);
     Arae(410,218);
     Zae(370,218);
     Say(330,218);
     Seen(290,218);
     Sheen(240,218);
     Swat(190,218);
     Zwat(140,218);
     Tuawn(90,218);

     Zuawn(570,298);
     Ayan(530,298);
     Gyan(490,298);
     Fae(450,298);
     Qaaf(400,298);
     Kaaaf(350,298);
     Kaaf(300,298);
     Ghaf(250,298);
     Laam(200,298);
     Meem(150,298);
     Noon(100,298);

     Waoo(450,378);
     Haae(400,378);
     Hamza(350,378);
     Choti_yae(300,378);
     Barri_yae(250,378);

       getch( );
       return 0;
    }

 /*************************************************************************///--------------------------  Alif_mad_aa( )  ---------------------------///*************************************************************************/void Alif_mad_aa(constint x,constint y)
    {
       int mad_aa[42]={
            (x-5),(y-28) , (x-4),(y-29) , (x-3),(y-29) ,
            x,(y-32) , (x-1),(y-32) , (x-3),(y-30) ,
            (x-9),(y-30) , (x-10),(y-31) , (x-11),(y-31) ,
            (x-12),(y-32) , (x-14),(y-32) , (x-15),(y-31) ,
            (x-16),(y-31) , (x-19),(y-28) , (x-18),(y-28) ,
            (x-16),(y-30) , (x-13),(y-30) , (x-12),(y-29) ,
            (x-10),(y-29) , (x-9),(y-28) , (x-5),(y-28)
              };

       int alif[46]={
              (x-9),y , (x-8),(y-1) , (x-8),(y-2) ,
              (x-7),(y-3) , (x-7),(y-5) , (x-6),(y-6) ,
              (x-6),(y-12) , (x-7),(y-13) , (x-7),(y-17) ,
              (x-8),(y-18) , (x-8),(y-25) , (x-9),(y-25) ,
              (x-10),(y-24) , (x-10),(y-23) , (x-11),(y-22) ,
              (x-11),(y-21) , (x-12),(y-20) , (x-12),(y-17) ,
              (x-11),(y-16) , (x-11),(y-12) , (x-10),(y-11) ,
              (x-10),y , (x-9),y
            };

       Polygon(21,mad_aa);
       Polygon(23,alif);
    }

 /*************************************************************************///-------------------------------  Alif( )  ----------------------------///*************************************************************************/void Alif(constint x,constint y)
    {
       int alif[46]={
              (x-3),y , (x-2),(y-1) , (x-2),(y-2) ,
              (x-1),(y-3) , (x-1),(y-5) , x,(y-6) ,
              x,(y-12) , (x-1),(y-13) , (x-1),(y-17) ,
              (x-2),(y-18) , (x-2),(y-25) , (x-3),(y-25) ,
              (x-4),(y-24) , (x-4),(y-23) , (x-5),(y-22) ,
              (x-5),(y-21) , (x-6),(y-20) , (x-6),(y-17) ,
              (x-5),(y-16) , (x-5),(y-12) , (x-4),(y-11) ,
              (x-4),y , (x-3),y
            };

       Polygon(23,alif);
    }

 /*************************************************************************///-------------------------------  Bae( )  ------------------------------///*************************************************************************/void Bae(constint x,constint y)
    {
       int bae[54]={
             (x-1),y , x,(y-1) , x,(y-9) ,
             (x-1),(y-10) , (x-1),(y-12) , (x-2),(y-13) ,
             (x-2),(y-14) , (x-3),(y-14) , (x-4),(y-13) ,
             (x-4),(y-12) , (x-5),(y-11) , (x-5),(y-9) ,
             (x-3),(y-6) , (x-23),(y-6) , (x-26),(y-9) ,
             (x-26),(y-11) , (x-25),(y-12) , (x-25),(y-14) ,
             (x-26),(y-14) , (x-27),(y-13) , (x-27),(y-12) ,
             (x-28),(y-11) , (x-28),(y-4) , (x-25),(y-1) ,
             (x-24),(y-1) , (x-23),y , (x-1),y
           };

       int dot[14]={
             (x-12),(y+8) , (x-10),(y+6) , (x-12),(y+4) ,
             (x-13),(y+4) , (x-15),(y+6) , (x-13),(y+8) ,
             (x-12),(y+8)
           };

       Polygon(27,bae);
       Polygon(7,dot);
    }

 /*************************************************************************///-------------------------------  Pae( )  ------------------------------///*************************************************************************/void Pae(constint x,constint y)
    {
       int pae[54]={
             (x-1),y , x,(y-1) , x,(y-9) ,
             (x-1),(y-10) , (x-1),(y-12) , (x-2),(y-13) ,
             (x-2),(y-14) , (x-3),(y-14) , (x-4),(y-13) ,
             (x-4),(y-12) , (x-5),(y-11) , (x-5),(y-9) ,
             (x-3),(y-6) , (x-23),(y-6) , (x-26),(y-9) ,
             (x-26),(y-11) , (x-25),(y-12) , (x-25),(y-14) ,
             (x-26),(y-14) , (x-27),(y-13) , (x-27),(y-12) ,
             (x-28),(y-11) , (x-28),(y-4) , (x-25),(y-1) ,
             (x-24),(y-1) , (x-23),y , (x-1),y
           };

       int dot_1[14]={
               (x-9),(y+8) , (x-7),(y+6) , (x-9),(y+4) ,
               (x-10),(y+4) , (x-12),(y+6) , (x-10),(y+8) ,
               (x-9),(y+8)
             };

       int dot_2[14]={
               (x-15),(y+8) , (x-13),(y+6) , (x-15),(y+4) ,
               (x-16),(y+4) , (x-18),(y+6) , (x-16),(y+8) ,
               (x-15),(y+8)
             };

       int dot_3[14]={
               (x-12),(y+13) , (x-10),(y+11) , (x-12),(y+9) ,
               (x-13),(y+9) , (x-15),(y+11) , (x-13),(y+13) ,
               (x-12),(y+13)
             };

       Polygon(27,pae);
       Polygon(7,dot_1);
       Polygon(7,dot_2);
       Polygon(7,dot_3);
    }

 /*************************************************************************///-------------------------------  Tae( )  ------------------------------///*************************************************************************/void Tae(constint x,constint y)
    {
       int tae[54]={
             (x-1),y , x,(y-1) , x,(y-9) ,
             (x-1),(y-10) , (x-1),(y-12) , (x-2),(y-13) ,
             (x-2),(y-14) , (x-3),(y-14) , (x-4),(y-13) ,
             (x-4),(y-12) , (x-5),(y-11) , (x-5),(y-9) ,
             (x-3),(y-6) , (x-23),(y-6) , (x-26),(y-9) ,
             (x-26),(y-11) , (x-25),(y-12) , (x-25),(y-14) ,
             (x-26),(y-14) , (x-27),(y-13) , (x-27),(y-12) ,
             (x-28),(y-11) , (x-28),(y-4) , (x-25),(y-1) ,
             (x-24),(y-1) , (x-23),y , (x-1),y
           };

       int dot_1[14]={
               (x-11),(y-16) , (x-9),(y-14) , (x-11),(y-12) ,
               (x-12),(y-12) , (x-14),(y-14) , (x-12),(y-16) ,
               (x-11),(y-16)
             };

       int dot_2[14]={
               (x-17),(y-16) , (x-15),(y-14) , (x-17),(y-12) ,
               (x-18),(y-12) , (x-20),(y-14) , (x-18),(y-16) ,
               (x-17),(y-16)
             };

       Polygon(27,tae);
       Polygon(7,dot_1);
       Polygon(7,dot_2);
    }

 /*************************************************************************///-------------------------------  Tay( )  ------------------------------///*************************************************************************/void Tay(constint x,constint y)
    {
       int tay[54]={
             (x-1),y , x,(y-1) , x,(y-9) ,
             (x-1),(y-10) , (x-1),(y-12) , (x-2),(y-13) ,
             (x-2),(y-14) , (x-3),(y-14) , (x-4),(y-13) ,
             (x-4),(y-12) , (x-5),(y-11) , (x-5),(y-9) ,
             (x-3),(y-6) , (x-23),(y-6) , (x-26),(y-9) ,
             (x-26),(y-11) , (x-25),(y-12) , (x-25),(y-14) ,
             (x-26),(y-14) , (x-27),(y-13) , (x-27),(y-12) ,
             (x-28),(y-11) , (x-28),(y-4) , (x-25),(y-1) ,
             (x-24),(y-1) , (x-23),y , (x-1),y
           };

       int toayn[20]={
              (x-12),(y-14) , (x-11),(y-15) , (x-11),(y-17) ,
              (x-12),(y-18) , (x-13),(y-19) , (x-10),(y-24) ,
              (x-11),(y-24) , (x-17),(y-15) , (x-17),(y-14) ,
              (x-12),(y-14)
            };

       int toayn_hole[10]={
                 (x-13),(y-16) , (x-13),(y-17) , (x-14),(y-17) ,
                 (x-14),(y-16) , (x-13),(y-16)
              };

       Polygon(10,toayn);
       Polygon(5,toayn_hole);
       Polygon(27,tay);
    }

 /*************************************************************************///-------------------------------  Sae( )  ------------------------------///*************************************************************************/void Sae(constint x,constint y)
    {
       int sae[54]={
             (x-1),y , x,(y-1) , x,(y-9) ,
             (x-1),(y-10) , (x-1),(y-12) , (x-2),(y-13) ,
             (x-2),(y-14) , (x-3),(y-14) , (x-4),(y-13) ,
             (x-4),(y-12) , (x-5),(y-11) , (x-5),(y-9) ,
             (x-3),(y-6) , (x-23),(y-6) , (x-26),(y-9) ,
             (x-26),(y-11) , (x-25),(y-12) , (x-25),(y-14) ,
             (x-26),(y-14) , (x-27),(y-13) , (x-27),(y-12) ,
             (x-28),(y-11) , (x-28),(y-4) , (x-25),(y-1) ,
             (x-24),(y-1) , (x-23),y , (x-1),y
           };

       int dot_1[14]={
               (x-11),(y-16) , (x-9),(y-14) , (x-11),(y-12) ,
               (x-12),(y-12) , (x-14),(y-14) , (x-12),(y-16) ,
               (x-11),(y-16)
             };

       int dot_2[14]={
               (x-17),(y-16) , (x-15),(y-14) , (x-17),(y-12) ,
               (x-18),(y-12) , (x-20),(y-14) , (x-18),(y-16) ,
               (x-17),(y-16)
             };

       int dot_3[14]={
               (x-14),(y-21) , (x-12),(y-19) , (x-14),(y-17) ,
               (x-15),(y-17) , (x-17),(y-19) , (x-15),(y-21) ,
               (x-14),(y-21)
             };

       Polygon(27,sae);
       Polygon(7,dot_1);
       Polygon(7,dot_2);
       Polygon(7,dot_3);
    }

 /*************************************************************************///------------------------------  Jeem( )  ------------------------------///*************************************************************************/void Jeem(constint x,constint y)
    {
       int jeem[110]={
               (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
               (x-3),(y-2) , (x-2),(y-2) , x,(y-4) ,
               x,(y-6) , (x-2),(y-6) , (x-3),(y-5) ,
               (x-4),(y-5) , (x-5),(y-4) , (x-13),(y-4) ,
               (x-14),(y-5) , (x-16),(y-5) , (x-17),(y-6) ,
               (x-18),(y-6) , (x-21),(y-9) , (x-21),(y-10) ,
               (x-22),(y-11) , (x-22),(y-13) , (x-21),(y-14) ,
               (x-21),(y-15) , (x-17),(y-19) , (x-16),(y-19) ,
               (x-15),(y-20) , (x-13),(y-20) , (x-12),(y-21) ,
               (x-9),(y-21) , (x-8),(y-22) , (x-4),(y-22) ,
               (x-4),(y-23) , (x-3),(y-24) , (x-3),(y-25) ,
               (x-2),(y-26) , (x-2),(y-27) , (x-21),(y-27) ,
               (x-25),(y-23) , (x-25),(y-21) , (x-23),(y-21) ,
               (x-22),(y-22) , (x-20),(y-22) , (x-20),(y-23) ,
               (x-17),(y-23) , (x-24),(y-16) , (x-24),(y-15) ,
               (x-25),(y-14) , (x-25),(y-7) , (x-24),(y-6) ,
               (x-24),(y-5) , (x-21),(y-2) , (x-20),(y-2) ,
               (x-19),(y-1) , (x-18),(y-1) , (x-17),y ,
               (x-6),y
             };

       int dot[14]={
             (x-10),(y-14) , (x-8),(y-12) , (x-10),(y-10) ,
             (x-11),(y-10) , (x-13),(y-12) , (x-11),(y-14) ,
             (x-10),(y-14)
           };

       Polygon(55,jeem);
       Polygon(7,dot);
    }

 /*************************************************************************///------------------------------  Chae( )  ------------------------------///*************************************************************************/void Chae(constint x,constint y)
    {
       int chae[110]={
               (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
               (x-3),(y-2) , (x-2),(y-2) , x,(y-4) ,
               x,(y-6) , (x-2),(y-6) , (x-3),(y-5) ,
               (x-4),(y-5) , (x-5),(y-4) , (x-13),(y-4) ,
               (x-14),(y-5) , (x-16),(y-5) , (x-17),(y-6) ,
               (x-18),(y-6) , (x-21),(y-9) , (x-21),(y-10) ,
               (x-22),(y-11) , (x-22),(y-13) , (x-21),(y-14) ,
               (x-21),(y-15) , (x-17),(y-19) , (x-16),(y-19) ,
               (x-15),(y-20) , (x-13),(y-20) , (x-12),(y-21) ,
               (x-9),(y-21) , (x-8),(y-22) , (x-4),(y-22) ,
               (x-4),(y-23) , (x-3),(y-24) , (x-3),(y-25) ,
               (x-2),(y-26) , (x-2),(y-27) , (x-21),(y-27) ,
               (x-25),(y-23) , (x-25),(y-21) , (x-23),(y-21) ,
               (x-22),(y-22) , (x-20),(y-22) , (x-20),(y-23) ,
               (x-17),(y-23) , (x-24),(y-16) , (x-24),(y-15) ,
               (x-25),(y-14) , (x-25),(y-7) , (x-24),(y-6) ,
               (x-24),(y-5) , (x-21),(y-2) , (x-20),(y-2) ,
               (x-19),(y-1) , (x-18),(y-1) , (x-17),y ,
               (x-6),y
             };

       int dot_1[14]={
               (x-13),(y-16) , (x-11),(y-14) , (x-13),(y-12) ,
               (x-14),(y-12) , (x-16),(y-14) , (x-14),(y-16) ,
               (x-13),(y-16)
             };

       int dot_2[14]={
               (x-7),(y-16) , (x-5),(y-14) , (x-7),(y-12) ,
               (x-8),(y-12) , (x-10),(y-14) , (x-8),(y-16) ,
               (x-7),(y-16)
             };

       int dot_3[14]={
               (x-10),(y-11) , (x-8),(y-9) , (x-10),(y-7) ,
               (x-11),(y-7) , (x-13),(y-9) , (x-11),(y-11) ,
               (x-10),(y-11)
             };


       Polygon(55,chae);
       Polygon(7,dot_1);
       Polygon(7,dot_2);
       Polygon(7,dot_3);
    }

 /*************************************************************************///------------------------------  Hae( )  -------------------------------///*************************************************************************/void Hae(constint x,constint y)
    {
       int hae[110]={
              (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
              (x-3),(y-2) , (x-2),(y-2) , x,(y-4) ,
              x,(y-6) , (x-2),(y-6) , (x-3),(y-5) ,
              (x-4),(y-5) , (x-5),(y-4) , (x-13),(y-4) ,
              (x-14),(y-5) , (x-16),(y-5) , (x-17),(y-6) ,
              (x-18),(y-6) , (x-21),(y-9) , (x-21),(y-10) ,
              (x-22),(y-11) , (x-22),(y-13) , (x-21),(y-14) ,
              (x-21),(y-15) , (x-17),(y-19) , (x-16),(y-19) ,
              (x-15),(y-20) , (x-13),(y-20) , (x-12),(y-21) ,
              (x-9),(y-21) , (x-8),(y-22) , (x-4),(y-22) ,
              (x-4),(y-23) , (x-3),(y-24) , (x-3),(y-25) ,
              (x-2),(y-26) , (x-2),(y-27) , (x-21),(y-27) ,
              (x-25),(y-23) , (x-25),(y-21) , (x-23),(y-21) ,
              (x-22),(y-22) , (x-20),(y-22) , (x-20),(y-23) ,
              (x-17),(y-23) , (x-24),(y-16) , (x-24),(y-15) ,
              (x-25),(y-14) , (x-25),(y-7) , (x-24),(y-6) ,
              (x-24),(y-5) , (x-21),(y-2) , (x-20),(y-2) ,
              (x-19),(y-1) , (x-18),(y-1) , (x-17),y ,
              (x-6),y
            };

       Polygon(55,hae);
    }

 /*************************************************************************///------------------------------  Khae( )  ------------------------------///*************************************************************************/void Khae(constint x,constint y)
    {
       int khae[110]={
               (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
               (x-3),(y-2) , (x-2),(y-2) , x,(y-4) ,
               x,(y-6) , (x-2),(y-6) , (x-3),(y-5) ,
               (x-4),(y-5) , (x-5),(y-4) , (x-13),(y-4) ,
               (x-14),(y-5) , (x-16),(y-5) , (x-17),(y-6) ,
               (x-18),(y-6) , (x-21),(y-9) , (x-21),(y-10) ,
               (x-22),(y-11) , (x-22),(y-13) , (x-21),(y-14) ,
               (x-21),(y-15) , (x-17),(y-19) , (x-16),(y-19) ,
               (x-15),(y-20) , (x-13),(y-20) , (x-12),(y-21) ,
               (x-9),(y-21) , (x-8),(y-22) , (x-4),(y-22) ,
               (x-4),(y-23) , (x-3),(y-24) , (x-3),(y-25) ,
               (x-2),(y-26) , (x-2),(y-27) , (x-21),(y-27) ,
               (x-25),(y-23) , (x-25),(y-21) , (x-23),(y-21) ,
               (x-22),(y-22) , (x-20),(y-22) , (x-20),(y-23) ,
               (x-17),(y-23) , (x-24),(y-16) , (x-24),(y-15) ,
               (x-25),(y-14) , (x-25),(y-7) , (x-24),(y-6) ,
               (x-24),(y-5) , (x-21),(y-2) , (x-20),(y-2) ,
               (x-19),(y-1) , (x-18),(y-1) , (x-17),y ,
               (x-6),y
             };

       int dot[14]={
             (x-11),(y-34) , (x-9),(y-32) , (x-11),(y-30) ,
             (x-12),(y-30) , (x-14),(y-32) , (x-12),(y-34) ,
             (x-11),(y-34)
           };

       Polygon(55,khae);
       Polygon(7,dot);
    }

 /*************************************************************************///------------------------------  Daal( )  ------------------------------///*************************************************************************/void Daal(constint x,constint y)
    {
       int daal[60]={
              (x-4),y , (x-3),(y-1) , (x-2),(y-1) ,
              (x-1),(y-2) , (x-1),(y-3) , x,(y-4) ,
              x,(y-14) , (x-1),(y-15) , (x-1),(y-16) ,
              (x-2),(y-17) , (x-2),(y-18) , (x-6),(y-22) ,
              (x-8),(y-22) , (x-11),(y-19) , (x-11),(y-18) ,
              (x-5),(y-12) , (x-5),(y-11) , (x-4),(y-10) ,
              (x-4),(y-8) , (x-6),(y-6) , (x-7),(y-6) ,
              (x-8),(y-5) , (x-15),(y-5) , (x-18),(y-8) ,
              (x-19),(y-7) , (x-19),(y-2) , (x-18),(y-1) ,
              (x-17),(y-1) , (x-16),y , (x-4),y
            };

       Polygon(30,daal);
    }

 /*************************************************************************///-----------------------------  Daaal( )  ------------------------------///*************************************************************************/void Daaal(constint x,constint y)
    {
       int daaal[60]={
               (x-4),y , (x-3),(y-1) , (x-2),(y-1) ,
               (x-1),(y-2) , (x-1),(y-3) , x,(y-4) ,
               x,(y-14) , (x-1),(y-15) , (x-1),(y-16) ,
               (x-2),(y-17) , (x-2),(y-18) , (x-6),(y-22) ,
               (x-8),(y-22) , (x-11),(y-19) , (x-11),(y-18) ,
               (x-5),(y-12) , (x-5),(y-11) , (x-4),(y-10) ,
               (x-4),(y-8) , (x-6),(y-6) , (x-7),(y-6) ,
               (x-8),(y-5) , (x-15),(y-5) , (x-18),(y-8) ,
               (x-19),(y-7) , (x-19),(y-2) , (x-18),(y-1) ,
               (x-17),(y-1) , (x-16),y , (x-4),y
             };

       int toayn[20]={
               (x-7),(y-25) , (x-6),(y-26) , (x-6),(y-28) ,
               (x-7),(y-29) , (x-8),(y-30) , (x-5),(y-35) ,
               (x-6),(y-35) , (x-12),(y-26) , (x-12),(y-25) ,
               (x-7),(y-25)
             };

       int toayn_hole[10]={
                (x-8),(y-27) , (x-8),(y-28) , (x-9),(y-28) ,
                (x-9),(y-27) , (x-8),(y-27)
              };

       Polygon(10,toayn);
       Polygon(5,toayn_hole);
       Polygon(30,daaal);
    }

 /*************************************************************************///------------------------------  Zaal( )  ------------------------------///*************************************************************************/void Zaal(constint x,constint y)
    {
       int zaal[60]={
              (x-4),y , (x-3),(y-1) , (x-2),(y-1) ,
              (x-1),(y-2) , (x-1),(y-3) , x,(y-4) ,
              x,(y-14) , (x-1),(y-15) , (x-1),(y-16) ,
              (x-2),(y-17) , (x-2),(y-18) , (x-6),(y-22) ,
              (x-8),(y-22) , (x-11),(y-19) , (x-11),(y-18) ,
              (x-5),(y-12) , (x-5),(y-11) , (x-4),(y-10) ,
              (x-4),(y-8) , (x-6),(y-6) , (x-7),(y-6) ,
              (x-8),(y-5) , (x-15),(y-5) , (x-18),(y-8) ,
              (x-19),(y-7) , (x-19),(y-2) , (x-18),(y-1) ,
              (x-17),(y-1) , (x-16),y , (x-4),y
            };

       int dot[14]={
             (x-8),(y-30) , (x-6),(y-28) , (x-8),(y-26) ,
             (x-9),(y-26) , (x-11),(y-28) , (x-9),(y-30) ,
             (x-8),(y-30)
           };

       Polygon(7,dot);
       Polygon(30,zaal);
    }

 /*************************************************************************///------------------------------  Rae( )  -------------------------------///*************************************************************************/void Rae(constint x,constint y)
    {
       int rae[74]={
             (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
             (x-2),(y-3) , (x-2),(y-4) , (x-1),(y-5) ,
             (x-1),(y-6) , x,(y-7) , x,(y-21) ,
             (x-1),(y-22) , (x-1),(y-23) , (x-2),(y-24) ,
             (x-2),(y-25) , (x-3),(y-26) , (x-4),(y-26) ,
             (x-4),(y-19) , (x-3),(y-18) , (x-3),(y-17) ,
             (x-2),(y-16) , (x-2),(y-11) , (x-9),(y-4) ,
             (x-10),(y-4) , (x-11),(y-3) , (x-14),(y-3) ,
             (x-15),(y-4) , (x-17),(y-4) , (x-18),(y-5) ,
             (x-19),(y-5) , (x-20),(y-6) , (x-21),(y-6) ,
             (x-21),(y-5) , (x-18),(y-2) , (x-17),(y-2) ,
             (x-16),(y-1) , (x-15),(y-1) , (x-14),y ,
             (x-6),y
           };

       Polygon(37,rae);
    }

 /*************************************************************************///------------------------------  Arae( )  ------------------------------///*************************************************************************/void Arae(constint x,constint y)
    {
       int arae[74]={
              (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
              (x-2),(y-3) , (x-2),(y-4) , (x-1),(y-5) ,
              (x-1),(y-6) , x,(y-7) , x,(y-21) ,
              (x-1),(y-22) , (x-1),(y-23) , (x-2),(y-24) ,
              (x-2),(y-25) , (x-3),(y-26) , (x-4),(y-26) ,
              (x-4),(y-19) , (x-3),(y-18) , (x-3),(y-17) ,
              (x-2),(y-16) , (x-2),(y-11) , (x-9),(y-4) ,
              (x-10),(y-4) , (x-11),(y-3) , (x-14),(y-3) ,
              (x-15),(y-4) , (x-17),(y-4) , (x-18),(y-5) ,
              (x-19),(y-5) , (x-20),(y-6) , (x-21),(y-6) ,
              (x-21),(y-5) , (x-18),(y-2) , (x-17),(y-2) ,
              (x-16),(y-1) , (x-15),(y-1) , (x-14),y ,
              (x-6),y
            };

       int toayn[20]={
               (x-4),(y-29) , (x-3),(y-30) , (x-3),(y-32) ,
               (x-4),(y-33) , (x-5),(y-34) , (x-2),(y-39) ,
               (x-3),(y-39) , (x-9),(y-30) , (x-9),(y-29) ,
               (x-4),(y-29)
             };

       int toayn_hole[10]={
                (x-5),(y-31) , (x-5),(y-32) , (x-6),(y-32) ,
                (x-6),(y-31) , (x-5),(y-31)
              };

       Polygon(10,toayn);
       Polygon(5,toayn_hole);
       Polygon(37,arae);
    }

 /*************************************************************************///-------------------------------  Zae( )  ------------------------------///*************************************************************************/void Zae(constint x,constint y)
    {
       int zae[74]={
             (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
             (x-2),(y-3) , (x-2),(y-4) , (x-1),(y-5) ,
             (x-1),(y-6) , x,(y-7) , x,(y-21) ,
             (x-1),(y-22) , (x-1),(y-23) , (x-2),(y-24) ,
             (x-2),(y-25) , (x-3),(y-26) , (x-4),(y-26) ,
             (x-4),(y-19) , (x-3),(y-18) , (x-3),(y-17) ,
             (x-2),(y-16) , (x-2),(y-11) , (x-9),(y-4) ,
             (x-10),(y-4) , (x-11),(y-3) , (x-14),(y-3) ,
             (x-15),(y-4) , (x-17),(y-4) , (x-18),(y-5) ,
             (x-19),(y-5) , (x-20),(y-6) , (x-21),(y-6) ,
             (x-21),(y-5) , (x-18),(y-2) , (x-17),(y-2) ,
             (x-16),(y-1) , (x-15),(y-1) , (x-14),y ,
             (x-6),y
           };

       int dot[14]={
             (x-4),(y-34) , (x-2),(y-32) , (x-4),(y-30) ,
             (x-5),(y-30) , (x-7),(y-32) , (x-5),(y-34) ,
             (x-4),(y-34)
           };

       Polygon(7,dot);
       Polygon(37,zae);
    }

 /*************************************************************************///-------------------------------  Say( )  ------------------------------///*************************************************************************/void Say(constint x,constint y)
    {
       int say[74]={
             (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
             (x-2),(y-3) , (x-2),(y-4) , (x-1),(y-5) ,
             (x-1),(y-6) , x,(y-7) , x,(y-21) ,
             (x-1),(y-22) , (x-1),(y-23) , (x-2),(y-24) ,
             (x-2),(y-25) , (x-3),(y-26) , (x-4),(y-26) ,
             (x-4),(y-19) , (x-3),(y-18) , (x-3),(y-17) ,
             (x-2),(y-16) , (x-2),(y-11) , (x-9),(y-4) ,
             (x-10),(y-4) , (x-11),(y-3) , (x-14),(y-3) ,
             (x-15),(y-4) , (x-17),(y-4) , (x-18),(y-5) ,
             (x-19),(y-5) , (x-20),(y-6) , (x-21),(y-6) ,
             (x-21),(y-5) , (x-18),(y-2) , (x-17),(y-2) ,
             (x-16),(y-1) , (x-15),(y-1) , (x-14),y ,
             (x-6),y
           };

       int dot_1[14]={
               (x-7),(y-33) , (x-5),(y-31) , (x-7),(y-29) ,
               (x-8),(y-29) , (x-10),(y-31) , (x-8),(y-33) ,
               (x-7),(y-33)
             };

       int dot_2[14]={
               (x-1),(y-33) , (x+1),(y-31) , (x-1),(y-29) ,
               (x-2),(y-29) , (x-4),(y-31) , (x-2),(y-33) ,
               (x-1),(y-33)
             };

       int dot_3[14]={
               (x-4),(y-38) , (x-2),(y-36) , (x-4),(y-34) ,
               (x-5),(y-34) , (x-7),(y-36) , (x-5),(y-38) ,
               (x-4),(y-38)
             };

       Polygon(7,dot_1);
       Polygon(7,dot_2);
       Polygon(7,dot_3);
       Polygon(37,say);
    }

 /*************************************************************************///------------------------------  Seen( )  ------------------------------///*************************************************************************/void Seen(constint x,constint y)
    {
       int seen[122]={
               (x-18),y , (x-17),(y-1) , (x-16),(y-1) ,
               (x-14),(y-3) , (x-14),(y-4) , (x-13),(y-5) ,
               (x-13),(y-6) , (x-12),(y-7) , (x-12),(y-9) ,
               (x-11),(y-10) , (x-7),(y-10) , (x-5),(y-12) ,
               (x-3),(y-10) , (x-1),(y-10) , x,(y-11) ,
               x,(y-23) , (x-1),(y-24) , (x-2),(y-23) ,
               (x-2),(y-18) , (x-4),(y-16) , (x-6),(y-18) ,
               (x-6),(y-23) , (x-7),(y-24) , (x-8),(y-23) ,
               (x-8),(y-18) , (x-10),(y-16) , (x-12),(y-18) ,
               (x-12),(y-23) , (x-13),(y-24) , (x-14),(y-23) ,
               (x-14),(y-11) , (x-15),(y-10) , (x-15),(y-9) ,
               (x-18),(y-6) , (x-19),(y-6) , (x-20),(y-5) ,
               (x-23),(y-5) , (x-24),(y-6) , (x-26),(y-6) ,
               (x-28),(y-8) , (x-28),(y-9) , (x-29),(y-10) ,
               (x-29),(y-15) , (x-28),(y-16) , (x-28),(y-18) ,
               (x-27),(y-19) , (x-27),(y-22) , (x-28),(y-21) ,
               (x-28),(y-20) , (x-29),(y-19) , (x-29),(y-18) ,
               (x-30),(y-16) , (x-30),(y-14) , (x-31),(y-13) ,
               (x-31),(y-5) , (x-30),(y-4) , (x-30),(y-3) ,
               (x-28),(y-1) , (x-27),(y-1) , (x-26),y ,
               (x-18),y
             };

       Polygon(61,seen);
    }

 /*************************************************************************///-----------------------------  Sheen( )  ------------------------------///*************************************************************************/void Sheen(constint x,constint y)
    {
       int sheen[122]={
            (x-18),y , (x-17),(y-1) , (x-16),(y-1) ,
            (x-14),(y-3) , (x-14),(y-4) , (x-13),(y-5) ,
            (x-13),(y-6) , (x-12),(y-7) , (x-12),(y-9) ,
            (x-11),(y-10) , (x-7),(y-10) , (x-5),(y-12) ,
            (x-3),(y-10) , (x-1),(y-10) , x,(y-11) ,
            x,(y-23) , (x-1),(y-24) , (x-2),(y-23) ,
            (x-2),(y-18) , (x-4),(y-16) , (x-6),(y-18) ,
            (x-6),(y-23) , (x-7),(y-24) , (x-8),(y-23) ,
            (x-8),(y-18) , (x-10),(y-16) , (x-12),(y-18) ,
            (x-12),(y-23) , (x-13),(y-24) , (x-14),(y-23) ,
            (x-14),(y-11) , (x-15),(y-10) , (x-15),(y-9) ,
            (x-18),(y-6) , (x-19),(y-6) , (x-20),(y-5) ,
            (x-23),(y-5) , (x-24),(y-6) , (x-26),(y-6) ,
            (x-28),(y-8) , (x-28),(y-9) , (x-29),(y-10) ,
            (x-29),(y-15) , (x-28),(y-16) , (x-28),(y-18) ,
            (x-27),(y-19) , (x-27),(y-22) , (x-28),(y-21) ,
            (x-28),(y-20) , (x-29),(y-19) , (x-29),(y-18) ,
            (x-30),(y-16) , (x-30),(y-14) , (x-31),(y-13) ,
            (x-31),(y-5) , (x-30),(y-4) , (x-30),(y-3) ,
            (x-28),(y-1) , (x-27),(y-1) , (x-26),y ,
            (x-18),y
              };

       int dot_1[14]={
               (x-7),(y-37) , (x-5),(y-35) , (x-7),(y-33) ,
               (x-8),(y-33) , (x-10),(y-35) , (x-8),(y-37) ,
               (x-7),(y-37)
             };

       int dot_2[14]={
               (x-10),(y-32) , (x-8),(y-30) , (x-10),(y-28) ,
               (x-11),(y-28) , (x-13),(y-30) , (x-11),(y-32) ,
               (x-10),(y-32)
             };

       int dot_3[14]={
               (x-4),(y-32) , (x-2),(y-30) , (x-4),(y-28) ,
               (x-5),(y-28) , (x-7),(y-30) , (x-5),(y-32) ,
               (x-4),(y-32)
             };

       Polygon(7,dot_1);
       Polygon(7,dot_2);
       Polygon(7,dot_3);
       Polygon(61,sheen);
    }

 /*************************************************************************///------------------------------  Swat( )  ------------------------------///*************************************************************************/void Swat(constint x,constint y)
    {
       int swat[96]={
              (x-19),y , (x-18),(y-1) , (x-17),(y-1) ,
              (x-15),(y-3) , (x-15),(y-4) , (x-14),(y-5) ,
              (x-14),(y-6) , (x-13),(y-7) , (x-13),(y-10) ,
              x,(y-10) , x,(y-26) , (x-1),(y-27) ,
              (x-3),(y-27) , (x-13),(y-17) , (x-13),(y-24) ,
              (x-14),(y-25) , (x-15),(y-24) , (x-15),(y-11) ,
              (x-16),(y-10) , (x-16),(y-9) , (x-19),(y-6) ,
              (x-20),(y-6) , (x-21),(y-5) , (x-24),(y-5) ,
              (x-25),(y-6) , (x-28),(y-6) , (x-29),(y-8) ,
              (x-29),(y-9) , (x-30),(y-10) , (x-30),(y-15) ,
              (x-29),(y-16) , (x-29),(y-18) , (x-28),(y-19) ,
              (x-28),(y-22) , (x-29),(y-21) , (x-29),(y-20) ,
              (x-30),(y-19) , (x-30),(y-17) , (x-31),(y-16) ,
              (x-31),(y-14) , (x-32),(y-13) , (x-32),(y-5) ,
              (x-31),(y-4) , (x-31),(y-3) , (x-29),(y-1) ,
              (x-28),(y-1) , (x-27),y , (x-19),y
            };

       int swat_hole[12]={
               (x-4),(y-17) , (x-3),(y-18) , (x-3),(y-20) ,
               (x-5),(y-20) , (x-8),(y-17) , (x-4),(y-17)
             };

       Polygon(48,swat);
       Polygon(6,swat_hole);
    }

 /*************************************************************************///------------------------------  Zwat( )  ------------------------------///*************************************************************************/void Zwat(constint x,constint y)
    {
       int zwat[96]={
              (x-19),y , (x-18),(y-1) , (x-17),(y-1) ,
              (x-15),(y-3) , (x-15),(y-4) , (x-14),(y-5) ,
              (x-14),(y-6) , (x-13),(y-7) , (x-13),(y-10) ,
              x,(y-10) , x,(y-26) , (x-1),(y-27) ,
              (x-3),(y-27) , (x-13),(y-17) , (x-13),(y-24) ,
              (x-14),(y-25) , (x-15),(y-24) , (x-15),(y-11) ,
              (x-16),(y-10) , (x-16),(y-9) , (x-19),(y-6) ,
              (x-20),(y-6) , (x-21),(y-5) , (x-24),(y-5) ,
              (x-25),(y-6) , (x-28),(y-6) , (x-29),(y-8) ,
              (x-29),(y-9) , (x-30),(y-10) , (x-30),(y-15) ,
              (x-29),(y-16) , (x-29),(y-18) , (x-28),(y-19) ,
              (x-28),(y-22) , (x-29),(y-21) , (x-29),(y-20) ,
              (x-30),(y-19) , (x-30),(y-17) , (x-31),(y-16) ,
              (x-31),(y-14) , (x-32),(y-13) , (x-32),(y-5) ,
              (x-31),(y-4) , (x-31),(y-3) , (x-29),(y-1) ,
              (x-28),(y-1) , (x-27),y , (x-19),y
            };

       int zwat_hole[12]={
               (x-4),(y-17) , (x-3),(y-18) , (x-3),(y-20) ,
               (x-5),(y-20) , (x-8),(y-17) , (x-4),(y-17)
             };

       int dot[14]={
             (x-6),(y-33) , (x-4),(y-31) , (x-6),(y-29) ,
             (x-7),(y-29) , (x-9),(y-31) , (x-7),(y-33) ,
             (x-6),(y-33)
           };

       Polygon(7,dot);
       Polygon(48,zwat);
       Polygon(6,zwat_hole);
    }

 /*************************************************************************///------------------------------  Tuawn( )  -----------------------------///*************************************************************************/void Tuawn(constint x,constint y)
    {
       int tuawn[58]={
               (x-1),y , x,(y-1) , x,(y-11) ,
               (x-1),(y-12) , (x-1),(y-13) , (x-2),(y-14) ,
               (x-3),(y-14) , (x-4),(y-15) , (x-7),(y-15) ,
               (x-8),(y-14) , (x-9),(y-14) , (x-10),(y-13) ,
               (x-11),(y-13) , (x-12),(y-12) , (x-13),(y-12) ,
               (x-13),(y-28) , (x-11),(y-30) , (x-13),(y-32) ,
               (x-14),(y-32) , (x-16),(y-30) , (x-15),(y-29) ,
               (x-15),(y-11) , (x-16),(y-10) , (x-16),(y-9) ,
               (x-20),(y-5) , (x-21),(y-5) , (x-22),(y-4) ,
               (x-22),y , (x-1),y
             };

       int tuawn_hole[22]={
                (x-7),(y-6) , (x-5),(y-6) , (x-4),(y-7) ,
                (x-4),(y-8) , (x-5),(y-8) , (x-6),(y-9) ,
                (x-8),(y-9) , (x-10),(y-7) , (x-11),(y-7) ,
                (x-12),(y-6) , (x-7),(y-6)
              };

       Polygon(29,tuawn);
       Polygon(11,tuawn_hole);
    }

 /*************************************************************************///------------------------------  Zuawn( )  -----------------------------///*************************************************************************/void Zuawn(constint x,constint y)
    {
       int zuawn[58]={
               (x-1),y , x,(y-1) , x,(y-11) ,
               (x-1),(y-12) , (x-1),(y-13) , (x-2),(y-14) ,
               (x-3),(y-14) , (x-4),(y-15) , (x-7),(y-15) ,
               (x-8),(y-14) , (x-9),(y-14) , (x-10),(y-13) ,
               (x-11),(y-13) , (x-12),(y-12) , (x-13),(y-12) ,
               (x-13),(y-28) , (x-11),(y-30) , (x-13),(y-32) ,
               (x-14),(y-32) , (x-16),(y-30) , (x-15),(y-29) ,
               (x-15),(y-11) , (x-16),(y-10) , (x-16),(y-9) ,
               (x-20),(y-5) , (x-21),(y-5) , (x-22),(y-4) ,
               (x-22),y , (x-1),y
             };

       int zuawn_hole[22]={
                (x-7),(y-6) , (x-5),(y-6) , (x-4),(y-7) ,
                (x-4),(y-8) , (x-5),(y-8) , (x-6),(y-9) ,
                (x-8),(y-9) , (x-10),(y-7) , (x-11),(y-7) ,
                (x-12),(y-6) , (x-7),(y-6)
              };

       int dot[14]={
             (x-5),(y-24) , (x-3),(y-22) , (x-5),(y-20) ,
             (x-6),(y-20) , (x-8),(y-22) , (x-6),(y-24) ,
             (x-5),(y-24)
           };

       Polygon(7,dot);
       Polygon(29,zuawn);
       Polygon(11,zuawn_hole);
    }

 /*************************************************************************///-------------------------------  Ayan( )  -----------------------------///*************************************************************************/void Ayan(constint x,constint y)
    {
       int ayan[122]={
               (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
               (x-3),(y-2) , (x-2),(y-2) , x,(y-4) ,
               x,(y-5) , (x-14),(y-5) , (x-15),(y-6) ,
               (x-17),(y-6) , (x-18),(y-7) , (x-19),(y-7) ,
               (x-21),(y-9) , (x-21),(y-11) , (x-17),(y-15) ,
               (x-16),(y-15) , (x-15),(y-16) , (x-13),(y-16) ,
               (x-12),(y-17) , (x-9),(y-17) , (x-8),(y-18) ,
               (x-6),(y-18) , (x-5),(y-19) , (x-5),(y-20) ,
               (x-6),(y-21) , (x-9),(y-21) , (x-10),(y-20) ,
               (x-15),(y-20) , (x-17),(y-22) , (x-17),(y-23) ,
               (x-15),(y-25) , (x-6),(y-25) , (x-6),(y-26) ,
               (x-7),(y-27) , (x-8),(y-27) , (x-9),(y-28) ,
               (x-11),(y-28) , (x-12),(y-29) , (x-15),(y-29) ,
               (x-16),(y-28) , (x-18),(y-28) , (x-21),(y-25) ,
               (x-21),(y-24) , (x-22),(y-23) , (x-22),(y-21) ,
               (x-21),(y-20) , (x-21),(y-19) , (x-19),(y-17) ,
               (x-22),(y-14) , (x-22),(y-13) , (x-23),(y-12) ,
               (x-23),(y-6) , (x-22),(y-5) , (x-22),(y-4) ,
               (x-21),(y-3) , (x-20),(y-2) , (x-19),(y-2) ,
               (x-18),(y-1) , (x-17),(y-1) , (x-16),y ,
               (x-6),y
             };

       Polygon(61,ayan);
    }

 /*************************************************************************///-------------------------------  Gyan( )  -----------------------------///*************************************************************************/void Gyan(constint x,constint y)
    {
       int gyan[122]={
               (x-6),y , (x-5),(y-1) , (x-4),(y-1) ,
               (x-3),(y-2) , (x-2),(y-2) , x,(y-4) ,
               x,(y-5) , (x-14),(y-5) , (x-15),(y-6) ,
               (x-17),(y-6) , (x-18),(y-7) , (x-19),(y-7) ,
               (x-21),(y-9) , (x-21),(y-11) , (x-17),(y-15) ,
               (x-16),(y-15) , (x-15),(y-16) , (x-13),(y-16) ,
               (x-12),(y-17) , (x-9),(y-17) , (x-8),(y-18) ,
               (x-6),(y-18) , (x-5),(y-19) , (x-5),(y-20) ,
               (x-6),(y-21) , (x-9),(y-21) , (x-10),(y-20) ,
               (x-15),(y-20) , (x-17),(y-22) , (x-17),(y-23) ,
               (x-15),(y-25) , (x-6),(y-25) , (x-6),(y-26) ,
               (x-7),(y-27) , (x-8),(y-27) , (x-9),(y-28) ,
               (x-11),(y-28) , (x-12),(y-29) , (x-15),(y-29) ,
               (x-16),(y-28) , (x-18),(y-28) , (x-21),(y-25) ,
               (x-21),(y-24) , (x-22),(y-23) , (x-22),(y-21) ,
               (x-21),(y-20) , (x-21),(y-19) , (x-19),(y-17) ,
               (x-22),(y-14) , (x-22),(y-13) , (x-23),(y-12) ,
               (x-23),(y-6) , (x-22),(y-5) , (x-22),(y-4) ,
               (x-21),(y-3) , (x-20),(y-2) , (x-19),(y-2) ,
               (x-18),(y-1) , (x-17),(y-1) , (x-16),y ,
               (x-6),y
             };

       int dot[14]={
             (x-15),(y-37) , (x-13),(y-35) , (x-15),(y-33) ,
             (x-16),(y-33) , (x-18),(y-35) , (x-16),(y-37) ,
             (x-15),(y-37)
           };

       Polygon(7,dot);
       Polygon(61,gyan);
    }

 /*************************************************************************///-------------------------------  Fae( )  ------------------------------///*************************************************************************/void Fae(constint x,constint y)
    {
       int fae[56]={
             (x-1),y , x,(y-1) , x,(y-11) ,
             (x-1),(y-12) , (x-1),(y-15) , (x-4),(y-18) ,
             (x-7),(y-18) , (x-8),(y-17) , (x-8),(y-16) ,
             (x-9),(y-15) , (x-9),(y-13) , (x-10),(y-12) ,
             (x-10),(y-9) , (x-9),(y-8) , (x-9),(y-6) ,
             (x-24),(y-6) , (x-27),(y-9) , (x-27),(y-13) ,
             (x-26),(y-14) , (x-26),(y-16) , (x-27),(y-16) ,
             (x-27),(y-15) , (x-28),(y-14) , (x-28),(y-13) ,
             (x-29),(y-12) , (x-29),(y-2) , (x-27),y ,
             (x-1),y
           };

       int fae_hole[10]={
              (x-5),(y-10) , (x-4),(y-11) , (x-5),(y-12) ,
              (x-6),(y-11) , (x-5),(y-10)
            };

       int dot[14]={
             (x-5),(y-27) , (x-3),(y-25) , (x-5),(y-23) ,
             (x-6),(y-23) , (x-8),(y-25) , (x-6),(y-27) ,
             (x-6),(y-27)
           };

       Polygon(7,dot);
       Polygon(28,fae);
       Polygon(5,fae_hole);
    }

 /*************************************************************************///-------------------------------  Qaaf( )  -----------------------------///*************************************************************************/void Qaaf(constint x,constint y)
    {
       int qaaf[116]={
               (x-11),y , (x-10),(y-1) , (x-7),(y-1) ,
               (x-6),(y-2) , (x-5),(y-2) , (x-4),(y-3) ,
               (x-3),(y-3) , (x-1),(y-5) , (x-1),(y-6) ,
               x,(y-7) , x,(y-19) , (x-1),(y-20) ,
               (x-1),(y-22) , (x-2),(y-23) , (x-2),(y-24) ,
               (x-3),(y-24) , (x-4),(y-25) , (x-4),(y-26) ,
               (x-6),(y-26) , (x-9),(y-23) , (x-10),(y-22) ,
               (x-10),(y-21) , (x-10),(y-13) , (x-9),(y-13) ,
               (x-8),(y-12) , (x-2),(y-12) , (x-2),(y-10) ,
               (x-5),(y-7) , (x-7),(y-7) , (x-8),(y-6) ,
               (x-11),(y-6) , (x-12),(y-5) , (x-17),(y-5) ,
               (x-18),(y-6) , (x-21),(y-6) , (x-22),(y-7) ,
               (x-23),(y-7) , (x-26),(y-10) , (x-26),(y-12) ,
               (x-25),(y-13) , (x-25),(y-14) , (x-22),(y-17) ,
               (x-22),(y-18) , (x-21),(y-19) , (x-21),(y-20) ,
               (x-22),(y-20) , (x-27),(y-15) , (x-27),(y-14) ,
               (x-28),(y-13) , (x-28),(y-6) , (x-27),(y-5) ,
               (x-27),(y-4) , (x-25),(y-2) , (x-24),(y-2) ,
               (x-23),(y-1) , (x-22),(y-1) , (x-21),y ,
               (x-11),y
             };

       int qaaf_hole[10]={
               (x-5),(y-18) , (x-4),(y-19) , (x-5),(y-20) ,
               (x-6),(y-19) , (x-5),(y-18)
             };


       int dot_1[14]={
               (x-3),(y-34) , (x-1),(y-32) , (x-3),(y-30) ,
               (x-4),(y-30) , (x-6),(y-32) , (x-4),(y-34) ,
               (x-3),(y-34)
             };

       int dot_2[14]={
               (x-9),(y-34) , (x-7),(y-32) , (x-9),(y-30) ,
               (x-10),(y-30) , (x-12),(y-32) , (x-10),(y-34) ,
               (x-9),(y-34)
             };

       Polygon(7,dot_1);
       Polygon(7,dot_2);
       Polygon(58,qaaf);
       Polygon(5,qaaf_hole);
    }

 /*************************************************************************///------------------------------  Kaaaf( )  -----------------------------///*************************************************************************/void Kaaaf(constint x,constint y)
    {
       int kaaaf[94]={
               x,y , x,(y-10) , (x-1),(y-11) ,
               (x-1),(y-14) , (x-2),(y-15) , (x-2),(y-17) ,
               (x-3),(y-18) , (x-1),(y-20) , (x-1),(y-21) ,
               x,(y-22) , x,(y-25) , (x-1),(y-25) ,
               (x-3),(y-27) , (x-3),(y-28) , (x-4),(y-29) ,
               (x-4),(y-30) , (x-5),(y-30) , (x-6),(y-29) ,
               (x-6),(y-28) , (x-7),(y-27) , (x-7),(y-20) ,
               (x-6),(y-19) , (x-6),(y-18) , (x-5),(y-17) ,
               (x-5),(y-13) , (x-4),(y-12) , (x-4),(y-8) ,
               (x-2),(y-6) , (x-20),(y-6) , (x-21),(y-7) ,
               (x-23),(y-7) , (x-25),(y-9) , (x-25),(y-12) ,
               (x-24),(y-13) , (x-24),(y-15) , (x-25),(y-16) ,
               (x-25),(y-15) , (x-27),(y-13) , (x-27),(y-12) ,
               (x-28),(y-11) , (x-28),(y-9) , (x-29),(y-8) ,
               (x-29),(y-4) , (x-26),(y-1) , (x-25),(y-1) ,
               (x-24),y , x,y
             };

       int kaaaf_hamza[36]={
                 (x-13),(y-11) , (x-11),(y-13) , (x-11),(y-14) ,
                 (x-10),(y-15) , (x-10),(y-18) , (x-13),(y-21) ,
                 (x-12),(y-22) , (x-11),(y-22) , (x-11),(y-26) ,
                 (x-12),(y-26) , (x-15),(y-23) , (x-15),(y-22) ,
                 (x-16),(y-21) , (x-16),(y-16) , (x-13),(y-13) ,
                 (x-19),(y-13) , (x-21),(y-11) , (x-13),(y-11)
               };

       Polygon(47,kaaaf);
       Polygon(18,kaaaf_hamza);
    }

 /*************************************************************************///-------------------------------  Kaaf( )  -----------------------------///*************************************************************************/void Kaaf(constint x,constint y)
    {
       int kaaf[106]={
               (x-1),y , x,(y-1) , x,(y-7) ,
               (x-1),(y-8) , (x-1),(y-9) , (x-4),(y-12) ,
               (x-4),(y-13) , (x-9),(y-18) , (x-6),(y-18) ,
               (x-5),(y-19) , (x-4),(y-19) , (x-3),(y-20) ,
               (x-2),(y-20) , (x-1),(y-21) , x,(y-21) ,
               x,(y-26) , (x-1),(y-26) , (x-2),(y-25),
               (x-3),(y-25) , (x-4),(y-24) , (x-5),(y-24) ,
               (x-6),(y-23) , (x-7),(y-23) , (x-8),(y-22) ,
               (x-10),(y-22) , (x-12),(y-20) , (x-12),(y-13) ,
               (x-10),(y-11) , (x-8),(y-11) , (x-6),(y-9) ,
               (x-5),(y-9) , (x-2),(y-6) , (x-24),(y-6) ,
               (x-25),(y-7) , (x-26),(y-7) , (x-28),(y-9) ,
               (x-28),(y-12) , (x-27),(y-13) , (x-27),(y-14) ,
               (x-28),(y-15) , (x-28),(y-14) , (x-29),(y-13) ,
               (x-29),(y-12) , (x-30),(y-11) , (x-30),(y-9) ,
               (x-31),(y-8) , (x-31),(y-5) , (x-30),(y-4) ,
               (x-30),(y-3) , (x-28),(y-1) , (x-26),(y-1) ,
               (x-25),y , (x-1),y
             };

       Polygon(53,kaaf);
    }

 /*************************************************************************///-------------------------------  Ghaf( )  -----------------------------///*************************************************************************/void Ghaf(constint x,constint y)
    {
       int ghaf[106]={
               (x-1),y , x,(y-1) , x,(y-7) ,
               (x-1),(y-8) , (x-1),(y-9) , (x-4),(y-12) ,
               (x-4),(y-13) , (x-9),(y-18) , (x-6),(y-18) ,
               (x-5),(y-19) , (x-4),(y-19) , (x-3),(y-20) ,
               (x-2),(y-20) , (x-1),(y-21) , x,(y-21) ,
               x,(y-26) , (x-1),(y-26) , (x-2),(y-25),
               (x-3),(y-25) , (x-4),(y-24) , (x-5),(y-24) ,
               (x-6),(y-23) , (x-7),(y-23) , (x-8),(y-22) ,
               (x-10),(y-22) , (x-12),(y-20) , (x-12),(y-13) ,
               (x-10),(y-11) , (x-8),(y-11) , (x-6),(y-9) ,
               (x-5),(y-9) , (x-2),(y-6) , (x-24),(y-6) ,
               (x-25),(y-7) , (x-26),(y-7) , (x-28),(y-9) ,
               (x-28),(y-12) , (x-27),(y-13) , (x-27),(y-14) ,
               (x-28),(y-15) , (x-28),(y-14) , (x-29),(y-13) ,
               (x-29),(y-12) , (x-30),(y-11) , (x-30),(y-9) ,
               (x-31),(y-8) , (x-31),(y-5) , (x-30),(y-4) ,
               (x-30),(y-3) , (x-28),(y-1) , (x-26),(y-1) ,
               (x-25),y , (x-1),y
             };

       int ghaf_stick[46]={
                (x-13),(y-22) , (x-12),(y-23) , (x-11),(y-23) ,
                (x-8),(y-25) , (x-7),(y-25) , (x-6),(y-26) ,
                (x-5),(y-26) , (x-4),(y-27) , (x-2),(y-27) ,
                x,(y-28) , x,(y-31) , (x-2),(y-31) ,
                (x-3),(y-30) , (x-5),(y-30) , (x-6),(y-29) ,
                (x-7),(y-29) , (x-8),(y-28) , (x-9),(y-28) ,
                (x-10),(y-27) , (x-11),(y-27) , (x-14),(y-24) ,
                (x-14),(y-22) , (x-13),(y-22)
              };

       Polygon(23,ghaf_stick);
       Polygon(53,ghaf);
    }

 /*************************************************************************///-------------------------------  Laam( )  -----------------------------///*************************************************************************/void Laam(constint x,constint y)
    {
       int laam[140]={
               (x-12),y , (x-11),(y-1) , (x-8),(y-1) ,
               (x-7),(y-2) , (x-5),(y-2) , (x-4),(y-3) ,
               (x-3),(y-3) , (x-1),(y-5) , (x-1),(y-6) ,
               x,(y-7) , x,(y-13) , (x-1),(y-14) ,
               (x-1),(y-16) , (x-2),(y-17) , (x-2),(y-20) ,
               (x-3),(y-21) , (x-3),(y-23) , (x-2),(y-24) ,
               (x-2),(y-26) , (x-1),(y-27) , (x-1),(y-28) ,
               (x-2),(y-28) , (x-3),(y-29) , (x-5),(y-29) ,
               (x-5),(y-31) , (x-7),(y-31) , (x-7),(y-30) ,
               (x-8),(y-29) , (x-8),(y-28) , (x-9),(y-27) ,
               (x-9),(y-26) , (x-7),(y-24) , (x-7),(y-23) ,
               (x-6),(y-22) , (x-6),(y-19) , (x-5),(y-18) ,
               (x-5),(y-16) , (x-4),(y-15) , (x-4),(y-9) ,
               (x-6),(y-7) , (x-7),(y-7) , (x-8),(y-6) ,
               (x-11),(y-6) , (x-12),(y-5) , (x-17),(y-5) ,
               (x-18),(y-6) , (x-20),(y-6) , (x-22),(y-8) ,
               (x-22),(y-9) , (x-23),(y-10) , (x-22),(y-11) ,
               (x-22),(y-12) , (x-18),(y-16) , (x-20),(y-16) ,
               (x-21),(y-15) , (x-22),(y-15) , (x-24),(y-13) ,
               (x-24),(y-12) , (x-25),(y-11) , (x-25),(y-10) ,
               (x-26),(y-9) , (x-26),(y-5) , (x-25),(y-4) ,
               (x-25),(y-3) , (x-24),(y-2) , (x-22),(y-2) ,
               (x-21),(y-1) , (x-19),(y-1) , (x-18),y ,
               (x-12),y
             };

       Polygon(70,laam);
    }

 /*************************************************************************///-------------------------------  Meem( )  -----------------------------///*************************************************************************/void Meem(constint x,constint y)
    {
       int meem[86]={
              (x-15),y , (x-15),(y-1) , (x-14),(y-2) ,
              (x-14),(y-7) , (x-15),(y-8) , (x-15),(y-11) ,
              (x-16),(y-12) , (x-16),(y-16) , (x-13),(y-16) ,
              (x-12),(y-17) , x,(y-17) , x,(y-23) ,
              (x-7),(y-30) , (x-8),(y-30) , (x-9),(y-31) ,
              (x-11),(y-31) , (x-12),(y-30) , (x-13),(y-30) ,
              (x-17),(y-26) , (x-17),(y-24) , (x-16),(y-23) ,
              (x-15),(y-24) , (x-14),(y-24) , (x-12),(y-26) ,
              (x-10),(y-24) , (x-9),(y-24) , (x-9),(y-22) ,
              (x-14),(y-22) , (x-15),(y-21) , (x-17),(y-21) ,
              (x-19),(y-19) , (x-19),(y-17) , (x-20),(y-16) ,
              (x-20),(y-14) , (x-19),(y-13) , (x-19),(y-11) ,
              (x-18),(y-10) , (x-18),(y-9) , (x-17),(y-8) ,
              (x-17),(y-6) , (x-16),(y-5) , (x-16),y ,
              (x-15),y
            };

       Polygon(43,meem);
    }

 /*************************************************************************///-------------------------------  Noon( )  -----------------------------///*************************************************************************/void Noon(constint x,constint y)
    {
       int noon[126]={
               (x-8),y , (x-7),(y-1) , (x-5),(y-1) ,
               (x-1),(y-5) , (x-1),(y-6) , x,(y-7) ,
               x,(y-21) , (x-1),(y-22) , (x-1),(y-24) ,
               (x-2),(y-25) , (x-2),(y-26) , (x-3),(y-26) ,
               (x-4),(y-25) , (x-4),(y-24) , (x-5),(y-23) ,
               (x-5),(y-19) , (x-4),(y-18) , (x-4),(y-17) ,
               (x-3),(y-16) , (x-3),(y-15) , (x-2),(y-14) ,
               (x-2),(y-12) , (x-6),(y-8) , (x-8),(y-8) ,
               (x-9),(y-7) ,  (x-11),(y-7) , (x-12),(y-6) ,
               (x-17),(y-6) , (x-18),(y-7) , (x-21),(y-7) ,
               (x-22),(y-8) , (x-23),(y-8) , (x-24),(y-9) ,
               (x-24),(y-11) , (x-25),(y-12) , (x-25),(y-14) ,
               (x-24),(y-15) , (x-24),(y-18) , (x-23),(y-19) ,
               (x-23),(y-20) , (x-22),(y-21) , (x-22),(y-22) ,
               (x-21),(y-23) , (x-21),(y-24) , (x-22),(y-24) ,
               (x-24),(y-22) , (x-24),(y-21) , (x-25),(y-20) ,
               (x-25),(y-19) , (x-26),(y-18) , (x-26),(y-17) ,
               (x-27),(y-16) , (x-27),(y-14) , (x-28),(y-13) ,
               (x-28),(y-6) ,  (x-27),(y-5) , (x-27),(y-4) ,
               (x-25),(y-2) , (x-24),(y-2) , (x-23),(y-1) ,
               (x-22),(y-1) , (x-21),y , (x-8),y
             };

       int dot[14]={
             (x-13),(y-18) , (x-11),(y-16) , (x-13),(y-14) ,
             (x-14),(y-14) , (x-16),(y-16) , (x-14),(y-18) ,
             (x-13),(y-18)
           };

       Polygon(7,dot);
       Polygon(63,noon);
    }

 /*************************************************************************///-------------------------------  Waoo( )  -----------------------------///*************************************************************************/void Waoo(constint x,constint y)
    {
       int waoo[100]={
               (x-9),y , (x-8),(y-1) , (x-7),(y-1) ,
               (x-2),(y-6) , (x-2),(y-7) , (x-1),(y-8) ,
               (x-1),(y-10) , x,(y-11) , x,(y-22) ,
               (x-1),(y-23) , (x-1),(y-25) , (x-2),(y-26) ,
               (x-2),(y-27) , (x-3),(y-28) , (x-4),(y-28) ,
               (x-5),(y-29) , (x-8),(y-29) , (x-11),(y-26) ,
               (x-11),(y-25) , (x-12),(y-24) , (x-12),(y-23) ,
               (x-13),(y-22) , (x-13),(y-15) , (x-12),(y-14) ,
               (x-12),(y-13) , (x-10),(y-11) , (x-8),(y-11) ,
               (x-8),(y-10) , (x-12),(y-6) , (x-13),(y-6) ,
               (x-14),(y-5) , (x-20),(y-5) , (x-21),(y-6) ,
               (x-23),(y-6) , (x-24),(y-7) , (x-25),(y-7) ,
               (x-26),(y-8) , (x-27),(y-8) , (x-27),(y-7) ,
               (x-26),(y-6) , (x-26),(y-5) , (x-25),(y-5) ,
               (x-24),(y-4) , (x-23),(y-4) , (x-21),(y-2) ,
               (x-20),(y-2) , (x-19),(y-1) , (x-17),(y-1) ,
               (x-16),y , (x-9),y
             };

       int waoo_hole[18]={
               (x-6),(y-18) , (x-5),(y-19) , (x-5),(y-20) ,
               (x-6),(y-21) , (x-7),(y-21) , (x-8),(y-20) ,
               (x-8),(y-19) , (x-7),(y-18) , (x-6),(y-18)
             };

       Polygon(50,waoo);
       Polygon(9,waoo_hole);
    }

 /*************************************************************************///-------------------------------  Haae( )  -----------------------------///*************************************************************************/void Haae(constint x,constint y)
    {
       int haae[68]={
              (x-13),y , (x-12),(y-1) , (x-10),(y-1) ,
              (x-9),(y-2) , (x-8),(y-2) , (x-2),(y-9) ,
              (x-2),(y-11) , (x-1),(y-12) , (x-1),(y-16) ,
              (x-2),(y-17) , (x-2),(y-18) , (x-11),(y-28) ,
              (x-12),(y-28) , (x-13),(y-29) , (x-17),(y-29) ,
              (x-22),(y-24) , (x-22),(y-23) , (x-20),(y-21) ,
              (x-20),(y-19) , (x-21),(y-18) , (x-21),(y-17) ,
              (x-22),(y-16) , (x-22),(y-15) , (x-23),(y-14) ,
              (x-23),(y-12) , (x-24),(y-11) , (x-24),(y-5) ,
              (x-23),(y-4) , (x-23),(y-2) , (x-22),(y-2) ,
              (x-21),(y-1) , (x-20),(y-1) , (x-19),y ,
              (x-13),y
            };

       int haae_hole[22]={
               (x-12),(y-11) , (x-11),(y-12) , (x-11),(y-14) ,
               (x-14),(y-17) , (x-16),(y-17) , (x-17),(y-16) ,
               (x-17),(y-15) , (x-18),(y-14) , (x-18),(y-12) ,
               (x-17),(y-11) , (x-12),(y-11)
             };

       Polygon(34,haae);
       Polygon(11,haae_hole);
    }

 /*************************************************************************///------------------------------  Hamza( )  -----------------------------///*************************************************************************/void Hamza(constint x,constint y)
    {
       int hamza[126]={
            (x-22),y , (x-17),(y-5) , (x-16),(y-5) ,
            (x-15),(y-6) , (x-14),(y-6) , (x-12),(y-8) ,
            (x-11),(y-8) , (x-10),(y-9) , (x-9),(y-9) ,
            (x-8),(y-10) , (x-5),(y-10) , (x-4),(y-11) ,
            (x-3),(y-11) , (x-2),(y-12) , (x-1),(y-12) ,
            (x-1),(y-14) , x,(y-15) , x,(y-18) ,
            (x-2),(y-18) , (x-3),(y-17) , (x-5),(y-17) ,
            (x-6),(y-16) , (x-8),(y-16) , (x-9),(y-15) ,
            (x-14),(y-15) , (x-15),(y-16) , (x-16),(y-16) ,
            (x-18),(y-18) , (x-18),(y-19) , (x-16),(y-21) ,
            (x-13),(y-21) , (x-12),(y-20) , (x-11),(y-20) ,
            (x-10),(y-19) , (x-8),(y-19) , (x-7),(y-20) ,
            (x-7),(y-21) , (x-5),(y-23) , (x-5),(y-24) ,
            (x-4),(y-25) , (x-7),(y-28) , (x-8),(y-28) ,
            (x-9),(y-29) , (x-15),(y-29) , (x-16),(y-28) ,
            (x-17),(y-28) , (x-22),(y-23) , (x-22),(y-22) ,
            (x-23),(y-21) , (x-23),(y-20) , (x-24),(y-19) ,
            (x-24),(y-18) , (x-25),(y-17) , (x-25),(y-14) ,
            (x-20),(y-9) , (x-21),(y-8) , (x-21),(y-7) ,
            (x-23),(y-5) , (x-23),(y-4) , (x-25),(y-2) ,
            (x-25),(y-1) , (x-24),y , (x-22),y
              };

       Polygon(63,hamza);
    }

 /*************************************************************************///----------------------------  Choti_yae( )  ---------------------------///*************************************************************************/void Choti_yae(constint x,constint y)
    {
       int choti_yae[136]={
                (x-14),y , (x-13),(y-1) , (x-12),(y-1) ,
                (x-11),(y-2) , (x-9),(y-2) , (x-8),(y-3) ,
                (x-7),(y-3) , (x-5),(y-5) , (x-4),(y-5) ,
                (x-4),(y-6) , (x-3),(y-7) , (x-3),(y-8) ,
                (x-2),(y-9) , (x-2),(y-11) , (x-1),(y-12) ,
                (x-1),(y-15) , (x-3),(y-17) , (x-8),(y-17) ,
                (x-8),(y-19) , (x-6),(y-21) , (x-6),(y-23) ,
                (x-3),(y-23) , (x-3),(y-22) , (x-2),(y-21) ,
                (x-2),(y-20) , (x-1),(y-20) , x,(y-21) ,
                x,(y-27) , (x-2),(y-29) , (x-4),(y-29) ,
                (x-9),(y-24) , (x-9),(y-23) , (x-11),(y-21) ,
                (x-11),(y-19) , (x-12),(y-18) , (x-12),(y-13) ,
                (x-10),(y-11) , (x-6),(y-11) , (x-5),(y-10) ,
                (x-7),(y-8) , (x-9),(y-8) , (x-10),(y-7) ,
                (x-13),(y-7) , (x-14),(y-6) , (x-22),(y-6) ,
                (x-25),(y-9) , (x-25),(y-13) , (x-24),(y-14) ,
                (x-24),(y-16) , (x-23),(y-17) , (x-23),(y-18) ,
                (x-22),(y-19) , (x-22),(y-20) , (x-21),(y-21) ,
                (x-21),(y-22) , (x-22),(y-22) , (x-25),(y-19) ,
                (x-25),(y-18) , (x-26),(y-17) , (x-26),(y-15) ,
                (x-27),(y-14) , (x-27),(y-12) , (x-28),(y-11) ,
                (x-28),(y-5) , (x-27),(y-4) , (x-27),(y-3) ,
                (x-24),y , (x-14),y
              };

       Polygon(68,choti_yae);
    }

 /*************************************************************************///----------------------------  Barri_yae( )  ---------------------------///*************************************************************************/void Barri_yae(constint x,constint y)
    {
       int barri_yae[88]={
               (x-6),y , (x-5),(y-1) , (x-3),(y-1) ,
               (x-2),(y-2) , (x-1),(y-2) , x,(y-3) ,
               x,(y-4) , (x-1),(y-5) , (x-28),(y-5) ,
               (x-30),(y-7) , (x-30),(y-8) , (x-28),(y-10) ,
               (x-25),(y-10) , (x-24),(y-11) , (x-21),(y-11) ,
               (x-20),(y-12) , (x-18),(y-12) , (x-17),(y-13) ,
               (x-16),(y-13) , (x-14),(y-15) , (x-14),(y-16) ,
               (x-15),(y-17) , (x-20),(y-17) , (x-19),(y-16) ,
               (x-19),(y-15) , (x-21),(y-13) , (x-22),(y-13) ,
               (x-23),(y-12) , (x-26),(y-12) , (x-27),(y-11) ,
               (x-29),(y-11) , (x-30),(y-10) , (x-31),(y-10) ,
               (x-33),(y-8) , (x-33),(y-7), (x-34),(y-6) ,
               (x-34),(y-4) , (x-33),(y-3) , (x-33),(y-2) ,
               (x-32),(y-2) , (x-31),(y-1) , (x-29),(y-1) ,
               (x-28),y , (x-6),y
             };

       int dot_1[14]={
               (x-17),(y+8) , (x-15),(y+6) , (x-17),(y+4) ,
               (x-18),(y+4) , (x-20),(y+6) , (x-18),(y+8) ,
               (x-17),(y+8)
             };

       int dot_2[14]={
               (x-12),(y+8) , (x-10),(y+6) , (x-12),(y+4) ,
               (x-13),(y+4) , (x-15),(y+6) , (x-13),(y+8) ,
               (x-12),(y+8)
             };

       Polygon(44,barri_yae);
       Polygon(7,dot_1);
       Polygon(7,dot_2);
    }

 /*************************************************************************///--------------------------  Line( )  ------------------------///*************************************************************************/void Line(constint x_1,constint y_1,constint x_2,constint y_2)
    {
       int color=getcolor( );

       int x1=x_1;
       int y1=y_1;

       int x2=x_2;
       int y2=y_2;

       if(x_1>x_2)
      {
         x1=x_2;
         y1=y_2;

         x2=x_1;
         y2=y_1;
      }

       int dx=abs(x2-x1);
       int dy=abs(y2-y1);
       int inc_dec=((y2>=y1)?1:-1);

       if(dx>dy)
      {
         int two_dy=(2*dy);
         int two_dy_dx=(2*(dy-dx));
         int p=((2*dy)-dx);

         int x=x1;
         int y=y1;

         putpixel(x,y,color);

         while(x<x2)
        {
           x++;

           if(p<0)
              p+=two_dy;

           else
              {
             y+=inc_dec;
             p+=two_dy_dx;
              }

           putpixel(x,y,color);
        }
      }

       else
      {
         int two_dx=(2*dx);
         int two_dx_dy=(2*(dx-dy));
         int p=((2*dx)-dy);

         int x=x1;
         int y=y1;

         putpixel(x,y,color);

         while(y!=y2)
        {
           y+=inc_dec;

           if(p<0)
              p+=two_dx;

           else
              {
             x++;
             p+=two_dx_dy;
              }

           putpixel(x,y,color);
        }
      }
    }

 /*************************************************************************///-----------------------------  Polygon( )  ----------------------------///*************************************************************************/void Polygon(constint n,constint coordinates[])
    {
       if(n>=2)
      {
         Line(coordinates[0],coordinates[1],
                         coordinates[2],coordinates[3]);

         for(int count=1;count<(n-1);count++)
        Line(coordinates[(count*2)],coordinates[((count*2)+1)],
                        coordinates[((count+1)*2)],
                        coordinates[(((count+1)*2)+1)]);
      }
    }

 /*************************************************************************///--------------------------  show_screen( )  ---------------------------///*************************************************************************/void show_screen( )
    {
       setfillstyle(1,1);
     bar(172,26,462,38);

       settextstyle(0,0,1);
     setcolor(15);
       outtextxy(5,5,"******************************************************************************");
       outtextxy(5,17,"*-**************************************************************************-*");
       outtextxy(5,29,"*-------------------                                      -------------------*");
       outtextxy(5,41,"*-**************************************************************************-*");
       outtextxy(5,53,"*-**************************************************************************-*");

     setcolor(11);
       outtextxy(182,29,"Urdu Alphabets using Stroke Method");

     setcolor(15);

       for(int count=0;count<=30;count++)
          outtextxy(5,(65+(count*12)),"*-*                                                                        *-*");

       outtextxy(5,438,"*-**************************************************************************-*");
       outtextxy(5,450,"*-------------------------                          -------------------------*");
       outtextxy(5,462,"******************************************************************************");

     setcolor(12);
       outtextxy(213,450,"  Press any Key to exit.  ");
    }

  
Share: 


Didn't find what you were looking for? Find more on Program to show the Urdu Alphabets using Stroke Method Or get search suggestion and latest updates.

Easy Tutor
Easy Tutor author of Program to show the Urdu Alphabets using Stroke Method is from United States. Easy Tutor says

Hello Friends,

I am Free Lance Tutor, who helped student in completing their homework.

I have 4 Years of hands on experience on helping student in completing their homework. I also guide them in doing their final year projects.

I have share many programs on this website for everyone to use freely, if you need further assistance, than please contact me on easytutor.2ya [at the rate] gmail [dot] com

I have special discount scheme for providing tutor services. I am providing tutor service to students from various contries, currently most of my students are from United States, India, Australia, Pakistan, Germany, UK and Canada.

I am also here to expand my technical network to receive more opportunity in my career, make friends to help them in resolving their technical problem, learn and share my knowledge, If you like to be my friend, Please send me friend request.

Thanks,
Happy Programming :)

 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!