fn render_texture_at(
        &mut self,
        texture: &Self::TextureId,
        pos: Point<f64, Physical>,
        texture_scale: i32,
        output_scale: f64,
        src_transform: Transform,
        alpha: f32,
    ) -> Result<(), Self::Error> {
        self.render_texture_from_to(
            texture,
            Rectangle::from_loc_and_size(Point::<i32, Buffer>::from((0, 0)), texture.size()),
            Rectangle::from_loc_and_size(
                pos,
                texture
                    .size()
                    .to_logical(texture_scale)
                    .to_f64()
                    .to_physical(output_scale),
            ),
            src_transform,
            alpha,
        )
    }
/// Render a texture to the current target as a flat 2d-plane at a given
/// position and applying the given transformation with the given alpha value.
/// (Meaning `src_transform` should match the orientation of surface being rendered).
Render a texture to the current target as a flat 2d-plane at a given
position and applying the given transformation with the given alpha value.
(Meaning `src_transform` should match the orientation of surface being rendered).
Render a texture to the current target as a flat 2d - plane at a given position and applying the given transformation with the given alpha value . ( Meaning ` src_transform ` should match the orientation of surface being rendered ) .
fn render_texture_at(
        &mut self,
        texture: &Self::TextureId,
        pos: Point<f64, Physical>,
        texture_scale: i32,
        output_scale: f64,
        src_transform: Transform,
        alpha: f32,
    ) -> Result<(), Self::Error> {
        self.render_texture_from_to(
            texture,
            Rectangle::from_loc_and_size(Point::<i32, Buffer>::from((0, 0)), texture.size()),
            Rectangle::from_loc_and_size(
                pos,
                texture
                    .size()
                    .to_logical(texture_scale)
                    .to_f64()
                    .to_physical(output_scale),
            ),
            src_transform,
            alpha,
        )
    }
fn render_texture_at ( & mut self , texture : & Self :: TextureId , pos : Point < f64 , Physical > , texture_scale : i32 , output_scale : f64 , src_transform : Transform , alpha : f32 , ) -> Result < ( ) , Self :: Error > { self . render_texture_from_to ( texture , Rectangle :: from_loc_and_size ( Point :: < i32 , Buffer > :: from ( ( 0 , 0 ) ) , texture . size ( ) ) , Rectangle :: from_loc_and_size ( pos , texture . size ( ) . to_logical ( texture_scale ) . to_f64 ( ) . to_physical ( output_scale ) , ) , src_transform , alpha , ) }
Render a texture to the current target as a flat 2d-plane at a given
position and applying the given transformation with the given alpha value.
Render a texture to the current target as a flat 2d - plane at a given position and applying the given transformation with the given alpha value .
&mut self
texture
&Self::TextureId
pos
Point<f64, Physical>
texture_scale
i32
output_scale
f64
src_transform
Transform
alpha
f32
&mut self
texture
&Self::TextureId
pos
Point<f64, Physical>
texture_scale
i32
output_scale
f64
src_transform
Transform
alpha
f32