зеркало из https://github.com/mozilla/gecko-dev.git
90419861cd
This also: 1) Updates the webrender_bindings Cargo.toml file to use the latest version numbers of webrender and webrender_traits 2) Updates the webrender_bindings Cargo.toml file to use the same version of other dependencies (euclid, etc.) as webrender itself does 3) Updates the webrender_bindings glue code for API changes in push_border, add_image, and add_raw_font. --HG-- rename : third_party/rust/dwrote/.gitignore => third_party/rust/servo-dwrote/.gitignore rename : third_party/rust/dwrote/README.md => third_party/rust/servo-dwrote/README.md rename : third_party/rust/dwrote/build.rs => third_party/rust/servo-dwrote/build.rs rename : third_party/rust/dwrote/src/bitmap_render_target.rs => third_party/rust/servo-dwrote/src/bitmap_render_target.rs rename : third_party/rust/dwrote/src/com_helpers.rs => third_party/rust/servo-dwrote/src/com_helpers.rs rename : third_party/rust/dwrote/src/comptr.rs => third_party/rust/servo-dwrote/src/comptr.rs rename : third_party/rust/dwrote/src/font.rs => third_party/rust/servo-dwrote/src/font.rs rename : third_party/rust/dwrote/src/font_collection.rs => third_party/rust/servo-dwrote/src/font_collection.rs rename : third_party/rust/dwrote/src/font_face.rs => third_party/rust/servo-dwrote/src/font_face.rs rename : third_party/rust/dwrote/src/font_family.rs => third_party/rust/servo-dwrote/src/font_family.rs rename : third_party/rust/dwrote/src/font_file.rs => third_party/rust/servo-dwrote/src/font_file.rs rename : third_party/rust/dwrote/src/font_file_loader_impl.rs => third_party/rust/servo-dwrote/src/font_file_loader_impl.rs rename : third_party/rust/dwrote/src/gdi_interop.rs => third_party/rust/servo-dwrote/src/gdi_interop.rs rename : third_party/rust/dwrote/src/glyph_run_analysis.rs => third_party/rust/servo-dwrote/src/glyph_run_analysis.rs rename : third_party/rust/dwrote/src/helpers.rs => third_party/rust/servo-dwrote/src/helpers.rs rename : third_party/rust/dwrote/src/rendering_params.rs => third_party/rust/servo-dwrote/src/rendering_params.rs rename : third_party/rust/dwrote/src/test.rs => third_party/rust/servo-dwrote/src/test.rs rename : third_party/rust/dwrote/src/types.rs => third_party/rust/servo-dwrote/src/types.rs |
||
---|---|---|
.. | ||
src | ||
.cargo-checksum.json | ||
.cargo-ok | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs |
README.md
dwrote
A thin wrapper around Windows DirectWrite for Rust
Dwrote provides access to pieces of DirectWrite needed by WebRender and Servo. It can be easily extended to other parts of DirectWrite, but full mapping of the DirectWrite API is not a goal (pull requests accepted, of course).
There are a few additional helper functions on individual types that don't exist in DirectWrite, and a few have had their signatures changed, but for the most part this library attempts to replicate the DirectWrite API.