Home
last modified time | relevance | path

Searched refs:into_font (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/plotters/examples/
Dchart.rs9 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()
Dhistogram.rs12 .caption("Histogram Test", ("sans-serif", 50.0).into_font()) in main()
21 .axis_desc_style(("sans-serif", 15).into_font()) in main()
Dnested_coord.rs12 .caption("Nested Coord", ("sans-serif", 50.0).into_font()) in main()
21 .axis_desc_style(("sans-serif", 15).into_font()) in main()
Dboxplot.rs72 .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()
Dstock.rs23 .caption("MSFT Stock Price", ("sans-serif", 50.0).into_font()) in main()
Dtwo-scales.rs13 .caption("Dual Y-Axis Example", ("sans-serif", 50.0).into_font()) in main()
/external/rust/crates/plotters/src/style/font/
Dfont_desc.rs64 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/
Dsvg.rs639 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/
DREADME.md161 .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/
Dseries.rs174 let default_font = ("sans-serif", 12).into_font(); in draw()
/external/rust/crates/plotters/plotters-doc-data/
Devcxr-jupyter-integration.ipynb168 …" 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",