windows::Win32::Graphics::Direct2D

Trait ID2D1ImageBrush_Impl

pub trait ID2D1ImageBrush_Impl: ID2D1Brush_Impl {
    // Required methods
    fn SetImage(&self, image: Ref<'_, ID2D1Image>);
    fn SetExtendModeX(&self, extendmodex: D2D1_EXTEND_MODE);
    fn SetExtendModeY(&self, extendmodey: D2D1_EXTEND_MODE);
    fn SetInterpolationMode(&self, interpolationmode: D2D1_INTERPOLATION_MODE);
    fn SetSourceRectangle(&self, sourcerectangle: *const D2D_RECT_F);
    fn GetImage(&self, image: OutRef<'_, ID2D1Image>);
    fn GetExtendModeX(&self) -> D2D1_EXTEND_MODE;
    fn GetExtendModeY(&self) -> D2D1_EXTEND_MODE;
    fn GetInterpolationMode(&self) -> D2D1_INTERPOLATION_MODE;
    fn GetSourceRectangle(&self, sourcerectangle: *mut D2D_RECT_F);
}

Required Methods§

fn SetImage(&self, image: Ref<'_, ID2D1Image>)

fn SetExtendModeX(&self, extendmodex: D2D1_EXTEND_MODE)

fn SetExtendModeY(&self, extendmodey: D2D1_EXTEND_MODE)

fn SetInterpolationMode(&self, interpolationmode: D2D1_INTERPOLATION_MODE)

fn SetSourceRectangle(&self, sourcerectangle: *const D2D_RECT_F)

fn GetImage(&self, image: OutRef<'_, ID2D1Image>)

fn GetExtendModeX(&self) -> D2D1_EXTEND_MODE

fn GetExtendModeY(&self) -> D2D1_EXTEND_MODE

fn GetInterpolationMode(&self) -> D2D1_INTERPOLATION_MODE

fn GetSourceRectangle(&self, sourcerectangle: *mut D2D_RECT_F)

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§