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
e1fcd313
Commit
e1fcd313
authored
Apr 12, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed text display using Cairo.
parent
e3cb0aa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
stroke_font.cpp
common/gal/stroke_font.cpp
+2
-0
No files found.
common/gal/stroke_font.cpp
View file @
e1fcd313
...
@@ -228,6 +228,8 @@ void STROKE_FONT::Draw( std::string aText, const VECTOR2D& aPosition, double aRo
...
@@ -228,6 +228,8 @@ void STROKE_FONT::Draw( std::string aText, const VECTOR2D& aPosition, double aRo
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
->
SetIsStroke
(
true
);
m_gal
->
SetIsFill
(
false
);
m_gal
->
SetLineCap
(
LINE_CAP_ROUND
);
m_gal
->
SetLineCap
(
LINE_CAP_ROUND
);
m_gal
->
SetLineJoin
(
LINE_JOIN_ROUND
);
m_gal
->
SetLineJoin
(
LINE_JOIN_ROUND
);
...
...
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