unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  ExtCtrls;

type
  TForm1 = class(TForm)
    Image1: TImage;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.FormCreate(Sender: TObject);
const
  n = 80;
var
  nn : integer;
  ResultReg, Reg : HRGN;
  P : array[0..n-1] of TPoint;
begin
  //Put Ellipse
  //инициализация ResultReg
  ResultReg := CreateEllipticRgn(78,86,271,260);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,119,125,121);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,120);
  P[1] := Point(123,121);
  P[2] := Point(125,121);
  P[3] := Point(125,120);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,120,125,122);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,121);
  P[1] := Point(123,122);
  P[2] := Point(125,122);
  P[3] := Point(125,121);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,121,125,123);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,122);
  P[1] := Point(123,123);
  P[2] := Point(125,123);
  P[3] := Point(125,122);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,122,125,124);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,123);
  P[1] := Point(123,124);
  P[2] := Point(125,124);
  P[3] := Point(125,123);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,123,125,125);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(125,123);
  P[1] := Point(126,124);
  P[2] := Point(124,126);
  P[3] := Point(123,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,124,126,126);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,125);
  P[1] := Point(124,126);
  P[2] := Point(126,126);
  P[3] := Point(126,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,125,126,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,126);
  P[1] := Point(124,127);
  P[2] := Point(126,127);
  P[3] := Point(126,126);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,126,126,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,127);
  P[1] := Point(124,128);
  P[2] := Point(126,128);
  P[3] := Point(126,127);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,127,126,129);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,128);
  P[1] := Point(124,129);
  P[2] := Point(126,129);
  P[3] := Point(126,128);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,128,126,130);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,129);
  P[1] := Point(124,130);
  P[2] := Point(126,130);
  P[3] := Point(126,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,129,126,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(125,129);
  P[1] := Point(125,131);
  P[2] := Point(126,131);
  P[3] := Point(126,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(125,129,127,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(126,129);
  P[1] := Point(126,131);
  P[2] := Point(127,131);
  P[3] := Point(127,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(126,129,128,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(128,129);
  P[1] := Point(129,130);
  P[2] := Point(127,132);
  P[3] := Point(126,131);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(127,130,129,132);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(128,130);
  P[1] := Point(130,131);
  P[2] := Point(130,133);
  P[3] := Point(128,132);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(129,131,131,133);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(131,131);
  P[1] := Point(132,132);
  P[2] := Point(130,134);
  P[3] := Point(129,133);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(130,132,132,134);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(130,133);
  P[1] := Point(130,134);
  P[2] := Point(132,134);
  P[3] := Point(132,133);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(130,133,132,135);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(132,134);
  P[1] := Point(133,136);
  P[2] := Point(131,136);
  P[3] := Point(130,134);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(131,135,133,137);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(133,135);
  P[1] := Point(134,136);
  P[2] := Point(132,138);
  P[3] := Point(131,137);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(132,136,134,138);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(134,136);
  P[1] := Point(135,137);
  P[2] := Point(133,139);
  P[3] := Point(132,138);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(133,137,135,139);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(134,137);
  P[1] := Point(134,139);
  P[2] := Point(135,139);
  P[3] := Point(135,137);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(134,137,136,139);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(134,138);
  P[1] := Point(134,139);
  P[2] := Point(136,139);
  P[3] := Point(136,138);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(134,138,136,140);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(134,120,136,122);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(134,121);
  P[1] := Point(134,122);
  P[2] := Point(136,122);
  P[3] := Point(136,121);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(134,121,136,123);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(136,123);
  P[1] := Point(135,124);
  P[2] := Point(133,122);
  P[3] := Point(134,121);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(133,122,135,124);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(133,123);
  P[1] := Point(133,124);
  P[2] := Point(135,124);
  P[3] := Point(135,123);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(133,123,135,125);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(135,125);
  P[1] := Point(134,126);
  P[2] := Point(132,124);
  P[3] := Point(133,123);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(132,124,134,126);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(133,124);
  P[1] := Point(133,126);
  P[2] := Point(132,126);
  P[3] := Point(132,124);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(131,124,133,126);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(131,125);
  P[1] := Point(131,126);
  P[2] := Point(133,126);
  P[3] := Point(133,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(131,125,133,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(132,125);
  P[1] := Point(132,127);
  P[2] := Point(131,127);
  P[3] := Point(131,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(130,125,132,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(131,125);
  P[1] := Point(131,127);
  P[2] := Point(130,127);
  P[3] := Point(130,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(129,125,131,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(130,125);
  P[1] := Point(130,127);
  P[2] := Point(129,127);
  P[3] := Point(129,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(128,125,130,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(130,127);
  P[1] := Point(129,128);
  P[2] := Point(127,126);
  P[3] := Point(128,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(127,126,129,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(128,126);
  P[1] := Point(128,128);
  P[2] := Point(127,128);
  P[3] := Point(127,126);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(126,126,128,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(126,127);
  P[1] := Point(126,128);
  P[2] := Point(128,128);
  P[3] := Point(128,127);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(126,127,128,129);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(127,127);
  P[1] := Point(127,129);
  P[2] := Point(126,129);
  P[3] := Point(126,127);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(125,127,127,129);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(127,129);
  P[1] := Point(126,130);
  P[2] := Point(124,128);
  P[3] := Point(125,127);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,128,126,130);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,129);
  P[1] := Point(124,130);
  P[2] := Point(126,130);
  P[3] := Point(126,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,129,126,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(125,129);
  P[1] := Point(125,131);
  P[2] := Point(124,131);
  P[3] := Point(124,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,129,125,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,130);
  P[1] := Point(123,131);
  P[2] := Point(125,131);
  P[3] := Point(125,130);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,130,125,132);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,131);
  P[1] := Point(123,132);
  P[2] := Point(125,132);
  P[3] := Point(125,131);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,131,125,133);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,131);
  P[1] := Point(124,133);
  P[2] := Point(123,133);
  P[3] := Point(123,131);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(122,131,124,133);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,133);
  P[1] := Point(123,134);
  P[2] := Point(121,132);
  P[3] := Point(122,131);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(121,132,123,134);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(123,134);
  P[1] := Point(122,135);
  P[2] := Point(120,133);
  P[3] := Point(121,132);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(120,133,122,135);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(120,134);
  P[1] := Point(120,135);
  P[2] := Point(122,135);
  P[3] := Point(122,134);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(120,134,122,136);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(121,134);
  P[1] := Point(121,136);
  P[2] := Point(120,136);
  P[3] := Point(120,134);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(119,134,121,136);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(119,135);
  P[1] := Point(119,136);
  P[2] := Point(121,136);
  P[3] := Point(121,135);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(119,135,121,137);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(209,116,211,118);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(210,116);
  P[1] := Point(210,118);
  P[2] := Point(211,118);
  P[3] := Point(211,116);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(210,116,212,118);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(212,116);
  P[1] := Point(213,117);
  P[2] := Point(211,119);
  P[3] := Point(210,118);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(211,117,213,119);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(212,117);
  P[1] := Point(214,118);
  P[2] := Point(214,120);
  P[3] := Point(212,119);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(213,118,215,120);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(213,119);
  P[1] := Point(213,121);
  P[2] := Point(215,121);
  P[3] := Point(215,119);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(213,120,215,122);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,120);
  P[1] := Point(216,121);
  P[2] := Point(214,123);
  P[3] := Point(213,122);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(214,121,216,123);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(216,121);
  P[1] := Point(217,122);
  P[2] := Point(215,124);
  P[3] := Point(214,123);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,122,217,124);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,122);
  P[1] := Point(218,123);
  P[2] := Point(216,125);
  P[3] := Point(215,124);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(216,123,218,125);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(218,123);
  P[1] := Point(219,124);
  P[2] := Point(217,126);
  P[3] := Point(216,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,124,219,126);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,125);
  P[1] := Point(217,126);
  P[2] := Point(219,126);
  P[3] := Point(219,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,125,219,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,126);
  P[1] := Point(217,127);
  P[2] := Point(219,127);
  P[3] := Point(219,126);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,126,219,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,127);
  P[1] := Point(217,128);
  P[2] := Point(219,128);
  P[3] := Point(219,127);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,127,219,129);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(219,128);
  P[1] := Point(220,130);
  P[2] := Point(218,130);
  P[3] := Point(217,128);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(218,129,220,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(220,129);
  P[1] := Point(221,130);
  P[2] := Point(219,132);
  P[3] := Point(218,131);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,130,221,132);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(221,130);
  P[1] := Point(222,131);
  P[2] := Point(220,133);
  P[3] := Point(219,132);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(220,131,222,133);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,131);
  P[1] := Point(223,132);
  P[2] := Point(221,134);
  P[3] := Point(220,133);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(221,132,223,134);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,132);
  P[1] := Point(224,133);
  P[2] := Point(222,135);
  P[3] := Point(221,134);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,133,224,135);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,133);
  P[1] := Point(223,135);
  P[2] := Point(224,135);
  P[3] := Point(224,133);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(223,133,225,135);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,134);
  P[1] := Point(223,135);
  P[2] := Point(225,135);
  P[3] := Point(225,134);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(223,134,225,136);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(225,116,227,118);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(227,118);
  P[1] := Point(226,119);
  P[2] := Point(224,117);
  P[3] := Point(225,116);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(224,117,226,119);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(224,118);
  P[1] := Point(224,119);
  P[2] := Point(226,119);
  P[3] := Point(226,118);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(224,118,226,120);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(226,120);
  P[1] := Point(225,121);
  P[2] := Point(223,119);
  P[3] := Point(224,118);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(223,119,225,121);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(225,121);
  P[1] := Point(224,122);
  P[2] := Point(222,120);
  P[3] := Point(223,119);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,120,224,122);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(224,122);
  P[1] := Point(223,123);
  P[2] := Point(221,121);
  P[3] := Point(222,120);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(221,121,223,123);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(221,122);
  P[1] := Point(221,123);
  P[2] := Point(223,123);
  P[3] := Point(223,122);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(221,122,223,124);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,122);
  P[1] := Point(222,124);
  P[2] := Point(221,124);
  P[3] := Point(221,122);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(220,122,222,124);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,124);
  P[1] := Point(221,125);
  P[2] := Point(219,123);
  P[3] := Point(220,122);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,123,221,125);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(221,125);
  P[1] := Point(220,126);
  P[2] := Point(218,124);
  P[3] := Point(219,123);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(218,124,220,126);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(220,126);
  P[1] := Point(219,127);
  P[2] := Point(217,125);
  P[3] := Point(218,124);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,125,219,127);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(219,127);
  P[1] := Point(218,128);
  P[2] := Point(216,126);
  P[3] := Point(217,125);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(216,126,218,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,126);
  P[1] := Point(217,128);
  P[2] := Point(216,128);
  P[3] := Point(216,126);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,126,217,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(216,126);
  P[1] := Point(216,128);
  P[2] := Point(215,128);
  P[3] := Point(215,126);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(214,126,216,128);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(216,128);
  P[1] := Point(215,129);
  P[2] := Point(213,127);
  P[3] := Point(214,126);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(213,127,215,129);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(214,127);
  P[1] := Point(214,129);
  P[2] := Point(213,129);
  P[3] := Point(213,127);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(212,127,214,129);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(212,128);
  P[1] := Point(212,129);
  P[2] := Point(214,129);
  P[3] := Point(214,128);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(212,128,214,130);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(213,128);
  P[1] := Point(213,130);
  P[2] := Point(212,130);
  P[3] := Point(212,128);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(211,128,213,130);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(212,128);
  P[1] := Point(212,130);
  P[2] := Point(211,130);
  P[3] := Point(211,128);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(210,128,212,130);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(210,129);
  P[1] := Point(210,130);
  P[2] := Point(212,130);
  P[3] := Point(212,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(210,129,212,131);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(212,131);
  P[1] := Point(211,132);
  P[2] := Point(209,130);
  P[3] := Point(210,129);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(209,130,211,132);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(210,130);
  P[1] := Point(210,132);
  P[2] := Point(208,132);
  P[3] := Point(208,130);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(207,130,209,132);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(209,132);
  P[1] := Point(208,133);
  P[2] := Point(206,131);
  P[3] := Point(207,130);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(206,131,208,133);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(97,175,99,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(98,175);
  P[1] := Point(98,177);
  P[2] := Point(99,177);
  P[3] := Point(99,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(98,175,100,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(99,175);
  P[1] := Point(99,177);
  P[2] := Point(100,177);
  P[3] := Point(100,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(99,175,101,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(100,175);
  P[1] := Point(100,177);
  P[2] := Point(101,177);
  P[3] := Point(101,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(100,175,102,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(101,175);
  P[1] := Point(101,177);
  P[2] := Point(102,177);
  P[3] := Point(102,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(101,175,103,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(102,175);
  P[1] := Point(102,177);
  P[2] := Point(103,177);
  P[3] := Point(103,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(102,175,104,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,175);
  P[1] := Point(103,177);
  P[2] := Point(104,177);
  P[3] := Point(104,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,175,105,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,176);
  P[1] := Point(103,177);
  P[2] := Point(105,177);
  P[3] := Point(105,176);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,176,105,178);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,177);
  P[1] := Point(103,178);
  P[2] := Point(105,178);
  P[3] := Point(105,177);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,177,105,179);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,178);
  P[1] := Point(103,179);
  P[2] := Point(105,179);
  P[3] := Point(105,178);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,178,105,180);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,179);
  P[1] := Point(103,180);
  P[2] := Point(105,180);
  P[3] := Point(105,179);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,179,105,181);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,180);
  P[1] := Point(103,181);
  P[2] := Point(105,181);
  P[3] := Point(105,180);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,180,105,182);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(103,181);
  P[1] := Point(103,182);
  P[2] := Point(105,182);
  P[3] := Point(105,181);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(103,181,105,183);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(105,181);
  P[1] := Point(106,182);
  P[2] := Point(104,184);
  P[3] := Point(103,183);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(104,182,106,184);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(104,183);
  P[1] := Point(104,184);
  P[2] := Point(106,184);
  P[3] := Point(106,183);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(104,183,106,185);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(106,183);
  P[1] := Point(107,184);
  P[2] := Point(105,186);
  P[3] := Point(104,185);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(105,184,107,186);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(105,185);
  P[1] := Point(105,186);
  P[2] := Point(107,186);
  P[3] := Point(107,185);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(105,185,107,187);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(106,185);
  P[1] := Point(106,187);
  P[2] := Point(107,187);
  P[3] := Point(107,185);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(106,185,108,187);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(106,186);
  P[1] := Point(106,187);
  P[2] := Point(108,187);
  P[3] := Point(108,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(106,186,108,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(107,186);
  P[1] := Point(107,188);
  P[2] := Point(108,188);
  P[3] := Point(108,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(107,186,109,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(108,186);
  P[1] := Point(108,188);
  P[2] := Point(109,188);
  P[3] := Point(109,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(108,186,110,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(109,186);
  P[1] := Point(109,188);
  P[2] := Point(110,188);
  P[3] := Point(110,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(109,186,111,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(110,186);
  P[1] := Point(110,188);
  P[2] := Point(111,188);
  P[3] := Point(111,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(110,186,112,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(111,186);
  P[1] := Point(111,188);
  P[2] := Point(112,188);
  P[3] := Point(112,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(111,186,113,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(112,186);
  P[1] := Point(112,188);
  P[2] := Point(113,188);
  P[3] := Point(113,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(112,186,114,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(113,186);
  P[1] := Point(113,188);
  P[2] := Point(114,188);
  P[3] := Point(114,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(113,186,115,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(114,186);
  P[1] := Point(114,188);
  P[2] := Point(115,188);
  P[3] := Point(115,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(114,186,116,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(116,186);
  P[1] := Point(117,187);
  P[2] := Point(115,189);
  P[3] := Point(114,188);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(115,187,117,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(115,188);
  P[1] := Point(115,189);
  P[2] := Point(117,189);
  P[3] := Point(117,188);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(115,188,117,190);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(115,189);
  P[1] := Point(115,191);
  P[2] := Point(117,191);
  P[3] := Point(117,189);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(115,190,117,192);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(115,191);
  P[1] := Point(115,193);
  P[2] := Point(117,193);
  P[3] := Point(117,191);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(115,192,117,194);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(115,193);
  P[1] := Point(115,194);
  P[2] := Point(117,194);
  P[3] := Point(117,193);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(115,193,117,195);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(115,194);
  P[1] := Point(115,195);
  P[2] := Point(117,195);
  P[3] := Point(117,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(115,194,117,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(116,194);
  P[1] := Point(116,196);
  P[2] := Point(117,196);
  P[3] := Point(117,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(116,194,118,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(116,195);
  P[1] := Point(116,196);
  P[2] := Point(118,196);
  P[3] := Point(118,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(116,195,118,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(117,195);
  P[1] := Point(117,197);
  P[2] := Point(118,197);
  P[3] := Point(118,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(117,195,119,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(118,195);
  P[1] := Point(118,197);
  P[2] := Point(119,197);
  P[3] := Point(119,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(118,195,120,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(119,195);
  P[1] := Point(119,197);
  P[2] := Point(120,197);
  P[3] := Point(120,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(119,195,121,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(120,195);
  P[1] := Point(120,197);
  P[2] := Point(121,197);
  P[3] := Point(121,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(120,195,122,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(120,196);
  P[1] := Point(120,195);
  P[2] := Point(122,195);
  P[3] := Point(122,196);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(120,194,122,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(121,194);
  P[1] := Point(121,196);
  P[2] := Point(122,196);
  P[3] := Point(122,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(121,194,123,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(122,194);
  P[1] := Point(122,196);
  P[2] := Point(124,196);
  P[3] := Point(124,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(123,194,125,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,194);
  P[1] := Point(124,196);
  P[2] := Point(125,196);
  P[3] := Point(125,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,194,126,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,195);
  P[1] := Point(124,197);
  P[2] := Point(126,197);
  P[3] := Point(126,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,196,126,198);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,197);
  P[1] := Point(124,198);
  P[2] := Point(126,198);
  P[3] := Point(126,197);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,197,126,199);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,198);
  P[1] := Point(124,199);
  P[2] := Point(126,199);
  P[3] := Point(126,198);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,198,126,200);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,199);
  P[1] := Point(124,201);
  P[2] := Point(126,201);
  P[3] := Point(126,199);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,200,126,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(124,201);
  P[1] := Point(124,203);
  P[2] := Point(126,203);
  P[3] := Point(126,201);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(124,202,126,204);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(125,202);
  P[1] := Point(125,204);
  P[2] := Point(126,204);
  P[3] := Point(126,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(125,202,127,204);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(127,202);
  P[1] := Point(128,203);
  P[2] := Point(126,205);
  P[3] := Point(125,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(126,203,128,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(127,203);
  P[1] := Point(127,205);
  P[2] := Point(128,205);
  P[3] := Point(128,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(127,203,129,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(129,203);
  P[1] := Point(130,204);
  P[2] := Point(128,206);
  P[3] := Point(127,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(128,204,130,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(129,204);
  P[1] := Point(129,206);
  P[2] := Point(131,206);
  P[3] := Point(131,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(130,204,132,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(131,204);
  P[1] := Point(131,206);
  P[2] := Point(132,206);
  P[3] := Point(132,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(131,204,133,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(133,206);
  P[1] := Point(134,205);
  P[2] := Point(132,203);
  P[3] := Point(131,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(132,203,134,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(133,203);
  P[1] := Point(133,205);
  P[2] := Point(134,205);
  P[3] := Point(134,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(133,203,135,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(135,204);
  P[1] := Point(136,202);
  P[2] := Point(134,202);
  P[3] := Point(133,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(134,201,136,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(135,201);
  P[1] := Point(135,203);
  P[2] := Point(137,203);
  P[3] := Point(137,201);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(136,201,138,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(137,201);
  P[1] := Point(137,203);
  P[2] := Point(138,203);
  P[3] := Point(138,201);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(137,201,139,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(139,201);
  P[1] := Point(140,202);
  P[2] := Point(138,204);
  P[3] := Point(137,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(138,202,140,204);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(138,203);
  P[1] := Point(138,204);
  P[2] := Point(140,204);
  P[3] := Point(140,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(138,203,140,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(140,203);
  P[1] := Point(141,204);
  P[2] := Point(139,206);
  P[3] := Point(138,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(139,204,141,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(141,204);
  P[1] := Point(142,205);
  P[2] := Point(140,207);
  P[3] := Point(139,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(140,205,142,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(140,206);
  P[1] := Point(140,207);
  P[2] := Point(142,207);
  P[3] := Point(142,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(140,206,142,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(140,207);
  P[1] := Point(140,208);
  P[2] := Point(142,208);
  P[3] := Point(142,207);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(140,207,142,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(140,208);
  P[1] := Point(140,209);
  P[2] := Point(142,209);
  P[3] := Point(142,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(140,208,142,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(140,209);
  P[1] := Point(140,210);
  P[2] := Point(142,210);
  P[3] := Point(142,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(140,209,142,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(141,209);
  P[1] := Point(141,211);
  P[2] := Point(142,211);
  P[3] := Point(142,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(141,209,143,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(141,210);
  P[1] := Point(141,211);
  P[2] := Point(143,211);
  P[3] := Point(143,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(141,210,143,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(142,210);
  P[1] := Point(142,212);
  P[2] := Point(143,212);
  P[3] := Point(143,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(142,210,144,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(143,210);
  P[1] := Point(143,212);
  P[2] := Point(144,212);
  P[3] := Point(144,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(143,210,145,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(144,210);
  P[1] := Point(144,212);
  P[2] := Point(145,212);
  P[3] := Point(145,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(144,210,146,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(145,210);
  P[1] := Point(145,212);
  P[2] := Point(146,212);
  P[3] := Point(146,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(145,210,147,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(147,212);
  P[1] := Point(148,211);
  P[2] := Point(146,209);
  P[3] := Point(145,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(146,209,148,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(148,210);
  P[1] := Point(149,208);
  P[2] := Point(147,208);
  P[3] := Point(146,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(147,207,149,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(148,207);
  P[1] := Point(148,209);
  P[2] := Point(150,209);
  P[3] := Point(150,207);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(149,207,151,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(149,208);
  P[1] := Point(149,207);
  P[2] := Point(151,207);
  P[3] := Point(151,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(149,206,151,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(151,208);
  P[1] := Point(152,207);
  P[2] := Point(150,205);
  P[3] := Point(149,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(150,205,152,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(151,205);
  P[1] := Point(151,207);
  P[2] := Point(152,207);
  P[3] := Point(152,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(151,205,153,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(152,205);
  P[1] := Point(152,207);
  P[2] := Point(153,207);
  P[3] := Point(153,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(152,205,154,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(152,206);
  P[1] := Point(152,207);
  P[2] := Point(154,207);
  P[3] := Point(154,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(152,206,154,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(152,207);
  P[1] := Point(152,208);
  P[2] := Point(154,208);
  P[3] := Point(154,207);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(152,207,154,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(152,208);
  P[1] := Point(152,209);
  P[2] := Point(154,209);
  P[3] := Point(154,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(152,208,154,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(152,209);
  P[1] := Point(152,210);
  P[2] := Point(154,210);
  P[3] := Point(154,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(152,209,154,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(153,209);
  P[1] := Point(155,210);
  P[2] := Point(155,212);
  P[3] := Point(153,211);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(154,210,156,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(155,210);
  P[1] := Point(155,212);
  P[2] := Point(156,212);
  P[3] := Point(156,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(155,210,157,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(156,210);
  P[1] := Point(156,212);
  P[2] := Point(157,212);
  P[3] := Point(157,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(156,210,158,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(157,210);
  P[1] := Point(157,212);
  P[2] := Point(158,212);
  P[3] := Point(158,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(157,210,159,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(158,210);
  P[1] := Point(158,212);
  P[2] := Point(159,212);
  P[3] := Point(159,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(158,210,160,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(159,210);
  P[1] := Point(159,212);
  P[2] := Point(161,212);
  P[3] := Point(161,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(160,210,162,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(161,210);
  P[1] := Point(161,212);
  P[2] := Point(163,212);
  P[3] := Point(163,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(162,210,164,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(162,211);
  P[1] := Point(162,210);
  P[2] := Point(164,210);
  P[3] := Point(164,211);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(162,209,164,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(162,210);
  P[1] := Point(162,209);
  P[2] := Point(164,209);
  P[3] := Point(164,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(162,208,164,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(162,209);
  P[1] := Point(162,208);
  P[2] := Point(164,208);
  P[3] := Point(164,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(162,207,164,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(162,208);
  P[1] := Point(162,207);
  P[2] := Point(164,207);
  P[3] := Point(164,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(162,206,164,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(162,207);
  P[1] := Point(162,205);
  P[2] := Point(164,205);
  P[3] := Point(164,207);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(162,204,164,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(163,204);
  P[1] := Point(163,206);
  P[2] := Point(164,206);
  P[3] := Point(164,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(163,204,165,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(164,204);
  P[1] := Point(164,206);
  P[2] := Point(165,206);
  P[3] := Point(165,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(164,204,166,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(165,204);
  P[1] := Point(165,206);
  P[2] := Point(167,206);
  P[3] := Point(167,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(166,204,168,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(167,204);
  P[1] := Point(167,206);
  P[2] := Point(169,206);
  P[3] := Point(169,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(168,204,170,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(169,204);
  P[1] := Point(169,206);
  P[2] := Point(170,206);
  P[3] := Point(170,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(169,204,171,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(170,204);
  P[1] := Point(172,205);
  P[2] := Point(172,207);
  P[3] := Point(170,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(171,205,173,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(173,205);
  P[1] := Point(174,206);
  P[2] := Point(172,208);
  P[3] := Point(171,207);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(172,206,174,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(174,206);
  P[1] := Point(175,207);
  P[2] := Point(173,209);
  P[3] := Point(172,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(173,207,175,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(174,207);
  P[1] := Point(176,208);
  P[2] := Point(176,210);
  P[3] := Point(174,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(175,208,177,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(176,208);
  P[1] := Point(178,209);
  P[2] := Point(178,211);
  P[3] := Point(176,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(177,209,179,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(178,209);
  P[1] := Point(178,211);
  P[2] := Point(179,211);
  P[3] := Point(179,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(178,209,180,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(179,209);
  P[1] := Point(179,211);
  P[2] := Point(180,211);
  P[3] := Point(180,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(179,209,181,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(180,209);
  P[1] := Point(180,211);
  P[2] := Point(182,211);
  P[3] := Point(182,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(181,209,183,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(182,209);
  P[1] := Point(182,211);
  P[2] := Point(184,211);
  P[3] := Point(184,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,209,185,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(183,210);
  P[1] := Point(183,209);
  P[2] := Point(185,209);
  P[3] := Point(185,210);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,208,185,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(183,209);
  P[1] := Point(183,208);
  P[2] := Point(185,208);
  P[3] := Point(185,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,207,185,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(183,208);
  P[1] := Point(183,206);
  P[2] := Point(185,206);
  P[3] := Point(185,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,205,185,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(183,206);
  P[1] := Point(183,205);
  P[2] := Point(185,205);
  P[3] := Point(185,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,204,185,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(183,205);
  P[1] := Point(183,204);
  P[2] := Point(185,204);
  P[3] := Point(185,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,203,185,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(183,204);
  P[1] := Point(183,203);
  P[2] := Point(185,203);
  P[3] := Point(185,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(183,202,185,204);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(185,204);
  P[1] := Point(186,203);
  P[2] := Point(184,201);
  P[3] := Point(183,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(184,201,186,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(185,203);
  P[1] := Point(193,202);
  P[2] := Point(193,200);
  P[3] := Point(185,201);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(192,200,194,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(193,200);
  P[1] := Point(193,202);
  P[2] := Point(194,202);
  P[3] := Point(194,200);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(193,200,195,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(194,200);
  P[1] := Point(194,202);
  P[2] := Point(196,202);
  P[3] := Point(196,200);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(195,200,197,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(197,200);
  P[1] := Point(198,201);
  P[2] := Point(196,203);
  P[3] := Point(195,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(196,201,198,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(196,202);
  P[1] := Point(196,203);
  P[2] := Point(198,203);
  P[3] := Point(198,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(196,202,198,204);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(196,203);
  P[1] := Point(196,204);
  P[2] := Point(198,204);
  P[3] := Point(198,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(196,203,198,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(198,203);
  P[1] := Point(199,204);
  P[2] := Point(197,206);
  P[3] := Point(196,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(197,204,199,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(199,204);
  P[1] := Point(200,205);
  P[2] := Point(198,207);
  P[3] := Point(197,206);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(198,205,200,207);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(200,207);
  P[1] := Point(201,206);
  P[2] := Point(199,204);
  P[3] := Point(198,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(199,204,201,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(200,206);
  P[1] := Point(208,205);
  P[2] := Point(208,203);
  P[3] := Point(200,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(207,203,209,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(208,203);
  P[1] := Point(208,205);
  P[2] := Point(216,205);
  P[3] := Point(216,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,203,217,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,204);
  P[1] := Point(215,202);
  P[2] := Point(217,202);
  P[3] := Point(217,204);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,201,217,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,202);
  P[1] := Point(215,201);
  P[2] := Point(217,201);
  P[3] := Point(217,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,200,217,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,201);
  P[1] := Point(215,200);
  P[2] := Point(217,200);
  P[3] := Point(217,201);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,199,217,201);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,200);
  P[1] := Point(215,199);
  P[2] := Point(217,199);
  P[3] := Point(217,200);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,198,217,200);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,199);
  P[1] := Point(215,198);
  P[2] := Point(217,198);
  P[3] := Point(217,199);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,197,217,199);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,198);
  P[1] := Point(215,197);
  P[2] := Point(217,197);
  P[3] := Point(217,198);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,196,217,198);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,197);
  P[1] := Point(215,196);
  P[2] := Point(217,196);
  P[3] := Point(217,197);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,195,217,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,196);
  P[1] := Point(215,195);
  P[2] := Point(217,195);
  P[3] := Point(217,196);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,194,217,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,195);
  P[1] := Point(215,194);
  P[2] := Point(217,194);
  P[3] := Point(217,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,193,217,195);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,194);
  P[1] := Point(215,193);
  P[2] := Point(217,193);
  P[3] := Point(217,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,192,217,194);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,193);
  P[1] := Point(215,192);
  P[2] := Point(217,192);
  P[3] := Point(217,193);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,191,217,193);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,192);
  P[1] := Point(215,190);
  P[2] := Point(217,190);
  P[3] := Point(217,192);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,189,217,191);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,191);
  P[1] := Point(218,190);
  P[2] := Point(216,188);
  P[3] := Point(215,189);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(216,188,218,190);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,190);
  P[1] := Point(223,189);
  P[2] := Point(223,187);
  P[3] := Point(217,188);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,187,224,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,187);
  P[1] := Point(223,189);
  P[2] := Point(225,189);
  P[3] := Point(225,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(224,187,226,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(225,187);
  P[1] := Point(225,189);
  P[2] := Point(226,189);
  P[3] := Point(226,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(225,187,227,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(226,187);
  P[1] := Point(226,189);
  P[2] := Point(227,189);
  P[3] := Point(227,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(226,187,228,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(227,187);
  P[1] := Point(227,189);
  P[2] := Point(228,189);
  P[3] := Point(228,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(227,187,229,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(228,187);
  P[1] := Point(228,189);
  P[2] := Point(230,189);
  P[3] := Point(230,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(229,187,231,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,187);
  P[1] := Point(230,189);
  P[2] := Point(231,189);
  P[3] := Point(231,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,187,232,189);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,188);
  P[1] := Point(230,187);
  P[2] := Point(232,187);
  P[3] := Point(232,188);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,186,232,188);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,187);
  P[1] := Point(230,186);
  P[2] := Point(232,186);
  P[3] := Point(232,187);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,185,232,187);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,186);
  P[1] := Point(230,185);
  P[2] := Point(232,185);
  P[3] := Point(232,186);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,184,232,186);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,185);
  P[1] := Point(230,184);
  P[2] := Point(232,184);
  P[3] := Point(232,185);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,183,232,185);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,184);
  P[1] := Point(230,183);
  P[2] := Point(232,183);
  P[3] := Point(232,184);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,182,232,184);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,183);
  P[1] := Point(230,182);
  P[2] := Point(232,182);
  P[3] := Point(232,183);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,181,232,183);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,182);
  P[1] := Point(230,181);
  P[2] := Point(232,181);
  P[3] := Point(232,182);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,180,232,182);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(232,182);
  P[1] := Point(233,181);
  P[2] := Point(231,179);
  P[3] := Point(230,180);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(231,179,233,181);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(232,181);
  P[1] := Point(234,180);
  P[2] := Point(234,178);
  P[3] := Point(232,179);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(233,178,235,180);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(234,178);
  P[1] := Point(234,180);
  P[2] := Point(235,180);
  P[3] := Point(235,178);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(234,178,236,180);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(236,180);
  P[1] := Point(237,179);
  P[2] := Point(235,177);
  P[3] := Point(234,178);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(235,177,237,179);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(236,177);
  P[1] := Point(236,179);
  P[2] := Point(238,179);
  P[3] := Point(238,177);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,177,239,179);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,179);
  P[1] := Point(240,178);
  P[2] := Point(238,176);
  P[3] := Point(237,177);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(238,176,240,178);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,176);
  P[1] := Point(239,178);
  P[2] := Point(240,178);
  P[3] := Point(240,176);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,176,241,178);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,177);
  P[1] := Point(239,176);
  P[2] := Point(241,176);
  P[3] := Point(241,177);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,175,241,177);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,176);
  P[1] := Point(239,175);
  P[2] := Point(241,175);
  P[3] := Point(241,176);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,174,241,176);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,175);
  P[1] := Point(239,174);
  P[2] := Point(241,174);
  P[3] := Point(241,175);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,173,241,175);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,174);
  P[1] := Point(239,173);
  P[2] := Point(241,173);
  P[3] := Point(241,174);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,172,241,174);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,173);
  P[1] := Point(239,172);
  P[2] := Point(241,172);
  P[3] := Point(241,173);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,171,241,173);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,172);
  P[1] := Point(239,171);
  P[2] := Point(241,171);
  P[3] := Point(241,172);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,170,241,172);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,171);
  P[1] := Point(239,170);
  P[2] := Point(241,170);
  P[3] := Point(241,171);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,169,241,171);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,170);
  P[1] := Point(239,168);
  P[2] := Point(241,168);
  P[3] := Point(241,170);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(239,167,241,169);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(211,203,213,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(212,203);
  P[1] := Point(214,204);
  P[2] := Point(214,206);
  P[3] := Point(212,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(213,204,215,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,205);
  P[1] := Point(216,207);
  P[2] := Point(214,207);
  P[3] := Point(213,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(214,206,216,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(216,206);
  P[1] := Point(217,207);
  P[2] := Point(215,209);
  P[3] := Point(214,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,207,217,209);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,208);
  P[1] := Point(215,209);
  P[2] := Point(217,209);
  P[3] := Point(217,208);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,208,217,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(215,209);
  P[1] := Point(215,210);
  P[2] := Point(217,210);
  P[3] := Point(217,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(215,209,217,211);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,209);
  P[1] := Point(218,210);
  P[2] := Point(216,212);
  P[3] := Point(215,211);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(216,210,218,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(216,211);
  P[1] := Point(216,212);
  P[2] := Point(218,212);
  P[3] := Point(218,211);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(216,211,218,213);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(218,211);
  P[1] := Point(219,212);
  P[2] := Point(217,214);
  P[3] := Point(216,213);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,212,219,214);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(217,213);
  P[1] := Point(217,214);
  P[2] := Point(219,214);
  P[3] := Point(219,213);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(217,213,219,215);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(219,213);
  P[1] := Point(220,214);
  P[2] := Point(218,216);
  P[3] := Point(217,215);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(218,214,220,216);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(220,214);
  P[1] := Point(221,215);
  P[2] := Point(219,217);
  P[3] := Point(218,216);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,215,221,217);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(219,216);
  P[1] := Point(219,217);
  P[2] := Point(221,217);
  P[3] := Point(221,216);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,216,221,218);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(221,216);
  P[1] := Point(222,217);
  P[2] := Point(220,219);
  P[3] := Point(219,218);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(220,217,222,219);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,217);
  P[1] := Point(223,218);
  P[2] := Point(221,220);
  P[3] := Point(220,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(221,218,223,220);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,218);
  P[1] := Point(224,219);
  P[2] := Point(222,221);
  P[3] := Point(221,220);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,219,224,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,219);
  P[1] := Point(223,221);
  P[2] := Point(224,221);
  P[3] := Point(224,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(223,219,225,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(224,219);
  P[1] := Point(224,221);
  P[2] := Point(226,221);
  P[3] := Point(226,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(225,219,227,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(226,219);
  P[1] := Point(226,221);
  P[2] := Point(227,221);
  P[3] := Point(227,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(226,219,228,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(227,219);
  P[1] := Point(227,221);
  P[2] := Point(228,221);
  P[3] := Point(228,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(227,219,229,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(228,219);
  P[1] := Point(228,221);
  P[2] := Point(230,221);
  P[3] := Point(230,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(229,219,231,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(230,219);
  P[1] := Point(230,221);
  P[2] := Point(232,221);
  P[3] := Point(232,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(231,219,233,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(232,219);
  P[1] := Point(232,221);
  P[2] := Point(238,221);
  P[3] := Point(238,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,219,239,221);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,220);
  P[1] := Point(237,219);
  P[2] := Point(239,219);
  P[3] := Point(239,220);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,218,239,220);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,219);
  P[1] := Point(237,218);
  P[2] := Point(239,218);
  P[3] := Point(239,219);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,217,239,219);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,218);
  P[1] := Point(237,217);
  P[2] := Point(239,217);
  P[3] := Point(239,218);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,216,239,218);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,217);
  P[1] := Point(237,216);
  P[2] := Point(239,216);
  P[3] := Point(239,217);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,215,239,217);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,216);
  P[1] := Point(237,215);
  P[2] := Point(239,215);
  P[3] := Point(239,216);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,214,239,216);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,215);
  P[1] := Point(237,214);
  P[2] := Point(239,214);
  P[3] := Point(239,215);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,213,239,215);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,214);
  P[1] := Point(237,213);
  P[2] := Point(239,213);
  P[3] := Point(239,214);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,212,239,214);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,213);
  P[1] := Point(237,212);
  P[2] := Point(239,212);
  P[3] := Point(239,213);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,211,239,213);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,212);
  P[1] := Point(237,211);
  P[2] := Point(239,211);
  P[3] := Point(239,212);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,210,239,212);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,211);
  P[1] := Point(237,209);
  P[2] := Point(239,209);
  P[3] := Point(239,211);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,208,239,210);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,209);
  P[1] := Point(237,207);
  P[2] := Point(239,207);
  P[3] := Point(239,209);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(237,206,239,208);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(239,207);
  P[1] := Point(238,205);
  P[2] := Point(236,205);
  P[3] := Point(237,207);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(236,204,238,206);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(236,205);
  P[1] := Point(236,204);
  P[2] := Point(238,204);
  P[3] := Point(238,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(236,203,238,205);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(238,203);
  P[1] := Point(237,202);
  P[2] := Point(235,204);
  P[3] := Point(236,205);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(235,202,237,204);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(235,203);
  P[1] := Point(235,202);
  P[2] := Point(237,202);
  P[3] := Point(237,203);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(235,201,237,203);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(235,202);
  P[1] := Point(235,201);
  P[2] := Point(237,201);
  P[3] := Point(237,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(235,200,237,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(237,200);
  P[1] := Point(236,199);
  P[2] := Point(234,201);
  P[3] := Point(235,202);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(234,199,236,201);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(236,199);
  P[1] := Point(235,198);
  P[2] := Point(233,200);
  P[3] := Point(234,201);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(233,198,235,200);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(233,199);
  P[1] := Point(233,198);
  P[2] := Point(235,198);
  P[3] := Point(235,199);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(233,197,235,199);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(235,197);
  P[1] := Point(234,196);
  P[2] := Point(232,198);
  P[3] := Point(233,199);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(232,196,234,198);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(232,197);
  P[1] := Point(232,196);
  P[2] := Point(234,196);
  P[3] := Point(234,197);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(232,195,234,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(232,196);
  P[1] := Point(232,195);
  P[2] := Point(234,195);
  P[3] := Point(234,196);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(232,194,234,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(232,195);
  P[1] := Point(232,194);
  P[2] := Point(234,194);
  P[3] := Point(234,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(232,193,234,195);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(233,193);
  P[1] := Point(233,195);
  P[2] := Point(232,195);
  P[3] := Point(232,193);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(231,193,233,195);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(231,194);
  P[1] := Point(231,193);
  P[2] := Point(233,193);
  P[3] := Point(233,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(231,192,233,194);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(231,193);
  P[1] := Point(231,192);
  P[2] := Point(233,192);
  P[3] := Point(233,193);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(231,191,233,193);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(233,191);
  P[1] := Point(232,190);
  P[2] := Point(230,192);
  P[3] := Point(231,193);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(230,190,232,192);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,188,221,190);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(219,189);
  P[1] := Point(219,190);
  P[2] := Point(221,190);
  P[3] := Point(221,189);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,189,221,191);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(219,190);
  P[1] := Point(219,191);
  P[2] := Point(221,191);
  P[3] := Point(221,190);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(219,190,221,192);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(220,190);
  P[1] := Point(222,191);
  P[2] := Point(222,193);
  P[3] := Point(220,192);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(221,191,223,193);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,192);
  P[1] := Point(224,194);
  P[2] := Point(222,194);
  P[3] := Point(221,192);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,193,224,195);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,194);
  P[1] := Point(222,195);
  P[2] := Point(224,195);
  P[3] := Point(224,194);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,194,224,196);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,195);
  P[1] := Point(222,196);
  P[2] := Point(224,196);
  P[3] := Point(224,195);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,195,224,197);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,196);
  P[1] := Point(222,197);
  P[2] := Point(224,197);
  P[3] := Point(224,196);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,196,224,198);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(222,197);
  P[1] := Point(222,199);
  P[2] := Point(224,199);
  P[3] := Point(224,197);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(222,198,224,200);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(224,198);
  P[1] := Point(225,199);
  P[2] := Point(223,201);
  P[3] := Point(222,200);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(223,199,225,201);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put polygon
  nn := 4;
  P[0] := Point(223,200);
  P[1] := Point(223,201);
  P[2] := Point(225,201);
  P[3] := Point(225,200);
  Reg := CreatePolygonRgn(P, nn, ALTERNATE);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  //Put Ellipse
  Reg := CreateEllipticRgn(223,200,225,202);
  CombineRgn(ResultReg,ResultReg,Reg,RGN_DIFF);
  SetWindowRgn(Handle, ResultReg, False);
end;

end.
