C++ Programming Tutorial

 
 
 

Graphics Programming

Quadratic Surfaces

Draw a Sphere using Ellipses Draw a Sphere using Parametric Equations Draw an Ellipsoid using Parametric Equations

Character Generation

Urdu Alphabets using Stroke Method Urdu Alphabets using Matrix Method

Arc

Circular Arc using Trigo. Method Elliptical Arc using Trigo. Method

General Programs

C-Curve of nth order K-Curve of nth order Cubic Bezier Curve Bezier Curve of nth degree Scanfill algorithm Boundary Fill - 8 Connected Point Flood fill algorithm Rotate About Origin Rotate about reference point Scaling about origin Scaling about reference point Polyline translation Reflection in x axis Reflection in y Axis Reflection on any line Midpoint Circle Drawing Bresenhams Line Algorithm (BLA) Generate a pattern Draw a Chess Board Draw a Luddo Board Deterministic Finite Automation for identifier Kurskals algo - Minimum Cost Spanning Tree

Windows Programs

Checkbox like windows Simple windows & buttons Moving message box like windows Text box Graphical Rep. of tower of hanoi Graphical menu - operate it using arrow keys Text animation

Line

Line using Parametric equations Line-Cartesian Slope-Intercept Equation simple imp Line using Cartesian Slope-Intercept Equation Line - BLA - slopes negative and greater than 1 Line - BLA - slopes negative and less than 1 Line - BLA - slopes positive and greater than 1 Line - BLA - slopes positive and less than 1 DDA line drawing algorithm Bresenham line drawing algorithm Cohen sutherland Line clipping algo.

Line Styles

Different kinds of Dashed Lines Different kinds of Thick Lines

Polygons

Draw a Polygon Draw a Triangle Draw a Rectangle Sutherland-Hodgeman Polygon Clipping Algo

Circle

Circle using Trigo. Method Circle using Polynomial Method Circle using Bresenhams Circle algo. Circle using MidPoint Circle algo.

Ellipse

Ellipse using Polynomial Method Ellipse using Trigo. Method Ellipse using MidPoint Ellipse algo.

2D Transformations

Translation Transformation Scaling Transformation Scaling Trans along a Fixed Point Scaling Trans along Arbitrary Direction Rotation Transformation Rotation Trans along a Pivot Point Reflection tran of x-axix, y-axis and w.r.t origin Reflection tran of line y=x and y=-x X-Direction Shear Transformation Y-Direction Shear Transformation

2D Viewing - Clipping

Window-to-Viewport Coordinate Tran Point Clipping Algorithm Cohen-Sutherland Line Clipping Algo Cohen-Sutherland MidPoint Subdivision Line Nicol Lee Nicol algo. for Line Clipping Liang-Barsky Line Clipping Algo Window-to-Viewport Transformaton None-or-All String Clipping Strategy None-or-All Character Clipping Strategy

3D Object Representations

3D object using Polygon-Mesh Rep. 3D object - Translational Sweep Representatiom 3D object - Rotational Sweep Rep.

3D Transformations

3D Rotation Trans along x-axis 3D Rotation Trans along y-axis 3D Rotation Trans along z-axis 3D Reflection Trans along xy-plane 3D Reflection Trans along yz-plane 3D Reflection Trans along zx-plane 3D Shearing Trans along x-axis 3D Shearing Trans along y-axis 3D Shearing Trans along z-axis

Bezier Curves - Surfaces

3D Cubic Bezier Curve 3D Bezier Curve of nth degree 3D Piece-Wise Bezier Curve of nth degree 3D Bezier Surface for MxN control points

Projection

3D objects - Standard Perspective Projection 3D obj - Arbitrary Plane and Center of Projection 3D objects using General Perspective Projection 3D obj-Orthographics Proje Parallel onto xy-plane 3D obj-Cavalier Oblique Parallel prj-xy-plane 3D obj-Cabinet Oblique Parallel prj - xy-plane

Fill Algorithm or Area Filling

Geometric shapes using Boundary Geometric shapes - Boundary - Linked List Geometric shapes using Flood Geometric shapes - Flood - Linked-List Polygon using Scan Line Polygon Rectangle using Scan-Line Rectangle Circle using Scan-Line Circle Circle - Scan-Line Circle - Polar Coordinates
 
 
 # include <iostream.h>
 # include <graphics.h>
 # include    <conio.h>
 # include     <math.h>

 void show_screen( );

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

 void Line(const int,const int,const int,const int);
 void Polygon(const int,const int []);

 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x,const int 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(const int x_1,const int y_1,const int x_2,const int 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(const int n,const int 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.  \");
    }

 
 
Didn't find what you were looking for? Find more on Program to show the Urdu Alphabets using Stroke Method