Module lyon_tessellation::basic_shapes [] [src]

Tessellation routines for simple shapes.

Structs

BorderRadii

The radius of each corner of a rounded rectangle.

Functions

fill_circle

Tessellate a circle.

fill_convex_polyline

Tessellate a convex shape that is discribed by an iterator of points.

fill_ellipse
fill_polyline

Tessellate an arbitray shape that is discribed by an iterator of points.

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_circle

Tessellate the stroke of a circle.

stroke_ellipse
stroke_polyline

Tessellate the stroke of a shape that is discribed by an iterator of points.

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.