/external/rust/crates/codespan-reporting/src/term/ |
D | renderer.rs | 256 Some((label_index, label_style, label)) if *label_index == label_column => { in render_snippet_source() 261 self.label_multi_top_left(severity, *label_style)?; in render_snippet_source() 265 self.label_multi_left(severity, *label_style, None)?; in render_snippet_source() 428 .map(|(label_style, _, _)| *label_style) in render_snippet_source() 435 Some(label_style) => { in render_snippet_source() 436 self.set_color(self.styles().label(severity, label_style))?; in render_snippet_source() 460 if let Some((_, (label_style, _, message))) = trailing_label { in render_snippet_source() 462 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source() 502 for (label_style, range, message) in in render_snippet_source() 518 self.set_color(self.styles().label(severity, *label_style))?; in render_snippet_source() [all …]
|
D | config.rs | 150 pub fn label(&self, severity: Severity, label_style: LabelStyle) -> &ColorSpec { in label() 151 match (label_style, severity) { in label()
|
/external/rust/crates/plotters/src/element/ |
D | pie.rs | 31 label_style: TextStyle<'a>, field 53 let label_style = TextStyle::from(("sans-serif", radius_5pct).into_font()).color(&BLACK); in new() localVariable 62 label_style, in new() 81 pub fn label_style<T: Into<TextStyle<'a>>>(&mut self, label_style: T) { in label_style() method 82 self.label_style = label_style.into(); in label_style() 91 pub fn percentages<T: Into<TextStyle<'a>>>(&mut self, label_style: T) { in percentages() 92 self.percentage_style = Some(label_style.into()); in percentages() 158 let label_size = backend.estimate_text_size(&label.to_string(), &self.label_style)?; in draw() 164 backend.draw_text(&label.to_string(), &self.label_style, mid_coord)?; in draw()
|
/external/rust/crates/plotters/src/chart/ |
D | axes3d.rs | 32 pub(super) label_style: TextStyle<'b>, field 174 pub fn label_style<S: Into<TextStyle<'b>>>(&mut self, style: S) -> &mut Self { in label_style() function 175 self.label_style = style.into(); in label_style() 228 label_style: ("sans-serif", (12).percent().max(12).in_pixels(&parent_size)).into(), in new() 311 self.label_style.clone(), in draw()
|
D | mesh.rs | 114 pub fn label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in label_style() function 115 self.style.label_style(style); in label_style() 369 pub fn label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in label_style() function
|
/external/rust/crates/plotters/src/chart/context/cartesian2d/ |
D | draw_impl.rs | 139 label_style: &TextStyle, in draw_axis_and_labels() 170 .estimate_text_size(text, label_style) in draw_axis_and_labels() 253 let label_style = &label_style.pos(Pos::new(h_pos, v_pos)); in draw_axis_and_labels() localVariable 254 area.draw_text(t, label_style, (text_x, text_y))?; in draw_axis_and_labels()
|
/external/rust/crates/plotters/examples/ |
D | full_palette.rs | 525 let label_style = TextStyle::from(("monospace", 14.0).into_font()).pos(centered); in main() localVariable 534 + Text::new(name, (0, 16), &label_style) in main()
|
D | pie.rs | 20 pie.label_style((("sans-serif", 50).into_font()).color(&(ORANGE))); in main()
|
D | matshow.rs | 25 .label_style(("sans-serif", 20)) in main()
|
D | relative_size.rs | 19 .label_style(("sans-serif", (3).percent_height())) in draw_chart()
|