Expand description
Draw text.
Re-exports§
pub use cache::Cache;
pub use editor::Editor;
pub use paragraph::Paragraph;
pub use cosmic_text;
Modules§
- Cache text.
- Draw and edit text.
- Draw paragraphs.
Structs§
- A set of system fonts.
- A weak reference to a [
cosmic-text::Buffer
] that can be drawn. - A version number.
Enums§
- A text primitive.
Functions§
- Returns the global
FontSystem
. - Measures the dimensions of the given
cosmic_text::Buffer
. - Returns the attributes of the given
Font
. - Converts some
Color
to acosmic_text::Color
. - Converts some
Shaping
strategy to acosmic_text::Shaping
strategy. - Converts some
Wrapping
strategy to acosmic_text::Wrap
strategy.