Skip to main content

frame_elements

Function frame_elements 

Source
pub fn frame_elements<R>(
    wm: Option<&WmState>,
    renderer: &mut R,
    id: WindowId,
    client_loc: Point<i32, Logical>,
    origin: Point<i32, Logical>,
    scale: f64,
    alpha: f32,
) -> Vec<MemoryRenderBufferRenderElement<R>>
where R: Renderer + ImportMem, R::TextureId: Texture + Clone + Send + 'static,
Expand description

The render elements of a window’s frame around a client area at client_loc (layout coordinates), for an output at origin and scale.