Crate barg

Source
Expand description

A GUI toolkit & 3D graphics renderer.

§Naming

The name is a combination of “bar” as in “foo bar baz qux” and “g” as in “graphics”. It is also fun to yell because “BARG!!!” sounds like “ARGH!!!!”.

Re-exports§

pub use fonterator::PathOp::Line;
pub use fonterator::PathOp::Move;
pub use fonterator::PathOp::Quad;
pub use fonterator::PathOp::*;

Modules§

icons

Macros§

shader
video Load a generated shader from res.

Structs§

FontGroup
A FontGroup is a collection of fonts that together should cover all of the unicode codepoints.
Graphic
A graphic on the GPU.
Gui
Id for widget. A GUI (Graphical User Interface).
Image
An Image
Shader
A shader.
ShaderBuilder
A builder for portable shaders.
Shape
A shape.
ShapeBuilder
A shape builder.
Size
Size of an image (width, height).
TexCoord
Texture Coordinates (Mapped to a PathOp).
Transform
A transformation matrix.
Window
A window on the monitor.

Enums§

Key
Keys on the keyboard that may be mapped as controls. Naming goes by american QWERTY keyboard.
PathOp
Path operation.

Functions§

init_toolbar