Home
last modified time | relevance | path

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

/external/rust/crates/plotters/src/drawing/backend_impl/
Dmocked.rs4 use crate::style::RGBAColor;
11 pub fn check_color(left: BackendColor, right: RGBAColor) { in check_color() argument
13 RGBAColor(left.rgb.0, left.rgb.1, left.rgb.2, left.alpha), in check_color()
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>)>>,
[all …]
/external/rust/crates/plotters/src/style/
Dcolor.rs23 fn mix(&self, value: f64) -> RGBAColor { in mix() argument
26 RGBAColor(r, g, b, a) in mix()
30 fn to_rgba(&self) -> RGBAColor { in to_rgba() argument
33 RGBAColor(r, g, b, a) in to_rgba()
56 pub struct RGBAColor(pub(crate) u8, pub(crate) u8, pub(crate) u8, pub(crate) f64); struct
58 impl BackendStyle for RGBAColor { implementation
67 impl Color for RGBAColor {} implementation
Dcolors.rs2 use super::{RGBAColor, RGBColor};
12 pub const $name: RGBAColor = RGBAColor($r, $g, $b, $a);
Dshape.rs1 use super::color::{Color, RGBAColor};
7 pub color: RGBAColor,
/external/rust/crates/criterion/src/plot/plotters_backend/
Dpdf.rs5 use plotters::style::RGBAColor;
275 |filter: &dyn Fn(&Label) -> bool, color: RGBAColor, name: &str| { in pdf()