Polygon API
Header
#include <blend_polygon.h>
Data Types
vertexA 2-D point with
xandycoordinates.polygonA dynamic vertex array and vertex count.
Core Functions
blend_polygon_alloc allocates a polygon.
blend_polygon_free releases polygon storage.
blend_polygon_read and blend_polygon_write handle text files.
blend_polygon_validate checks that a polygon is valid and simple.
blend_polygon_is_xy_monotone checks mathematical xy monotonicity.
blend_polygon_is_xy_monotone_strict checks the stricter form used by the
current window boundary assembly.
blend_polygon_xy_monotone_envelope and
blend_polygon_xy_monotone_best_piecewise_envelope construct monotone
approximations.
blend_polygon_xy_monotone_envelope_strict and
blend_polygon_xy_monotone_best_piecewise_envelope_strict construct strict
approximations for window-module supports.