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

Function reference_line_half_extent

src/plot_renderer/shader.rs:1815–1827  ·  view source on GitHub ↗
(width: Size, vertical: bool, world_per_px: [f32; 2])

Source from the content-addressed store, hash-verified

1813 }
1814
1815 if let Some(pipeline) = self.pipelines.composite.as_ref() {
1816 let mut pass = params.encoder.begin_render_pass(&RenderPassDescriptor {
1817 label: Some("iced_plot composite"),
1818 color_attachments: &[Some(target_attachment(params.target))],
1819 depth_stencil_attachment: None,
1820 occlusion_query_set: None,
1821 timestamp_writes: None,
1822 });
1823
1824 pass.set_viewport(
1825 0.0,
1826 0.0,
1827 msaa_targets.width as f32,
1828 msaa_targets.height as f32,
1829 0.0,
1830 1.0,

Callers 1

rebuild_reflinesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected