/external/rust/crates/plotters/src/drawing/backend_impl/ |
D | mocked.rs | 6 BackendColor, BackendCoord, BackendStyle, BackendTextStyle, DrawingBackend, DrawingErrorKind, 30 check_draw_pixel: VecDeque<Box<dyn FnMut(RGBAColor, BackendCoord)>>, 31 check_draw_line: VecDeque<Box<dyn FnMut(RGBAColor, u32, BackendCoord, BackendCoord)>>, 32 check_draw_rect: VecDeque<Box<dyn FnMut(RGBAColor, u32, bool, BackendCoord, BackendCoord)>>, 33 check_draw_path: VecDeque<Box<dyn FnMut(RGBAColor, u32, Vec<BackendCoord>)>>, 34 check_draw_circle: VecDeque<Box<dyn FnMut(RGBAColor, u32, bool, BackendCoord, u32)>>, 35 check_draw_text: VecDeque<Box<dyn FnMut(RGBAColor, &str, f64, BackendCoord, &str)>>, 36 check_fill_polygon: VecDeque<Box<dyn FnMut(RGBAColor, Vec<BackendCoord>)>>, 80 def_set_checker_func!(check_draw_pixel, RGBAColor, BackendCoord); 81 def_set_checker_func!(check_draw_line, RGBAColor, u32, BackendCoord, BackendCoord); [all …]
|
/external/rust/crates/plotters/src/coord/ |
D | mod.rs | 27 use plotters_backend::BackendCoord; 58 pub struct Shift(pub BackendCoord); 61 type From = BackendCoord; 62 fn translate(&self, from: &Self::From) -> BackendCoord { in translate() argument 68 fn reverse_translate(&self, input: BackendCoord) -> Option<BackendCoord> { in reverse_translate() argument
|
D | translate.rs | 1 use plotters_backend::BackendCoord; 9 fn translate(&self, from: &Self::From) -> BackendCoord; in translate() argument 18 fn translate(&self, from: &Self::From) -> BackendCoord { in translate() argument 31 fn reverse_translate(&self, input: BackendCoord) -> Option<Self::From>; in reverse_translate()
|
/external/rust/crates/plotters/src/element/ |
D | composable.rs | 26 for<'a> &'a Other: PointCollection<'a, BackendCoord>, 47 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 76 for<'a> &'a A: PointCollection<'a, BackendCoord>, 79 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 102 for<'a> &'a My: PointCollection<'a, BackendCoord>, 104 for<'a> &'a Yours: PointCollection<'a, BackendCoord>, 144 for<'a> &'a A: PointCollection<'a, BackendCoord>, 145 for<'b> &'b B: PointCollection<'b, BackendCoord>, 149 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 180 for<'a> &'a A: PointCollection<'a, BackendCoord>, [all …]
|
D | errorbar.rs | 5 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 12 fn ending_coord(coord: BackendCoord, w: u32) -> (BackendCoord, BackendCoord); in ending_coord() argument 27 fn ending_coord(coord: BackendCoord, w: u32) -> (BackendCoord, BackendCoord) { in ending_coord() argument 43 fn ending_coord(coord: BackendCoord, w: u32) -> (BackendCoord, BackendCoord) { in ending_coord() argument 111 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | boxplot.rs | 6 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 14 fn with_offset(coord: BackendCoord, offset: f64) -> BackendCoord; in with_offset() argument 31 fn with_offset(coord: BackendCoord, offset: f64) -> BackendCoord { in with_offset() argument 44 fn with_offset(coord: BackendCoord, offset: f64) -> BackendCoord { in with_offset() argument 194 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | dynelem.rs | 2 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 9 points: &mut dyn Iterator<Item = BackendCoord>, in draw_dyn() 18 points: &mut dyn Iterator<Item = BackendCoord>, in draw_dyn() 47 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | text.rs | 6 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 40 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 107 fn layout_lines(&self, (x0, y0): BackendCoord) -> impl Iterator<Item = BackendCoord> { in layout_lines() 155 impl<'a, T: Borrow<str>> MultiLineText<'a, BackendCoord, T> { 229 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | basic_shapes.rs | 3 use plotters_backend::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind}; 29 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 92 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 164 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 256 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 317 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | mod.rs | 157 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 237 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | points.rs | 4 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 37 fn draw<I: Iterator<Item = BackendCoord>>( in draw() 80 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
D | candlestick.rs | 9 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 73 fn draw<I: Iterator<Item = BackendCoord>>( in draw()
|
/external/rust/crates/plotters-backend/src/rasterizer/ |
D | path.rs | 1 use crate::BackendCoord; 3 fn get_dir_vector(from: BackendCoord, to: BackendCoord, flag: bool) -> ((f64, f64), (f64, f64)) { in get_dir_vector() argument 16 fn compute_polygon_vertex(triple: &[BackendCoord; 3], d: f64) -> BackendCoord { in compute_polygon_vertex() argument 57 mut vertices: impl Iterator<Item = &'a BackendCoord>, in traverse_vertices() 59 mut op: impl FnMut(BackendCoord), in traverse_vertices() argument 104 pub fn polygonize(vertices: &[BackendCoord], stroke_width: u32) -> Vec<BackendCoord> { in polygonize() argument
|
D | rect.rs | 1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind}; 5 upper_left: BackendCoord, in draw_rect() argument 6 bottom_right: BackendCoord, in draw_rect() argument
|
D | polygon.rs | 1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind}; 14 fn horizontal_sweep(mut from: BackendCoord, mut to: BackendCoord) -> Option<Edge> { in horizontal_sweep() argument 31 fn vertical_sweep(from: BackendCoord, to: BackendCoord) -> Option<Edge> { in vertical_sweep() argument 74 vertices: &[BackendCoord], in fill_polygon() argument
|
D | line.rs | 1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind}; 5 mut from: BackendCoord, in draw_line() argument 6 mut to: BackendCoord, in draw_line() argument 83 let mut put_pixel = |(x, y): BackendCoord, b: f64| { in draw_line()
|
D | circle.rs | 1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind}; 89 (x0, y0): BackendCoord, in draw_sweep_line() argument 126 center: BackendCoord, in draw_annulus() argument 277 center: BackendCoord, in draw_circle() argument
|
/external/rust/crates/plotters-backend/src/ |
D | lib.rs | 77 pub type BackendCoord = (i32, i32); typedef 128 point: BackendCoord, in draw_pixel() argument 138 from: BackendCoord, in draw_line() argument 139 to: BackendCoord, in draw_line() argument 152 upper_left: BackendCoord, in draw_rect() argument 153 bottom_right: BackendCoord, in draw_rect() argument 163 fn draw_path<S: BackendStyle, I: IntoIterator<Item = BackendCoord>>( in draw_path() 173 let mut begin: Option<BackendCoord> = None; in draw_path() 198 center: BackendCoord, in draw_circle() argument 206 fn fill_polygon<S: BackendStyle, I: IntoIterator<Item = BackendCoord>>( in fill_polygon() [all …]
|
D | text.rs | 1 use super::{BackendColor, BackendCoord}; 241 pos: BackendCoord, in draw() argument
|
/external/rust/crates/plotters/src/coord/ranged2d/ |
D | cartesian.rs | 14 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 116 fn translate(&self, from: &Self::From) -> BackendCoord { in translate() argument 125 fn reverse_translate(&self, input: BackendCoord) -> Option<Self::From> { in reverse_translate() 135 XMesh(BackendCoord, BackendCoord, &'a X::ValueType), 136 YMesh(BackendCoord, BackendCoord, &'a Y::ValueType),
|
/external/rust/crates/plotters/src/chart/ |
D | series.rs | 7 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind}; 9 type SeriesAnnoDrawFn<'a, DB> = dyn Fn(BackendCoord) -> DynElement<'a, DB, BackendCoord> + 'a; 48 pub fn legend<E: IntoDynElement<'a, DB, BackendCoord>, T: Fn(BackendCoord) -> E + 'a>( in legend() argument 195 draw_func.unwrap_or_else(|| &|p: BackendCoord| EmptyElement::at(p).into_dyn()), in draw()
|
D | dual_coord.rs | 17 use plotters_backend::{BackendCoord, DrawingBackend}; 144 pub fn into_secondary_coord_trans(self) -> impl Fn(BackendCoord) -> Option<CT2::From> { in into_secondary_coord_trans() 158 impl Fn(BackendCoord) -> Option<CT1::From>, in into_coord_trans_pair() 159 impl Fn(BackendCoord) -> Option<CT2::From>, in into_coord_trans_pair()
|
/external/rust/crates/plotters-svg/src/ |
D | svg.rs | 7 BackendColor, BackendCoord, BackendStyle, BackendTextStyle, DrawingBackend, DrawingErrorKind, 218 point: BackendCoord, in draw_pixel() argument 242 from: BackendCoord, in draw_line() argument 243 to: BackendCoord, in draw_line() argument 267 upper_left: BackendCoord, in draw_rect() argument 268 bottom_right: BackendCoord, in draw_rect() argument 299 fn draw_path<S: BackendStyle, I: IntoIterator<Item = BackendCoord>>( in draw_path() 327 fn fill_polygon<S: BackendStyle, I: IntoIterator<Item = BackendCoord>>( in fill_polygon() 355 center: BackendCoord, in draw_circle() argument 388 pos: BackendCoord, in draw_text() argument [all …]
|
/external/rust/crates/plotters/src/coord/ranged3d/ |
D | cartesian3d.rs | 4 use plotters_backend::BackendCoord; 101 fn translate(&self, coord: &Self::From) -> BackendCoord { in translate() argument
|
/external/rust/crates/plotters/src/style/ |
D | text.rs | 6 use plotters_backend::{BackendColor, BackendCoord, BackendStyle, BackendTextStyle}; 174 pos: BackendCoord, in draw() argument
|