Expand description
Rust Pango bindings
Rust bindings and wrappers for Pango, part of gtk-rs-core.
Pango 1.40 is the lowest supported version for the underlying library.
Minimum supported Rust version
Currently, the minimum supported Rust version is 1.63.0
.
Documentation
Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
Avoid mixing versioned and git crates like this:
# This will not compile
[dependencies]
pango = "0.13"
pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
See Also
License
pango is available under the MIT License, please refer to it.
Re-exports
Modules
- Traits and essential types intended for blanket imports.
Structs
- The result of
LayoutLine::x_to_index
. - LayoutSerializeFlags
v1_50
- ShapeFlags
v1_44
- ShowFlags
v1_44
Enums
- BaselineShift
v1_50
- BidiTypeDeprecated
- FontScale
v1_50
- Overline
v1_46
- TextTransform
v1_50
Constants
- The scale factor for one magnification step (1.2).
- The scale factor for normal size (1.0).
- The scale factor for one shrinking step (1 / 1.2).
- The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
- The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
- The scale factor for two magnification steps (1.2 * 1.2).
- The scale factor for two shrinking steps (1 / (1.2 * 1.2)).
Traits
Functions
- shape_with_flags
v1_44