Lines Matching refs:Color

4     color::Color,
28 fn data(&self) -> &[Color]; in data() argument
31 fn data_mut(&mut self) -> &mut [Color]; in data_mut() argument
46 fn pixel(&mut self, x: i32, y: i32, color: Color) { in pixel() argument
85 fn char(&mut self, x: i32, y: i32, c: char, color: Color) { in char() argument
113 fn image(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, data: &[Color]) { in image() argument
126 fn image_over(&mut self, start: i32, image_data: &[Color]) { in image_over() argument
138 fn image_opaque(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_opaque() argument
173 fn image_fast(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_fast() argument
224 fn arc(&mut self, x0: i32, y0: i32, radius: i32, parts: u8, color: Color) { in arc() argument
294 fn circle(&mut self, x0: i32, y0: i32, radius: i32, color: Color) { in circle() argument
345 fn line4points(&mut self, x0: i32, y0: i32, x: i32, y: i32, color: Color) { in line4points() argument
364 fn line(&mut self, argx1: i32, argy1: i32, argx2: i32, argy2: i32, color: Color) { in line() argument
411 fn lines(&mut self, points: &[[i32; 2]], color: Color) { in lines() argument
434 fn draw_path(&mut self, graphicspath: GraphicsPath, color: Color) { in draw_path() argument
456 fn rect(&mut self, x: i32, y: i32, w: u32, h: u32, color: Color) { in rect() argument
499 fn set(&mut self, color: Color) { in set() argument
512 self.set(Color::rgb(0, 0, 0)); in clear()
524 fn get_pixel(&self, x: i32, y: i32) -> Color { in get_pixel() argument
528 return Color::rgb(0, 0, 0); in get_pixel()