Skip to main content

switch_img_patch

Function switch_img_patch 

Source
pub unsafe extern "C" fn switch_img_patch(
    IMG: *mut switch_image_t,
    img: *mut switch_image_t,
    x: c_int,
    y: c_int,
)
Expand description

\brief patch a small img to a big IMG at position x,y

Both IMG and img must be non-NULL

\param[in] IMG The BIG Image descriptor \param[in] img The small Image descriptor \param[in] x Leftmost pos to patch to \param[in] y Topmost pos to patch to