[−][src]Function gdl::graphics::draw_photonimage
pub fn draw_photonimage(
container_img: &mut PhotonImage,
photon_img: &PhotonImage,
x_pos: u32,
y_pos: u32
)
Draw a PhotonImage onto a container image.
Arguments
container_img
- A mutable ref to a PhotonImage, which will be the container image.photon_img
- The image to be drawn onto the container image.x_pos
- u32 - Desired width of final graphicy_pos
- u32 - Desired height of final graphic