Trait windows::Win32::Graphics::Direct2D::ID2D1Ink_Impl

pub trait ID2D1Ink_Impl: Sized + ID2D1Resource_Impl {
    // Required methods
    fn SetStartPoint(&self, startpoint: *const D2D1_INK_POINT);
    fn GetStartPoint(&self) -> D2D1_INK_POINT;
    fn AddSegments(
        &self,
        segments: *const D2D1_INK_BEZIER_SEGMENT,
        segmentscount: u32,
    ) -> Result<()>;
    fn RemoveSegmentsAtEnd(&self, segmentscount: u32) -> Result<()>;
    fn SetSegments(
        &self,
        startsegment: u32,
        segments: *const D2D1_INK_BEZIER_SEGMENT,
        segmentscount: u32,
    ) -> Result<()>;
    fn SetSegmentAtEnd(
        &self,
        segment: *const D2D1_INK_BEZIER_SEGMENT,
    ) -> Result<()>;
    fn GetSegmentCount(&self) -> u32;
    fn GetSegments(
        &self,
        startsegment: u32,
        segments: *mut D2D1_INK_BEZIER_SEGMENT,
        segmentscount: u32,
    ) -> Result<()>;
    fn StreamAsGeometry(
        &self,
        inkstyle: Option<&ID2D1InkStyle>,
        worldtransform: *const Matrix3x2,
        flatteningtolerance: f32,
        geometrysink: Option<&ID2D1SimplifiedGeometrySink>,
    ) -> Result<()>;
    fn GetBounds(
        &self,
        inkstyle: Option<&ID2D1InkStyle>,
        worldtransform: *const Matrix3x2,
    ) -> Result<D2D_RECT_F>;
}

Required Methods§

fn SetStartPoint(&self, startpoint: *const D2D1_INK_POINT)

fn GetStartPoint(&self) -> D2D1_INK_POINT

fn AddSegments( &self, segments: *const D2D1_INK_BEZIER_SEGMENT, segmentscount: u32, ) -> Result<()>

fn RemoveSegmentsAtEnd(&self, segmentscount: u32) -> Result<()>

fn SetSegments( &self, startsegment: u32, segments: *const D2D1_INK_BEZIER_SEGMENT, segmentscount: u32, ) -> Result<()>

fn SetSegmentAtEnd(&self, segment: *const D2D1_INK_BEZIER_SEGMENT) -> Result<()>

fn GetSegmentCount(&self) -> u32

fn GetSegments( &self, startsegment: u32, segments: *mut D2D1_INK_BEZIER_SEGMENT, segmentscount: u32, ) -> Result<()>

fn StreamAsGeometry( &self, inkstyle: Option<&ID2D1InkStyle>, worldtransform: *const Matrix3x2, flatteningtolerance: f32, geometrysink: Option<&ID2D1SimplifiedGeometrySink>, ) -> Result<()>

fn GetBounds( &self, inkstyle: Option<&ID2D1InkStyle>, worldtransform: *const Matrix3x2, ) -> Result<D2D_RECT_F>

Object Safety§

This trait is not object safe.

Implementors§