Skip to main content

frame_elements_through

Function frame_elements_through 

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

The frame parts of a window through its effect: each placed and sized as the effect’s rectangle scales the client area, blended at its alpha.