Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
ef569308
Commit
ef569308
authored
Apr 09, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed line style used for displaying texts.
parent
70769d5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
stroke_font.cpp
common/gal/stroke_font.cpp
+3
-0
No files found.
common/gal/stroke_font.cpp
View file @
ef569308
...
@@ -213,6 +213,9 @@ void STROKE_FONT::Draw( std::string aText, VECTOR2D aPosition, double aRotationA
...
@@ -213,6 +213,9 @@ void STROKE_FONT::Draw( std::string aText, VECTOR2D aPosition, double aRotationA
double
scaleY
=
m_scaleFactor
*
m_glyphSize
.
y
;
double
scaleY
=
m_scaleFactor
*
m_glyphSize
.
y
;
double
scaleX
=
m_scaleFactor
*
glyphSizeX
;
double
scaleX
=
m_scaleFactor
*
glyphSizeX
;
m_gal
->
SetLineCap
(
LINE_CAP_ROUND
);
m_gal
->
SetLineJoin
(
LINE_JOIN_ROUND
);
if
(
m_bold
)
if
(
m_bold
)
{
{
m_gal
->
SetLineWidth
(
m_gal
->
GetLineWidth
()
*
1.3
);
m_gal
->
SetLineWidth
(
m_gal
->
GetLineWidth
()
*
1.3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment