Searched refs:into_font (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/plotters/examples/ |
D | chart.rs | 9 let root_area = root_area.titled("Image Title", ("sans-serif", 60).into_font())?; in main() 18 .caption("Sine and Cosine", ("sans-serif", 40).into_font()) in main() 61 ("sans-serif", 15).into_font(), in main() 75 ("sans-serif", 40).into_font(), in main()
|
D | histogram.rs | 12 .caption("Histogram Test", ("sans-serif", 50.0).into_font()) in main() 21 .axis_desc_style(("sans-serif", 15).into_font()) in main()
|
D | nested_coord.rs | 12 .caption("Nested Coord", ("sans-serif", 50.0).into_font()) in main() 21 .axis_desc_style(("sans-serif", 15).into_font()) in main()
|
D | boxplot.rs | 72 .caption("Ping Boxplot", ("sans-serif", 20).into_font()) in main() 125 .caption("Vertical Boxplot", ("sans-serif", 20).into_font()) in main() 140 .caption("Horizontal Boxplot", ("sans-serif", 20).into_font()) in main()
|
D | stock.rs | 23 .caption("MSFT Stock Price", ("sans-serif", 50.0).into_font()) in main()
|
D | two-scales.rs | 13 .caption("Dual Y-Axis Example", ("sans-serif", 50.0).into_font()) in main()
|
/external/rust/crates/plotters/src/style/font/ |
D | font_desc.rs | 64 fn into_font(self) -> FontDesc<'a>; in into_font() method 68 fn into_font(self) -> FontDesc<'a> { in into_font() method
|
/external/rust/crates/plotters-svg/src/ |
D | svg.rs | 639 let style = TextStyle::from(("sans-serif", 20).into_font()) in test_text_alignments() 673 .titled("Image Title", ("sans-serif", 60).into_font()) in test_text_draw() 708 let style = TextStyle::from(("sans-serif", 20).into_font()) in test_text_draw() 736 let style = TextStyle::from(("sans-serif", 20).into_font()) in test_text_clipping()
|
/external/rust/crates/plotters/ |
D | README.md | 161 .caption("y=x^2", ("sans-serif", 50).into_font()) 205 .caption("y=x^2", ("Arial", 50).into_font()) 389 ("sans-serif", 15.0).into_font(), 418 .caption("This is our first plot", ("sans-serif", 40).into_font()) 448 + Text::new(format!("{:?}", c), (10, 0), ("sans-serif", 10).into_font());
|
/external/rust/crates/plotters/src/chart/ |
D | series.rs | 174 let default_font = ("sans-serif", 12).into_font(); in draw()
|
/external/rust/crates/plotters/plotters-doc-data/ |
D | evcxr-jupyter-integration.ipynb | 168 …" root.draw(&Text::new(\"Hello World from Plotters!\", (15, 15), (\"Arial\", 20).into_font()))?… 4963 " .caption(\"Hello Plotters Chart Context!\", (\"Arial\", 20).into_font())\n", 5237 " .caption(\"Chart Context with Mesh\", (\"Arial\", 20).into_font())\n", 5578 " .caption(\"Chart Context with Mesh and Axis\", (\"Arial\", 20).into_font())\n", 5928 " .caption(\"Chart with Axis Label\", (\"Arial\", 20).into_font())\n", 6066 " .caption(\"Chart Context with Mesh and Axis\", (\"Arial\", 20).into_font())\n", 6479 " .caption(format!(\"Subchart #{}\", idx), (\"Arial\", 15).into_font())\n", 7683 " .caption(\"Normal Distribution\", (\"Arial\", 20).into_font())\n", 8020 " .caption(format!(\"Histogram for {}\", name), (\"Arial\", 20).into_font())\n", 9302 … " let root = root.titled(\"Scatter with Histogram Example\", (\"Arial\", 20).into_font())?;\n",
|