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
9fbf45eb
Commit
9fbf45eb
authored
Sep 16, 2013
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed drawing outlined track segments.
parent
e0f3e290
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
opengl_gal.cpp
common/gal/opengl/opengl_gal.cpp
+2
-4
No files found.
common/gal/opengl/opengl_gal.cpp
View file @
9fbf45eb
...
...
@@ -278,10 +278,8 @@ void OPENGL_GAL::DrawSegment( const VECTOR2D& aStartPoint, const VECTOR2D& aEndP
VECTOR2D
(
lineLength
,
-
aWidth
/
2.0
)
);
// Draw line caps
drawStrokedSemiCircle
(
VECTOR2D
(
0.0
,
0.0
),
(
aWidth
+
lineWidth
)
/
2
,
M_PI
/
2
);
drawStrokedSemiCircle
(
VECTOR2D
(
lineLength
,
0.0
),
(
aWidth
+
lineWidth
)
/
2
,
-
M_PI
/
2
);
drawStrokedSemiCircle
(
VECTOR2D
(
0.0
,
0.0
),
aWidth
/
2
,
M_PI
/
2
);
drawStrokedSemiCircle
(
VECTOR2D
(
lineLength
,
0.0
),
aWidth
/
2
,
-
M_PI
/
2
);
Restore
();
}
...
...
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