windows::Win32::Graphics::Direct2D

Trait ID2D1StrokeStyle_Impl

pub trait ID2D1StrokeStyle_Impl: ID2D1Resource_Impl {
    // Required methods
    fn GetStartCap(&self) -> D2D1_CAP_STYLE;
    fn GetEndCap(&self) -> D2D1_CAP_STYLE;
    fn GetDashCap(&self) -> D2D1_CAP_STYLE;
    fn GetMiterLimit(&self) -> f32;
    fn GetLineJoin(&self) -> D2D1_LINE_JOIN;
    fn GetDashOffset(&self) -> f32;
    fn GetDashStyle(&self) -> D2D1_DASH_STYLE;
    fn GetDashesCount(&self) -> u32;
    fn GetDashes(&self, dashes: *mut f32, dashescount: u32);
}

Required Methods§

fn GetStartCap(&self) -> D2D1_CAP_STYLE

fn GetEndCap(&self) -> D2D1_CAP_STYLE

fn GetDashCap(&self) -> D2D1_CAP_STYLE

fn GetMiterLimit(&self) -> f32

fn GetLineJoin(&self) -> D2D1_LINE_JOIN

fn GetDashOffset(&self) -> f32

fn GetDashStyle(&self) -> D2D1_DASH_STYLE

fn GetDashesCount(&self) -> u32

fn GetDashes(&self, dashes: *mut f32, dashescount: u32)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§