Fixed stroke text initialization in PCB_PAINTER.
This commit is contained in:
parent
cca36d355a
commit
f502c4cc77
|
@ -816,6 +816,8 @@ void PCB_PAINTER::draw( const TEXTE_PCB* aText, int aLayer )
|
|||
}
|
||||
|
||||
m_gal->SetStrokeColor( color );
|
||||
m_gal->SetIsFill( false );
|
||||
m_gal->SetIsStroke( true );
|
||||
m_gal->SetTextAttributes( aText );
|
||||
m_gal->StrokeText( shownText, position, aText->GetOrientationRadians() );
|
||||
}
|
||||
|
@ -842,6 +844,8 @@ void PCB_PAINTER::draw( const TEXTE_MODULE* aText, int aLayer )
|
|||
}
|
||||
|
||||
m_gal->SetStrokeColor( color );
|
||||
m_gal->SetIsFill( false );
|
||||
m_gal->SetIsStroke( true );
|
||||
m_gal->SetTextAttributes( aText );
|
||||
m_gal->StrokeText( shownText, position, aText->GetDrawRotationRadians() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue