windows::Win32::Graphics::Direct2D::Common

Trait ID2D1SimplifiedGeometrySink_Impl

pub trait ID2D1SimplifiedGeometrySink_Impl: IUnknownImpl {
    // Required methods
    fn SetFillMode(&self, fillmode: D2D1_FILL_MODE);
    fn SetSegmentFlags(&self, vertexflags: D2D1_PATH_SEGMENT);
    fn BeginFigure(
        &self,
        startpoint: &D2D_POINT_2F,
        figurebegin: D2D1_FIGURE_BEGIN,
    );
    fn AddLines(&self, points: *const D2D_POINT_2F, pointscount: u32);
    fn AddBeziers(&self, beziers: *const D2D1_BEZIER_SEGMENT, bezierscount: u32);
    fn EndFigure(&self, figureend: D2D1_FIGURE_END);
    fn Close(&self) -> Result<()>;
}

Required Methods§

fn SetFillMode(&self, fillmode: D2D1_FILL_MODE)

fn SetSegmentFlags(&self, vertexflags: D2D1_PATH_SEGMENT)

fn BeginFigure(&self, startpoint: &D2D_POINT_2F, figurebegin: D2D1_FIGURE_BEGIN)

fn AddLines(&self, points: *const D2D_POINT_2F, pointscount: u32)

fn AddBeziers(&self, beziers: *const D2D1_BEZIER_SEGMENT, bezierscount: u32)

fn EndFigure(&self, figureend: D2D1_FIGURE_END)

fn Close(&self) -> Result<()>

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§