Skip to main content

Module math_stroke

Module math_stroke 

Source
Expand description

Stroke math — cap, join, and miter calculations for stroked paths.

Port of agg_math_stroke.h — provides the geometry calculations for converting a path outline into a stroked polygon with configurable line caps, line joins, and miter limits.

Structs§

MathStroke
Stroke geometry calculator.

Enums§

InnerJoin
Inner join style at sharp inward corners.
LineCap
Line cap style for path endpoints.
LineJoin
Line join style at path corners.