Crate pangocairo[−][src]
Expand description
Rust PangoCairo bindings
This library contains safe Rust bindings for PangoCairo. It is a part of gtk-rs.
PangoCairo 1.38 is the lowest supported version for the underlying library.
Re-exports
pub use cairo; | |
pub use ffi; | |
pub use glib; | |
pub use pango; |
Modules
| functions | |
| prelude |
Structs
| Font |
|
| FontMap |
|
Constants
| NONE_FONT | |
| NONE_FONT_MAP |
Functions
| context_get_resolution | Gets the resolution for the context. See |
| context_set_font_options | Sets the font options used when rendering text with this context.
These options override any options that |
| context_set_resolution | Sets the resolution for the context. This is a scale factor between
points specified in a |
| create_context | Creates a context object set up to match the current transformation
and target surface of the Cairo context. This context can then be
used to create a layout using |
| create_layout | Creates a layout object set up to match the current transformation
and target surface of the Cairo context. This layout can then be
used for text measurement with functions like
|
| error_underline_path | Add a squiggly line to the current path in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle) |
| glyph_string_path | Adds the glyphs in |
| layout_line_path | Adds the text in |
| layout_path | Adds the text in a |
| show_error_underline | Draw a squiggly line in the specified cairo context that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle) |
| show_glyph_item | Draws the glyphs in |
| show_glyph_string | Draws the glyphs in |
| show_layout | Draws a |
| show_layout_line | Draws a |
| update_context | Updates a |
| update_layout | Updates the private |