[−][src]Crate directwrite
Safe bindings for DirectWrite in Rust. Allows for the loading of fonts, laying out of text, and rendering text and glyphs to TextRenderers.
Re-exports
pub use crate::error::DWResult; |
pub use crate::factory::Factory; |
pub use crate::font::Font; |
pub use crate::font_collection::FontCollection; |
pub use crate::font_face::FontFace; |
pub use crate::font_family::FontFamily; |
pub use crate::font_file::FontFile; |
pub use crate::font_list::FontList; |
pub use crate::geometry_sink::GeometrySink; |
pub use crate::inline_object::InlineObject; |
pub use crate::rendering_params::RenderingParams; |
pub use crate::text_format::TextFormat; |
pub use crate::text_layout::TextLayout; |
pub use crate::text_renderer::TextRenderer; |
pub use crate::typography::Typography; |
Modules
descriptions | Various structures that define things passed to and from directwrite APIs. |
effects | Custom effects that may be applied to individual runs of text in a layout. |
enums | Enumerations and bit-combining flag structures for DirectWrite. |
error | |
factory | |
font | |
font_collection | Font collections and types for building application-defined collections. |
font_face | FontFace and types for examining its contents and building new ones. |
font_family | |
font_file | FontFile and types for creating your own instances. |
font_list | |
geometry_sink | |
inline_object | InlineObject and types for creating your own instances. |
localized_strings | Representation of a string that may have multiple separate representations in different locales. |
metrics | Metrics structs that describe information about various items. |
number_substitution | Describes how numberic digits should be substituted. |
pixel_snapping | PixelSnapping is for objects that describe pixel snapping behaviors, such as TextRenderer. |
rendering_params | |
text_format | TextFormat and types for building new ones. |
text_layout | TextLayout and types for building new ones. |
text_renderer | TextRenderer and types for constructing your own application-defined instances. |
typography | Typography and types for building new ones. |
Functions
initialize | Shortcut to initialize a Factory, which is required to access all other functionality in the library. |