directwrite 0.1.4

A safe abstraction for interacting with DirectWrite, intended initially to be used with direct2d for easy text rendering.
Documentation
1
2
3
4
5
6
use winapi::um::unknwnbase::IUnknown;

/// This trait represents types which can be used in set_drawing_effect on a text layout.
pub unsafe trait DrawingEffect {
    unsafe fn get_effect_ptr(&self) -> *mut IUnknown;
}