Skip to main content

set_image_surface

Function set_image_surface 

Source
pub fn set_image_surface(
    ctx: &Context,
    viewport: ViewportId,
    image: ImageSurface,
)
Expand description

Sets what a window’s image is drawn into when it has a surface of its own, and why not (or why less than wanted); viewports in that window follow on the next frame.