← Back to team overview

kicad-developers team mailing list archive

Arc drawing: code vs comment



I just stumbled across

    /* Please NOTE the different sign due to Y-axis flip */
    start.x = centre.x + KiROUND( cosdecideg( radius, -StAngle ) );
    start.y = centre.y + KiROUND( sindecideg( radius, -StAngle ) );

at common/plotters/plotter.cpp:164.

Is that comment obsolete, or is there a bug here?


Follow ups