<s>
The	O
General	B-Library
Polygon	I-Library
Clipper	I-Library
(	O
GPC	O
)	O
is	O
a	O
software	O
library	O
providing	O
for	O
computing	O
the	O
results	O
of	O
clipping	B-Algorithm
operations	O
on	O
sets	O
of	O
polygons	B-General_Concept
.	O
</s>
<s>
It	O
generalises	O
the	O
computer	O
graphics	O
clipping	B-Algorithm
problem	I-Algorithm
of	O
intersecting	O
polygons	B-General_Concept
with	O
polygons	B-General_Concept
.	O
</s>
<s>
The	O
core	O
GPC	O
library	O
is	O
written	O
in	O
the	O
C	B-Language
programming	I-Language
language	I-Language
but	O
the	O
library	O
has	O
also	O
been	O
ported	O
to	O
work	O
with	O
several	O
other	O
languages	O
.	O
</s>
<s>
In	O
December	O
2021	O
a	O
copy	O
of	O
the	O
GPC	O
code	O
(	O
v2.32	O
)	O
was	O
placed	O
on	O
GitHub	B-Application
under	O
the	B-License
MIT	I-License
License	I-License
by	O
Paint.NET	B-Language
author	O
Rick	B-Language
Brewster	I-Language
.	O
</s>
<s>
The	O
following	O
summarises	O
the	O
features	O
and	O
operations	O
on	O
polygons	B-General_Concept
supported	O
by	O
GPC	O
.	O
</s>
<s>
Polygons	B-General_Concept
may	O
comprise	O
multiple	O
disjoint	O
contours	O
.	O
</s>
<s>
In	O
other	O
words	O
,	O
polygons	B-General_Concept
may	O
have	O
holes	O
.	O
</s>
<s>
The	O
clip	O
operation	O
output	O
from	O
GPC	O
is	O
a	O
set	O
of	O
polygon	B-General_Concept
contours	O
or	O
tristrips	O
.	O
</s>
<s>
The	O
following	O
four	O
images	O
show	O
examples	O
of	O
GPC	O
computing	O
operations	O
between	O
two	O
polygon	B-General_Concept
sets	O
.	O
</s>
<s>
The	O
first	O
polygon	B-General_Concept
set	O
comprises	O
outlines	O
of	O
the	O
United	O
Kingdom	O
and	O
Ireland	O
.	O
</s>
<s>
The	O
second	O
polygon	B-General_Concept
set	O
comprises	O
the	O
four	O
large	O
inward-pointing	O
arrows	O
.	O
</s>
<s>
In	O
each	O
example	O
,	O
the	O
areas	O
resulting	O
from	O
the	O
GPC	O
operation	O
between	O
the	O
two	O
sets	O
of	O
polygons	B-General_Concept
are	O
rendered	O
in	O
colour	O
.	O
</s>
<s>
The	O
core	O
GPC	O
code	O
is	O
written	O
in	O
C	B-Language
,	O
but	O
the	O
GPC	O
user	O
community	O
has	O
contributed	O
a	O
number	O
of	O
ports	O
and	O
bindings	O
(	O
or	O
wrappers	O
)	O
for	O
various	O
other	O
languages	O
(	O
ActionScript	O
3	O
,	O
Borland	B-Language
Delphi	I-Language
,	O
C#	B-Application
,	O
GNU	B-Language
Octave	I-Language
,	O
Haxe	B-Language
,	O
Haskell	B-Language
,	O
Java	B-Language
,	O
Lua	B-Language
,	O
Pascal	B-Application
,	O
Perl	B-Language
,	O
Python	B-Language
,	O
VB.Net	B-Language
)	O
.	O
</s>
