Expand description
Draw text.
Re-exports§
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 a [cosmic_text::Color
]. - Converts some [
Shaping
] strategy to a [cosmic_text::Shaping
] strategy. - Converts some [
Wrapping
] strategy to a [cosmic_text::Wrap
] strategy.