@@ -275,8 +275,8 @@ fn thickline(
275275
276276 seed_line_error += e_major;
277277 thickness_accumulator += 2 * thickness_dx;
278- seed_point += seed_step. major ;
279- mul_point += parallel_step_full. minor * -1 ;
278+ seed_point += seed_step. major * 2 ;
279+ mul_point += parallel_step_full. minor * -1 * 2 ;
280280
281281 prev = p;
282282 }
@@ -444,6 +444,8 @@ fn parallel_line_2(
444444) -> Result < ( ) , std:: convert:: Infallible > {
445445 let mut point = start;
446446
447+ point += step. major * 2 ;
448+
447449 let dx = delta. major ;
448450 let dy = delta. minor ;
449451
@@ -469,19 +471,19 @@ fn parallel_line_2(
469471
470472 Pixel ( p, c) . draw ( display) ?;
471473
472- // Draws a pixel connecting a diagonal move into a solid stairstep-looking piece. This is
473- // required for the additional diagonal move lines that are drawn when stepping in both the
474- // major and minor directions in the seed line.
475- if extra {
476- let p = point + step. minor ;
474+ // // Draws a pixel connecting a diagonal move into a solid stairstep-looking piece. This is
475+ // // required for the additional diagonal move lines that are drawn when stepping in both the
476+ // // major and minor directions in the seed line.
477+ // if extra {
478+ // let p = point + step.minor;
477479
478- let p = Point :: new (
479- if line_is_y_major { p. x >> 8 } else { p. x } ,
480- if line_is_y_major { p. y } else { p. y >> 8 } ,
481- ) ;
480+ // let p = Point::new(
481+ // if line_is_y_major { p.x >> 8 } else { p.x },
482+ // if line_is_y_major { p.y } else { p.y >> 8 },
483+ // );
482484
483- Pixel ( p, c) . draw ( display) ?;
484- }
485+ // Pixel(p, c).draw(display)?;
486+ // }
485487
486488 if error > 0 {
487489 point += step. minor ;
0 commit comments