Home
last modified time | relevance | path

Searched refs:draw_pixel (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/plotters-backend/src/rasterizer/
Dcircle.rs109 check_result!(b.draw_pixel((p0 + x0, s.ceil() as i32 + y0 - 1), style.color().mix(vs))); in draw_sweep_line()
110 check_result!(b.draw_pixel((p0 + x0, e.floor() as i32 + y0 + 1), style.color().mix(ve))); in draw_sweep_line()
117 check_result!(b.draw_pixel((s.ceil() as i32 + x0 - 1, p0 + y0), style.color().mix(vs))); in draw_sweep_line()
118 check_result!(b.draw_pixel((e.floor() as i32 + x0 + 1, p0 + y0), style.color().mix(ve))); in draw_sweep_line()
328 check_result!(b.draw_pixel((left, y), style.color().mix(1.0 - v))); in draw_circle()
329 check_result!(b.draw_pixel((right, y), style.color().mix(1.0 - v))); in draw_circle()
331 check_result!(b.draw_pixel((x, top), style.color().mix(1.0 - v))); in draw_circle()
332 check_result!(b.draw_pixel((x, bottom), style.color().mix(1.0 - v))); in draw_circle()
335 check_result!(b.draw_pixel((left - 1, y), style.color().mix(v))); in draw_circle()
336 check_result!(b.draw_pixel((right + 1, y), style.color().mix(v))); in draw_circle()
[all …]
Dline.rs47 check_result!(back.draw_pixel((from.0, y), style.color())); in draw_line()
57 check_result!(back.draw_pixel((x, from.1), style.color())); in draw_line()
85 back.draw_pixel((y, x), style.color().mix(b)) in draw_line()
87 back.draw_pixel((x, y), style.color().mix(b)) in draw_line()
Dpolygon.rs209 check_result!(back.draw_pixel( in fill_polygon()
213 check_result!(back.draw_pixel( in fill_polygon()
223 check_result!(back.draw_pixel( in fill_polygon()
227 check_result!(back.draw_pixel( in fill_polygon()
/external/rust/crates/plotters/benches/benches/
Drasterizer.rs9 fn draw_pixel(c: &mut Criterion) { in draw_pixel() function
18 root.draw_pixel((x as i32, y as i32), RGBColor(255, 0, 234).color()) in draw_pixel()
32 root.draw_pixel((x as i32, y as i32), RGBColor(255, 0, 234).color()) in draw_pixel()
199 draw_pixel,
/external/rust/crates/plotters/examples/
Dmandelbrot.rs31 plotting_area.draw_pixel((x, y), &HSLColor(c as f64 / 100.0, 1.0, 0.5))?; in main()
33 plotting_area.draw_pixel((x, y), &BLACK)?; in main()
Dconsole.rs78 fn draw_pixel( in draw_pixel() method
/external/rust/crates/plotters-backend/src/
Dlib.rs126 fn draw_pixel( in draw_pixel() method
253 self.draw_pixel((x, y), color) in draw_text()
317 let result = self.draw_pixel((pos.0 + dx as i32, pos.1 + dy as i32), color); in blit_bitmap()
/external/ImageMagick/coders/
Dwmf.c423 static void ipa_draw_pixel(wmfAPI * API, wmfDrawPixel_t * draw_pixel);
981 static void ipa_draw_pixel(wmfAPI * API, wmfDrawPixel_t * draw_pixel) in ipa_draw_pixel() argument
988 draw_fill_color_rgb(API,&(draw_pixel->color)); in ipa_draw_pixel()
991 XC(draw_pixel->pt.x), in ipa_draw_pixel()
992 YC(draw_pixel->pt.y), in ipa_draw_pixel()
993 XC(draw_pixel->pt.x + draw_pixel->pixel_width), in ipa_draw_pixel()
994 YC(draw_pixel->pt.y + draw_pixel->pixel_height)); in ipa_draw_pixel()
1392 FR->draw_pixel = ipa_draw_pixel; in ipa_functions()
/external/rust/crates/plotters-svg/src/
Dsvg.rs216 fn draw_pixel( in draw_pixel() method
827 root.draw_pixel((50 + i, 50 + i), &BLACK.mix(alpha)) in test_draw_pixel_alphas()
/external/rust/crates/plotters/src/drawing/backend_impl/
Dmocked.rs131 fn draw_pixel( in draw_pixel() method
/external/rust/crates/plotters/src/element/
Dbasic_shapes.rs36 return backend.draw_pixel((x, y), self.style.color()); in draw()
/external/rust/crates/plotters/src/drawing/
Darea.rs296 pub fn draw_pixel<ColorType: Color>( in draw_pixel() method
302 self.backend_ops(|b| b.draw_pixel(pos, color.color())) in draw_pixel()