The original triangulation algorithm in vector graphic library is an
ear-clipping algorithm. The time complexity of ear-clipping is O(n2)
where n is the number of vertices. If the input source is a complex
picture, such as: TigerVG, the consumed time of triangulation is the bottleneck
of vector graphic library. In order to reduce the time complexity
of triangulation stage, this study replaces the ear-clipping algorithm
with amonotone triangulation. However, if the monotone triangulation
algorithm is applied to a graph, the graph should be an x-monotone
polygon,