Module lyon_tessellation::basic_shapes [] [src]

Tessellation routines for simple shapes.

Structs

PolylineEvents

An iterator that consumes an iterator of points and produces FlattenedEvents.

RoundedRect

An axis-aligned rounded rectangle.

Functions

fill_convex_polyline

Tessellate a convex polyline.

fill_ellipse

Tessellate an ellipsis.

fill_quad

Tessellate a quad.

fill_rectangle

Tessellate an axis-aligned rectangle.

fill_rounded_rectangle

Tessellate an axis-aligned rounded rectangle.

fill_triangle

Tessellate a triangle.

stroke_polyline
stroke_quad

Tessellate the stroke of a quad.

stroke_rectangle

Tessellate the stroke for an axis-aligne rectangle.

stroke_rounded_rectangle

Tessellate the stroke of an axis-aligned rounded rectangle.

stroke_triangle

Tessellate the stroke of a triangle.