Commit 25c149bb authored by dickelbeck's avatar dickelbeck

text mirroring fix from Andrey Sivchikov

parent e0815667
...@@ -296,7 +296,7 @@ static void PlotTextModule( TEXTE_MODULE* pt_texte ) ...@@ -296,7 +296,7 @@ static void PlotTextModule( TEXTE_MODULE* pt_texte )
epaisseur = g_PlotLine_Width; epaisseur = g_PlotLine_Width;
if( no_miroir == 0 ) if( no_miroir == 0 )
size.y = -size.y; // Text is mirrored size.x = -size.x; // Text is mirrored
Plot_1_texte( format_plot, pt_texte->m_Text, Plot_1_texte( format_plot, pt_texte->m_Text,
orient, epaisseur, orient, epaisseur,
...@@ -590,7 +590,10 @@ void Plot_1_texte( int format_plot, const wxString& Text, int angle, ...@@ -590,7 +590,10 @@ void Plot_1_texte( int format_plot, const wxString& Text, int angle,
ptcar = graphic_fonte_shape[code]; /* ptcar pointe la description ptcar = graphic_fonte_shape[code]; /* ptcar pointe la description
* du caractere a dessiner */ * du caractere a dessiner */
plume = 'U'; ox = sx; oy = sy; plume = 'U';
ox = sx;
oy = sy;
RotatePoint( &ox, &oy, cX, cY, angle ); RotatePoint( &ox, &oy, cX, cY, angle );
fx = ox; fy = oy; fx = ox; fy = oy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment