Trait winsafe::prelude::gdi_Hpen

source ·
pub trait gdi_Hpen: Handle {
    // Provided methods
    fn CreatePen(
        style: PS,
        width: i32,
        color: COLORREF
    ) -> SysResult<DeleteObjectGuard<HPEN>> { ... }
    fn CreatePenIndirect(lp: &mut LOGPEN) -> SysResult<DeleteObjectGuard<HPEN>> { ... }
    fn GetStockObject(sp: STOCK_PEN) -> SysResult<HPEN> { ... }
}
Available on crate features kernel and gdi only.
Expand description

This trait is enabled with the gdi feature, and provides methods for HPEN.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§