Pull some more improvements in from rockola/kicad-strokefont.

This one is primarily about pushing TEXT_ATTRIBUTES in to the GAL
API, but it also includes adding EDA_ANGLE signatures to some trig
routines to ease integration.
This commit is contained in:
Jeff Young
2021-12-29 17:32:19 +00:00
parent 906eee68a5
commit dd6cd7d184
10 changed files with 92 additions and 217 deletions
+2 -2
View File
@@ -475,8 +475,8 @@ void PSLIKE_PLOTTER::computeTextParameters( const wxPoint& aPos,
case GR_TEXT_V_ALIGN_BOTTOM: dy = 0; break;
}
RotatePoint( &dx, &dy, aOrient.AsTenthsOfADegree() );
RotatePoint( &tw, &th, aOrient.AsTenthsOfADegree() );
RotatePoint( &dx, &dy, aOrient );
RotatePoint( &tw, &th, aOrient );
start_pos.x += dx;
start_pos.y += dy;
DPOINT pos_dev = userToDeviceCoordinates( start_pos );