Improve signal-to-noise in the code.

This commit is contained in:
Jeff Young
2025-11-14 15:17:35 +00:00
parent 561fe96f8a
commit 16ca38ed4a
27 changed files with 46 additions and 62 deletions
+2 -2
View File
@@ -2507,8 +2507,8 @@ void PDF_PLOTTER::drawOverbars( const std::vector<OVERBAR_INFO>& aOverbars, cons
endPt.x -= dir.x * barTrim - offVec.x; // subtract trim, then apply same vertical offset
endPt.y -= dir.y * barTrim - offVec.y;
VECTOR2I iStart( KiROUND( startPt.x ), KiROUND( startPt.y ) );
VECTOR2I iEnd( KiROUND( endPt.x ), KiROUND( endPt.y ) );
VECTOR2I iStart = KiROUND( startPt.x, startPt.y );
VECTOR2I iEnd = KiROUND( endPt.x, endPt.y );
MoveTo( iStart );
LineTo( iEnd );