Fixed line style used for displaying texts.
This commit is contained in:
@@ -213,6 +213,9 @@ void STROKE_FONT::Draw( std::string aText, VECTOR2D aPosition, double aRotationA
|
||||
double scaleY = m_scaleFactor * m_glyphSize.y;
|
||||
double scaleX = m_scaleFactor * glyphSizeX;
|
||||
|
||||
m_gal->SetLineCap( LINE_CAP_ROUND );
|
||||
m_gal->SetLineJoin( LINE_JOIN_ROUND );
|
||||
|
||||
if( m_bold )
|
||||
{
|
||||
m_gal->SetLineWidth( m_gal->GetLineWidth() * 1.3 );
|
||||
|
||||
Reference in New Issue
Block a user