Module lyon_tessellation::basic_shapes [] [src]

Tessellation routines for simple shapes.

Structs

BorderRadii

The radius of each corner of a rounded rectangle.

PolylineEvents

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

Functions

fill_circle

Tessellate a circle.

fill_convex_polyline

Tessellate a convex polyline.

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.