Home
last modified time | relevance | path

Searched refs:DrawingBackend (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/plotters/src/element/
Dcomposable.rs2 use plotters_backend::DrawingBackend;
9 pub struct EmptyElement<Coord, DB: DrawingBackend> {
14 impl<Coord, DB: DrawingBackend> EmptyElement<Coord, DB> {
23 impl<Coord, Other, DB: DrawingBackend> Add<Other> for EmptyElement<Coord, DB>
38 impl<'a, Coord, DB: DrawingBackend> PointCollection<'a, Coord> for &'a EmptyElement<Coord, DB> {
46 impl<Coord, DB: DrawingBackend> Drawable<DB> for EmptyElement<Coord, DB> {
58 pub struct BoxedElement<Coord, DB: DrawingBackend, A: Drawable<DB>> {
64 impl<'b, Coord, DB: DrawingBackend, A: Drawable<DB>> PointCollection<'b, Coord>
74 impl<Coord, DB: DrawingBackend, A> Drawable<DB> for BoxedElement<Coord, DB, A>
99 impl<Coord, DB: DrawingBackend, My, Yours> Add<Yours> for BoxedElement<Coord, DB, My>
[all …]
Ddynelem.rs2 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
6 trait DynDrawable<DB: DrawingBackend> {
15 impl<DB: DrawingBackend, T: Drawable<DB>> DynDrawable<DB> for T {
29 DB: DrawingBackend,
36 impl<'a, 'b: 'a, DB: DrawingBackend, Coord: Clone> PointCollection<'a, Coord>
46 impl<'a, DB: DrawingBackend, Coord: Clone> Drawable<DB> for DynElement<'a, DB, Coord> {
59 pub trait IntoDynElement<'a, DB: DrawingBackend, Coord: Clone>
72 DB: DrawingBackend,
Dbasic_shapes.rs3 use plotters_backend::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind};
28 impl<Coord, DB: DrawingBackend> Drawable<DB> for Pixel<Coord> {
91 impl<Coord, DB: DrawingBackend> Drawable<DB> for PathElement<Coord> {
163 impl<Coord, DB: DrawingBackend> Drawable<DB> for Rectangle<Coord> {
255 impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for Circle<Coord, Size> {
316 impl<Coord, DB: DrawingBackend> Drawable<DB> for Polygon<Coord> {
Dmod.rs157 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
234 pub trait Drawable<DB: DrawingBackend> {
Dpoints.rs4 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
36 impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for Cross<Coord, Size> {
79 impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for TriangleMarker<Coord, Size> {
Dcandlestick.rs9 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
72 impl<X, Y: PartialOrd, DB: DrawingBackend> Drawable<DB> for CandleStick<X, Y> {
Dtext.rs6 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
39 impl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB> for Text<'a, Coord, T> {
226 impl<'a, Coord: 'a, DB: DrawingBackend, T: Borrow<str>> Drawable<DB>
Derrorbar.rs5 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
110 impl<K, V, O: ErrorBarOrient<K, V>, DB: DrawingBackend> Drawable<DB> for ErrorBar<K, V, O> {
/external/rust/crates/plotters/src/chart/
Ddual_coord.rs17 use plotters_backend::{BackendCoord, DrawingBackend};
27 pub struct DualCoordChartContext<'a, DB: DrawingBackend, CT1: CoordTranslate, CT2: CoordTranslate> {
40 impl<DB: DrawingBackend, CT1: CoordTranslate, CT2: CoordTranslate>
74 pub fn restore<DB: DrawingBackend>( in restore()
86 impl<DB: DrawingBackend, CT1: CoordTranslate, CT2: CoordTranslate>
94 impl<'b, DB: DrawingBackend, CT1: CoordTranslate + Clone, CT2: CoordTranslate + Clone>
102 impl<'a, DB: DrawingBackend, CT1: CoordTranslate, CT2: CoordTranslate>
140 impl<DB: DrawingBackend, CT1: CoordTranslate, CT2: ReverseCoordTranslate>
150 impl<DB: DrawingBackend, CT1: ReverseCoordTranslate, CT2: ReverseCoordTranslate>
172 DB: DrawingBackend,
[all …]
Dstate.rs6 use plotters_backend::DrawingBackend;
41 impl<'a, DB: DrawingBackend, CT: CoordTranslate> From<ChartContext<'a, DB, CT>> for ChartState<CT> {
51 impl<'a, DB: DrawingBackend, CT: CoordTranslate> ChartContext<'a, DB, CT> {
73 DB: DrawingBackend,
85 impl<'a, DB: DrawingBackend, CT: CoordTranslate + Clone> ChartContext<'a, DB, CT> {
97 pub fn restore<'a, DB: DrawingBackend>( in restore()
Dseries.rs7 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
14 pub struct SeriesAnno<'a, DB: DrawingBackend> {
19 impl<'a, DB: DrawingBackend> SeriesAnno<'a, DB> {
97 pub struct SeriesLabelStyle<'a, 'b, DB: DrawingBackend, CT: CoordTranslate> {
107 impl<'a, 'b, DB: DrawingBackend + 'a, CT: CoordTranslate> SeriesLabelStyle<'a, 'b, DB, CT> {
Dmesh.rs13 use plotters_backend::DrawingBackend;
16 pub struct SecondaryMeshStyle<'a, 'b, X: Ranged, Y: Ranged, DB: DrawingBackend> {
20 impl<'a, 'b, XT, YT, X: Ranged<ValueType = XT>, Y: Ranged<ValueType = YT>, DB: DrawingBackend>
144 pub struct MeshStyle<'a, 'b, X: Ranged, Y: Ranged, DB: DrawingBackend> {
174 DB: DrawingBackend,
223 DB: DrawingBackend,
Daxes3d.rs14 use plotters_backend::DrawingBackend;
17 pub struct Axes3dStyle<'a, 'b, X: Ranged, Y: Ranged, Z: Ranged, DB: DrawingBackend> {
38 DB: DrawingBackend,
Dcontext.rs17 use plotters_backend::{BackendCoord, DrawingBackend, FontTransform};
26 pub struct ChartContext<'a, DB: DrawingBackend, CT: CoordTranslate> {
36 DB: DrawingBackend,
68 impl<'a, DB: DrawingBackend, CT: ReverseCoordTranslate> ChartContext<'a, DB, CT> {
76 impl<'a, DB: DrawingBackend, CT: CoordTranslate> ChartContext<'a, DB, CT> {
138 impl<'a, DB: DrawingBackend, X: Ranged, Y: Ranged> ChartContext<'a, DB, Cartesian2d<X, Y>> {
578 DB: DrawingBackend,
589 DB: DrawingBackend,
611 DB: DrawingBackend,
/external/rust/crates/plotters/src/series/
Darea_series.rs4 use plotters_backend::DrawingBackend;
7 pub struct AreaSeries<DB: DrawingBackend, X: Clone, Y: Clone> {
16 impl<DB: DrawingBackend, X: Clone, Y: Clone> AreaSeries<DB, X, Y> {
38 impl<DB: DrawingBackend, X: Clone + 'static, Y: Clone + 'static> Iterator for AreaSeries<DB, X, Y> {
Dline_series.rs3 use plotters_backend::DrawingBackend;
8 pub struct LineSeries<DB: DrawingBackend, Coord> {
16 impl<DB: DrawingBackend, Coord: Clone + 'static> Iterator for LineSeries<DB, Coord> {
37 impl<DB: DrawingBackend, Coord> LineSeries<DB, Coord> {
Dhistogram.rs10 use plotters_backend::DrawingBackend;
108 pub fn vertical<ACoord, DB: DrawingBackend + 'a>( in vertical()
125 pub fn horizontal<ACoord, DB: DrawingBackend>( in horizontal()
/external/rust/crates/plotters/src/drawing/
Darea.rs9 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
117 pub struct DrawingArea<DB: DrawingBackend, CT: CoordTranslate> {
123 impl<DB: DrawingBackend, CT: CoordTranslate + Clone> Clone for DrawingArea<DB, CT> {
161 type DrawingAreaError<T: DrawingBackend> = DrawingAreaErrorKind<T::ErrorType>;
163 impl<DB: DrawingBackend> From<DB> for DrawingArea<DB, Shift> {
169 impl<'a, DB: DrawingBackend> From<&'a Rc<RefCell<DB>>> for DrawingArea<DB, Shift> {
176 pub trait IntoDrawingArea: DrawingBackend + Sized {
181 impl<T: DrawingBackend> IntoDrawingArea for T {
187 impl<DB: DrawingBackend, X: Ranged, Y: Ranged> DrawingArea<DB, Cartesian2d<X, Y>> {
223 impl<DB: DrawingBackend, CT: CoordTranslate> DrawingArea<DB, CT> {
[all …]
/external/rust/crates/plotters-backend/src/rasterizer/
Drect.rs1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind};
3 pub fn draw_rect<B: DrawingBackend, S: BackendStyle>( in draw_rect() argument
Dcircle.rs1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind};
4 B: DrawingBackend, in draw_part_a() argument
29 B: DrawingBackend, in draw_part_b() argument
44 B: DrawingBackend, in draw_part_c() argument
86 fn draw_sweep_line<B: DrawingBackend, S: BackendStyle>( in draw_sweep_line() argument
124 fn draw_annulus<B: DrawingBackend, S: BackendStyle>( in draw_annulus() argument
275 pub fn draw_circle<B: DrawingBackend, S: BackendStyle>( in draw_circle() argument
Dline.rs1 use crate::{BackendCoord, BackendStyle, DrawingBackend, DrawingErrorKind};
3 pub fn draw_line<DB: DrawingBackend, S: BackendStyle>( in draw_line() argument
/external/rust/crates/plotters/examples/
Dconsole.rs4 BackendColor, BackendStyle, BackendTextStyle, DrawingBackend, DrawingErrorKind,
55 impl DrawingBackend for TextDrawingBackend {
152 fn draw_chart<DB: DrawingBackend>( in draw_chart()
/external/rust/crates/plotters/src/
Dlib.rs726 pub use plotters_backend::DrawingBackend;
777 pub type DrawResult<T, D: DrawingBackend> =
/external/rust/crates/plotters/src/style/
Dsize.rs3 use plotters_backend::DrawingBackend;
14 impl<D: DrawingBackend, C: CoordTranslate> HasDimension for DrawingArea<D, C> {
/external/rust/crates/plotters/src/coord/ranged2d/
Dcartesian.rs14 use plotters_backend::{BackendCoord, DrawingBackend, DrawingErrorKind};
141 pub fn draw<DB: DrawingBackend>( in draw()

12