MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / render

Method render

src/plot_widget.rs:1798–1812  ·  view source on GitHub ↗
(
        &self,
        renderer_state: &Self::Pipeline,
        encoder: &mut iced::wgpu::CommandEncoder,
        target: &iced::wgpu::TextureView,
        clip_bounds: &Rectangle<u32>,
    )

Source from the content-addressed store, hash-verified

1796 plot_widget.grid_style = self.cached_style().grid;
1797
1798 Primitive {
1799 instance_id: self.instance_id,
1800 plot_widget,
1801 }
1802 }
1803 fn update(
1804 &self,
1805 state: &mut Self::State,
1806 event: &iced::Event,
1807 bounds: Rectangle,
1808 cursor: mouse::Cursor,
1809 ) -> Option<shader::Action<PlotUiMessage>> {
1810 update_plot_program::<false>(self, state, event, bounds, cursor)
1811 }
1812
1813 fn mouse_interaction(
1814 &self,
1815 state: &Self::State,

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
encodeMethod · 0.80

Tested by

no test coverage detected