Home
last modified time | relevance | path

Searched refs:drawing_area (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/plotters/src/chart/
Dbuilder.rs189 let mut drawing_area = DrawingArea::clone(self.root_area); in build_cartesian_2d() localVariable
192 drawing_area = drawing_area.margin( in build_cartesian_2d()
201 let (origin_dx, origin_dy) = drawing_area.get_base_pixel(); in build_cartesian_2d()
202 drawing_area = drawing_area.titled(title, style.clone())?; in build_cartesian_2d()
203 let (current_dx, current_dy) = drawing_area.get_base_pixel(); in build_cartesian_2d()
209 let (w, h) = drawing_area.dim_in_pixel(); in build_cartesian_2d()
239 let mut split: Vec<_> = drawing_area in build_cartesian_2d()
249 std::mem::swap(&mut drawing_area, split[4].as_mut().unwrap()); in build_cartesian_2d()
261 let (dw, dh) = drawing_area.dim_in_pixel(); in build_cartesian_2d()
276 drawing_area in build_cartesian_2d()
[all …]
Dstate.rs45 drawing_area_size: chart.drawing_area.dim_in_pixel(), in from()
46 coord: chart.drawing_area.into_coord_spec(), in from()
65 drawing_area_size: self.drawing_area.dim_in_pixel(), in into_shared_chart_state()
66 coord: Arc::new(self.drawing_area.into_coord_spec()), in into_shared_chart_state()
79 drawing_area_size: chart.drawing_area.dim_in_pixel(), in from()
80 coord: chart.drawing_area.as_coord_spec().clone(), in from()
107 drawing_area: area.apply_coord_spec(self.coord), in restore()
Dcontext.rs29 pub(super) drawing_area: DrawingArea<DB, CT>, field
48 let (dx0, dy0) = self.drawing_area.get_base_pixel(); in is_overlapping_drawing_area()
49 let (w, h) = self.drawing_area.dim_in_pixel(); in is_overlapping_drawing_area()
71 let coord_spec = self.drawing_area.into_coord_spec(); in into_coord_trans()
87 &self.drawing_area in plotting_area()
92 self.drawing_area.as_coord_spec() in as_coord_spec()
111 self.drawing_area.draw(element.borrow())?; in draw_series_impl()
141 self.drawing_area.get_x_range() in x_range()
146 self.drawing_area.get_y_range() in y_range()
152 self.drawing_area.map_coordinate(coord) in backend_coord()
[all …]
Dseries.rs170 let drawing_area = self.target.plotting_area().strip_coord_spec(); in draw() localVariable
209 let (area_w, area_h) = drawing_area.dim_in_pixel(); in draw()
218 drawing_area.draw(&Rectangle::new( in draw()
222 drawing_area.draw(&Rectangle::new( in draw()
226 drawing_area.draw(&label_element)?; in draw()
237 drawing_area.draw(&legend_element)?; in draw()
Ddual_coord.rs107 .drawing_area in new()
121 drawing_area: secondary_drawing_area, in new()
130 &self.secondary.drawing_area in secondary_plotting_area()
145 let coord_spec = self.secondary.drawing_area.into_coord_spec(); in into_secondary_coord_trans()
161 let coord_spec_1 = self.primary.drawing_area.into_coord_spec(); in into_coord_trans_pair()
162 let coord_spec_2 = self.secondary.drawing_area.into_coord_spec(); in into_coord_trans_pair()
Daxes3d.rs101 let parent_size = chart.drawing_area.dim_in_pixel(); in new()
Dmesh.rs192 parent_size: chart.drawing_area.dim_in_pixel(), in new()
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DQuickDraw_Graphics_Suppleme.py18 class drawing_area(aetools.ComponentItem): class
34 drawing_areas = drawing_area
41 drawing_area._superclassnames = []
42 drawing_area._privpropdict = {
47 drawing_area._privelemdict = {
59 'cdrw' : drawing_area,
DQuickDraw_Graphics_Suite.py64 class drawing_area(aetools.ComponentItem): class
120 drawing_areas = drawing_area
244 drawing_area._superclassnames = []
245 drawing_area._privpropdict = {
260 drawing_area._privelemdict = {
360 'cdrw' : drawing_area,
D__init__.py79 getbaseclasses(drawing_area)
115 getbaseclasses(drawing_area)
274 'cdrw' : drawing_area,
310 'cdrw' : drawing_area,
/external/python/cpython2/Demo/tkinter/guido/
Dpaint.py32 drawing_area = Canvas(root)
33 drawing_area.pack()
34 drawing_area.bind("<Motion>", motion)
35 drawing_area.bind("<ButtonPress-1>", b1down)
36 drawing_area.bind("<ButtonRelease-1>", b1up)
/external/rust/crates/plotters/src/drawing/
Darea.rs539 let drawing_area = create_mocked_drawing_area(1024, 768, |m| { in test_filling() localVariable
553 drawing_area.fill(&WHITE).expect("Drawing Failure"); in test_filling()
561 let drawing_area = create_mocked_drawing_area(902, 900, |m| { in test_split_evenly() localVariable
585 drawing_area in test_split_evenly()
596 let drawing_area = create_mocked_drawing_area(1024, 768, |m| { in test_split_horizontally() localVariable
617 let (left, right) = drawing_area.split_horizontally(345); in test_split_horizontally()
624 let drawing_area = create_mocked_drawing_area(1024, 768, |m| { in test_split_vertically() localVariable
645 let (left, right) = drawing_area.split_vertically(345); in test_split_vertically()
659 let drawing_area = create_mocked_drawing_area(1024, 768, |m| { in test_split_grid() localVariable
695 let result = drawing_area in test_split_grid()
[all …]
/external/rust/crates/plotters/examples/
Dsierpinski.rs6 drawing_area: &DrawingArea<BitMapBackend, Shift>, in sierpinski_carpet()
9 let sub_areas = drawing_area.split_evenly((3, 3)); in sierpinski_carpet()
Dchart.rs68 for (drawing_area, idx) in drawing_areas.iter().zip(1..) { in main()
69 let mut cc = ChartBuilder::on(&drawing_area) in main()
/external/rust/crates/plotters/src/series/
Dline_series.rs60 let drawing_area = create_mocked_drawing_area(200, 200, |m| { in test_line_series() localVariable
75 let mut chart = ChartBuilder::on(&drawing_area) in test_line_series()
/external/rust/crates/plotters/plotters-doc-data/
Devcxr-jupyter-integration.ipynb4893 " drawing_area: &DrawingArea<SVGBackend, Shift>) \n",
4896 " let sub_areas = drawing_area.split_evenly((3,3));\n",