• Home
  • Raw
  • Download

Lines Matching refs:check_result

22         check_result!(draw(x, (y0, y1)));  in draw_part_a()
38 check_result!(draw(x, (-x as f64, x as f64))); in draw_part_b()
68 check_result!(draw(x, (y0, y1))); in draw_part_c()
78 check_result!(draw(x, (y0, y1 + 1.0))); in draw_part_c()
79 check_result!(draw(-x, (y0, y1 + 1.0))); in draw_part_c()
104 check_result!(b.draw_line( in draw_sweep_line()
109 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()
112 check_result!(b.draw_line( 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()
133 check_result!(draw_part_a::<B, _>(a0, radius.0, |p, r| draw_sweep_line( in draw_annulus()
141 check_result!(draw_part_a::<B, _>(a0, radius.0, |p, r| draw_sweep_line( in draw_annulus()
149 check_result!(draw_part_a::<B, _>(a0, radius.0, |p, r| draw_sweep_line( in draw_annulus()
157 check_result!(draw_part_a::<B, _>(a0, radius.0, |p, r| draw_sweep_line( in draw_annulus()
167 check_result!(draw_part_b::<B, _>( in draw_annulus()
174 check_result!(b.draw_line( in draw_annulus()
179 check_result!(b.draw_line( in draw_annulus()
185 check_result!(b.draw_line( in draw_annulus()
190 check_result!(b.draw_line( in draw_annulus()
201 check_result!(draw_part_c::<B, _>( in draw_annulus()
206 check_result!(draw_part_c::<B, _>( in draw_annulus()
211 check_result!(draw_part_c::<B, _>( in draw_annulus()
216 check_result!(draw_part_c::<B, _>( in draw_annulus()
230 check_result!(b.draw_line( in draw_annulus()
235 check_result!(b.draw_line( in draw_annulus()
240 check_result!(b.draw_line( in draw_annulus()
245 check_result!(b.draw_line( in draw_annulus()
251 check_result!(b.draw_line( in draw_annulus()
256 check_result!(b.draw_line( in draw_annulus()
261 check_result!(b.draw_line( in draw_annulus()
266 check_result!(b.draw_line( in draw_annulus()
324 check_result!(b.draw_line((left, y), (right, y), &style.color())); in draw_circle()
325 check_result!(b.draw_line((x, top), (x, up), &style.color())); in draw_circle()
326 check_result!(b.draw_line((x, down), (x, bottom), &style.color())); in draw_circle()
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()
337 check_result!(b.draw_pixel((x, top - 1), style.color().mix(v))); in draw_circle()
338 check_result!(b.draw_pixel((x, bottom + 1), style.color().mix(v))); in draw_circle()