Registry / other / directwrite

directwrite

JSON →
library0.1.4rscratesunverified

A safe abstraction for interacting with DirectWrite, intended for use with Direct2D for text rendering on Windows.

# Cargo.toml [dependencies] directwrite = "0.1.4"
INSTALL
IMPORT
SIG · DIRECTWRITE
D
directwrite
otherrustv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Factory
✓ use directwrite::Factory;

Create a DirectWrite factory for text rendering.

use directwrite::Factory; fn main() { let factory = Factory::new().expect("Failed to create DirectWrite factory"); println!("DirectWrite factory created"); }
Debug
Known issues
gotchaRequires Windows and DirectX runtime; not available on other platforms.
fix
Use conditional compilation or platform-specific code.
affects: >=0.1.0
Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
directwrite — cargo add directwrite · libregistry