Crate solstice_2d[][src]

Re-exports

pub use solstice;

Modules

text

Structs

Arc
Arc3D

Differs from a Sphere in that when “open” on an axis, additional geometry si generated creating sides connected to the centroid.

Box
Canvas
Circle
Color
Deg

An angle, in degrees.

DrawList
DrawState
Ellipse
FontId

Id for a font.

FontVec

Font data handle stored in a Vec<u8> + parsed data. See Font for more methods.

Geometry
Graphics
GraphicsLock
LineState
LineVertex
LineWorkspace
Orthographic
PerlinTextureSettings
Perspective
Plane
Point
Point3D
Polyhedron
Position
PrintState
Rad

An angle, in radians.

Rectangle
RegularPolygon
Shader
ShaderSource
SimpleConvexPolygon
Sphere
Transform2D
Transform3D
Transforms
Vertex2D
Vertex3D

Enums

ArcType
Command
GeometryVariants
GraphicsError
MeshVariant
Projection

A None value means we will use the default projections of the given type

ShaderError

Traits

Draw
GeometryKind
SimpleConvexGeometry
Stroke

Functions

create_default_texture
create_perlin_texture