[][src]Module conrod_core::widget::primitive

Primitive widgets are special in that they are built into conrod's rendering logic.

By providing a set of foundational graphics widgets, we avoid the need for other widgets to define their own methods for rendering. Instead, conrod graphics backends only need to define rendering methods for a small set of primitives.

Modules

image

A simple, non-interactive widget for drawing an Image.

line

A simple, non-interactive widget for drawing a single straight Line.

point_path

A simple, non-interactive widget for drawing a series of conjoined lines.

shape

A module encompassing the primitive 2D shape widgets.

text

The primitive widget used for displaying text.

Functions

bounding_box_for_points

Find the bounding rect for the given series of points.