Home
last modified time | relevance | path

Searched refs:into_drawing_area (Results 1 – 25 of 35) sorted by relevance

12

/external/rust/crates/plotters/benches/benches/
Dparallel.rs43 let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); in draw_func_1x1_seq()
61 let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); in draw_func_4x4()
72 let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); in draw_func_4x4()
78 draw_plot(&e.as_bitmap_backend().into_drawing_area(), 2.0); in draw_func_4x4()
100 let root = back.into_drawing_area(); in draw_func_4x4()
108 draw_plot(&e.as_bitmap_backend().into_drawing_area(), 2.0); in draw_func_4x4()
132 let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); in draw_func_2x1()
139 draw_plot(&element.as_bitmap_backend().into_drawing_area(), 2.0); in draw_func_2x1()
158 .for_each(|b| draw_plot(&b.into_drawing_area(), 2.0)); in draw_func_2x1()
164 let root = BitMapBackend::with_buffer(&mut buffer, (s, s)).into_drawing_area(); in draw_func_2x1()
Drasterizer.rs81 let root = BitMapBackend::with_buffer(&mut buffer, (W, H)).into_drawing_area(); in fill_background()
91 .into_drawing_area(); in fill_background()
103 let root = BitMapBackend::with_buffer(&mut buffer, (W, H)).into_drawing_area(); in blend_background()
113 .into_drawing_area(); in blend_background()
148 let root = BitMapBackend::with_buffer(&mut buffer, (W, H)).into_drawing_area(); in fill_background_red()
158 .into_drawing_area(); in fill_background_red()
/external/rust/crates/criterion/src/plot/plotters_backend/
Diteration_times.rs19 let root_area = SVGBackend::new(path, size).into_drawing_area(); in iteration_times_figure()
85 let root_area = SVGBackend::new(path, size).into_drawing_area(); in iteration_times_comparison_figure()
Dpdf.rs41 let root_area = SVGBackend::new(&path, (size.0 as u32, size.1 as u32)).into_drawing_area(); in pdf_comparison_figure()
135 let root_area = SVGBackend::new(&path, (size.0 as u32, size.1 as u32)).into_drawing_area(); in pdf_small()
211 let root_area = SVGBackend::new(&path, (size.0 as u32, size.1 as u32)).into_drawing_area(); in pdf()
Dregression.rs42 let root_area = SVGBackend::new(path, size).into_drawing_area(); in regression_figure()
171 let root_area = SVGBackend::new(path, size).into_drawing_area(); in regression_comparison_figure()
Dt_test.rs19 let root_area = SVGBackend::new(&path, size.unwrap_or(SIZE)).into_drawing_area(); in t_test()
/external/rust/crates/plotters/examples/
Dconsole.rs187 draw_chart(TextDrawingBackend(vec![PixelState::Empty; 5000]).into_drawing_area())?; in main()
189 .into_drawing_area(); in main()
Dhistogram.rs4 BitMapBackend::new("plotters-doc-data/histogram.png", (640, 480)).into_drawing_area(); in main()
Dsierpinski.rs24 BitMapBackend::new("plotters-doc-data/sierpinski.png", (1024, 768)).into_drawing_area(); in main()
Dnested_coord.rs4 BitMapBackend::new("plotters-doc-data/nested_coord.png", (640, 480)).into_drawing_area(); in main()
Dblit-bitmap.rs10 BitMapBackend::new("plotters-doc-data/blit-bitmap.png", (1024, 768)).into_drawing_area(); in main()
Dmatshow.rs4 let root = BitMapBackend::new("plotters-doc-data/matshow.png", (1024, 768)).into_drawing_area(); in main()
Drelative_size.rs33 BitMapBackend::new("plotters-doc-data/relative_size.png", (1024, 768)).into_drawing_area(); in main()
Dstock.rs12 let root = BitMapBackend::new("plotters-doc-data/stock.png", (1024, 768)).into_drawing_area(); in main()
Darea-chart.rs21 BitMapBackend::new("plotters-doc-data/area-chart.png", (1024, 768)).into_drawing_area(); in main()
Dtwo-scales.rs5 BitMapBackend::new("plotters-doc-data/twoscale.png", (1024, 768)).into_drawing_area(); in main()
Dslc-temp.rs9 BitMapBackend::new("plotters-doc-data/slc-temp.png", (1024, 768)).into_drawing_area(); in main()
D3d-plot.rs3 let area = SVGBackend::new("plotters-doc-data/3d-plot.svg", (1024, 760)).into_drawing_area(); in main()
Dsnowflake.rs22 BitMapBackend::new("plotters-doc-data/snowflake.png", (1024, 768)).into_drawing_area(); in main()
Danimation.rs22 .into_drawing_area(); in main()
Dnormal-dist.rs9 BitMapBackend::new("plotters-doc-data/normal-dist.png", (1024, 768)).into_drawing_area(); in main()
Dmandelbrot.rs6 BitMapBackend::new("plotters-doc-data/mandelbrot.png", (800, 600)).into_drawing_area(); in main()
/external/rust/crates/plotters/src/
Devcxr.rs38 let root = SVGBackend::with_string(&mut buffer, size).into_drawing_area(); in evcxr_figure()
/external/rust/crates/plotters-svg/src/
Dsvg.rs603 let root = SVGBackend::with_string(&mut content, (500, 500)).into_drawing_area(); in draw_mesh_with_custom_ticks()
671 let root = SVGBackend::with_string(&mut content, (1500, 800)).into_drawing_area(); in test_text_draw()
734 .into_drawing_area(); in test_text_clipping()
763 let root = SVGBackend::with_string(&mut content, (width, height)).into_drawing_area(); in test_series_labels()
822 .into_drawing_area(); in test_draw_pixel_alphas()
/external/rust/crates/plotters/src/element/
Dboxplot.rs258 let root = MockedBackend::new(1024, 768).into_drawing_area(); in test_draw_v()
272 let root = MockedBackend::new(1024, 768).into_drawing_area(); in test_draw_h()

12