Crate sugarloaf

Crate sugarloaf 

Source

Re-exports§

pub use font_introspector::Stretch;
pub use font_introspector::Style;
pub use font_introspector::Weight;
pub use components::filters::Filter;
pub use components::quad::Quad;
pub use layout::Content;
pub use layout::FragmentStyle;
pub use layout::FragmentStyleDecoration;
pub use layout::SugarDimensions;
pub use layout::UnderlineInfo;
pub use layout::UnderlineShape;
pub use wgpu;

Modules§

components
context
font
font_introspector
layout

Macros§

concat_arrays
Concatenates provided arrays.

Structs§

Graphic
GraphicData
Defines a single graphic read from the PTY.
GraphicId
Unique identifier for every graphic added to a grid.
Graphics
ImageProperties
ResizeCommand
Dimensions to resize a graphic.
RichText
RichTextLinesRange
Sugarloaf
SugarloafErrors
SugarloafRenderer
SugarloafWindow
SugarloafWindowSize
SugarloafWithErrors

Enums§

Braille
ColorType
Specifies the format of the pixel data.
Colorspace
CornerType
DrawableChar
Object
ResizeParameter
Unit to specify a dimension to resize the graphic.
SugarCursor

Constants§

MAX_GRAPHIC_DIMENSIONS
Max allowed dimensions (width, height) for the graphic, in pixels.

Functions§

contains_braille_dot
drawable_character