[−][src]Module conrod_core::widget::primitive::shape::triangles
A primitive widget that allows for drawing using a list of triangles.
Structs
MultiColor | Each triangle is colored per vertex. |
SingleColor | All triangles colored with a single |
State | Unique state stored between updates for a |
Triangle | A single triangle described by three vertices. |
Triangles | A widget that allows for drawing a list of triangles. |
TrianglesUnpositioned | When beginning to build |
Traits
Style | Unique styling types for |
Vertex | Types used as vertices that make up a list of triangles. |
Functions
from_quad | Triangulates the given quad, represented by four points that describe its edges in either clockwise or anti-clockwise order. |
is_over | Returns |
is_over_triangle | Returns |
is_over_widget | The function to use for picking whether a given point is over the line. |
Type Definitions
ColoredPoint | A point with an associated color. |