Trait windows::Win32::Graphics::Direct2D::ID2D1SpriteBatch_Impl
pub trait ID2D1SpriteBatch_Impl: Sized + ID2D1Resource_Impl {
// Required methods
fn AddSprites(
&self,
spritecount: u32,
destinationrectangles: *const D2D_RECT_F,
sourcerectangles: *const D2D_RECT_U,
colors: *const D2D1_COLOR_F,
transforms: *const Matrix3x2,
destinationrectanglesstride: u32,
sourcerectanglesstride: u32,
colorsstride: u32,
transformsstride: u32,
) -> Result<()>;
fn SetSprites(
&self,
startindex: u32,
spritecount: u32,
destinationrectangles: *const D2D_RECT_F,
sourcerectangles: *const D2D_RECT_U,
colors: *const D2D1_COLOR_F,
transforms: *const Matrix3x2,
destinationrectanglesstride: u32,
sourcerectanglesstride: u32,
colorsstride: u32,
transformsstride: u32,
) -> Result<()>;
fn GetSprites(
&self,
startindex: u32,
spritecount: u32,
destinationrectangles: *mut D2D_RECT_F,
sourcerectangles: *mut D2D_RECT_U,
colors: *mut D2D1_COLOR_F,
transforms: *mut Matrix3x2,
) -> Result<()>;
fn GetSpriteCount(&self) -> u32;
fn Clear(&self);
}
Required Methods§
fn AddSprites( &self, spritecount: u32, destinationrectangles: *const D2D_RECT_F, sourcerectangles: *const D2D_RECT_U, colors: *const D2D1_COLOR_F, transforms: *const Matrix3x2, destinationrectanglesstride: u32, sourcerectanglesstride: u32, colorsstride: u32, transformsstride: u32, ) -> Result<()>
fn SetSprites( &self, startindex: u32, spritecount: u32, destinationrectangles: *const D2D_RECT_F, sourcerectangles: *const D2D_RECT_U, colors: *const D2D1_COLOR_F, transforms: *const Matrix3x2, destinationrectanglesstride: u32, sourcerectanglesstride: u32, colorsstride: u32, transformsstride: u32, ) -> Result<()>
fn GetSprites( &self, startindex: u32, spritecount: u32, destinationrectangles: *mut D2D_RECT_F, sourcerectangles: *mut D2D_RECT_U, colors: *mut D2D1_COLOR_F, transforms: *mut Matrix3x2, ) -> Result<()>
fn GetSpriteCount(&self) -> u32
fn Clear(&self)
Object Safety§
This trait is not object safe.