Trait winsafe::prelude::gdi_Hrgn

source ·
pub trait gdi_Hrgn: Handle {
    // Provided methods
    fn CreateRectRgn(bounds: RECT) -> SysResult<DeleteObjectGuard<HRGN>> { ... }
    fn CreateRectRgnIndirect(rc: RECT) -> SysResult<DeleteObjectGuard<HRGN>> { ... }
    fn CreateRoundRectRgn(
        bounds: RECT,
        size: SIZE
    ) -> SysResult<DeleteObjectGuard<HRGN>> { ... }
    fn OffsetClipRgn(&self, x: i32, y: i32) -> SysResult<REGION> { ... }
    fn OffsetRgn(&self, x: i32, y: i32) -> SysResult<REGION> { ... }
    fn PtInRegion(&self, x: i32, y: i32) -> bool { ... }
    fn RectInRegion(&self, rc: &RECT) -> bool { ... }
}
Available on crate features kernel and gdi only.
Expand description

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

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§