Home
last modified time | relevance | path

Searched refs:tick_size (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/plotters/src/chart/context/cartesian2d/
Ddraw_impl.rs143 tick_size: i32, in draw_axis_and_labels()
155 let label_dist = tick_size.abs() * 2; in draw_axis_and_labels()
159 let axis_range = self.draw_axis(area, axis_style, orientation, tick_size < 0)?; in draw_axis_and_labels()
168 if orientation.0 > 0 && orientation.1 == 0 && tick_size >= 0 { in draw_axis_and_labels()
200 let (cx, cy, h_pos, v_pos) = if tick_size >= 0 { in draw_axis_and_labels()
256 if tick_size != 0 { in draw_axis_and_labels()
260 let (kx0, ky0, kx1, ky1) = if tick_size > 0 { in draw_axis_and_labels()
262 (dx, dy) if dx > 0 && dy == 0 => (0, *p - y0, tick_size, *p - y0), in draw_axis_and_labels()
264 (xmax - tick_size, *p - y0, xmax, *p - y0) in draw_axis_and_labels()
266 (dx, dy) if dx == 0 && dy > 0 => (*p - x0, 0, *p - x0, tick_size), in draw_axis_and_labels()
[all …]
/external/cronet/third_party/quic_trace/src/tools/render/
Daxis_renderer.cc137 const float tick_size = state_->ScaleForDpi(10); in Render() local
149 lines.push_back({tick.offset, 0, tick.offset, -tick_size}); in Render()
154 axis_offset.y - text->height() - tick_size); // Shift on Y in Render()
159 lines.push_back({0, tick.offset, -tick_size, tick.offset}); in Render()
163 axis_offset.x - text->width() - tick_size * 1.6, // Shift on X in Render()
/external/rust/crates/plotters/src/chart/
Daxes3d.rs25 pub(super) tick_size: i32, field
53 pub fn tick_size<Size: SizeDesc>(&mut self, size: Size) -> &mut Self { in tick_size() function
55 self.tick_size = actual_size; in tick_size()
218 let tick_size = base_tick_size; in new() localVariable
221 tick_size, in new()
309 self.tick_size, in draw()
/external/rust/crates/plotters/src/chart/context/cartesian3d/
Ddraw_impl.rs57 tick_size: i32,
78 (-tick_size, 0)
80 (tick_size, 0)
84 (0, -tick_size)
86 (0, tick_size)
/external/rust/crates/plotters-svg/src/
Dsvg.rs605 fn draw_mesh_with_custom_ticks(tick_size: i32, test_name: &str) { in draw_mesh_with_custom_ticks()
618 .set_all_tick_mark_size(tick_size) in draw_mesh_with_custom_ticks()