[][src]Module egui::paint

Graphics module.

Handles fonts, textures, color, geometry and tesselation.

Re-exports

pub use color::Rgba;
pub use color::Srgba;
pub use command::PaintCmd;
pub use command::Stroke;
pub use fonts::FontDefinitions;
pub use fonts::FontFamily;
pub use fonts::Fonts;
pub use fonts::TextStyle;
pub use stats::PaintStats;
pub use tessellator::PaintJob;
pub use tessellator::PaintJobs;
pub use tessellator::TesselationOptions;
pub use tessellator::TextureId;
pub use tessellator::Triangles;
pub use tessellator::Vertex;
pub use tessellator::WHITE_UV;

Modules

color
command
font
fonts
stats
tessellator

Converts graphics primitives into textured triangles.

Structs

CCursor

Character cursor

Cursor

All different types of cursors together. They all point to the same place, but in their own different ways. pcursor/rcursor can also point to after the end of the paragraph/row. Does not implement PartialEq because you must think which cursor should be equivalent.

Galley

A collection of text locked into place.

PCursor

Paragraph Cursor

RCursor

Row Cursor

Row

A typeset piece of text on a single row.

Texture

An 8-bit texture containing font data.

TextureAtlas

Contains font data in an atlas, where each character occupied a small rectangle.