FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

always draw point symbols using a solid line, even if the current lin… · gnuplot/gnuplot@72df283 · GitHub

Repository navigation

Commit 72df283

Browse files
Ethan A Merritt
committed
always draw point symbols using a solid line, even if the current linetype is dashed
1 parent a180e32 commit 72df283

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎ChangeLog‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* docs/gnuplot.doc: Update documentation to better describe recent
99
changes.
1010

11+
* src/qtterminal/QtGnuplotScene.cpp: Always use a solid line to draw
12+
point symbols, even if the current linetype has a dash pattern.
13+
1114
2014-05-05 Tatsuro MATSUOKA <tmacchant3@yahoo.co.jp>
1215

1316
* src/qtterminal/po/qtgnuplot_ja.ts: Update translations
@@ -87,7 +90,7 @@
8790

8891
* src/stdfn.h: Define a sgn() function.
8992

90-
* src/graphics.c: Use sgn() function to defint samesign().
93+
* src/graphics.c: Use sgn() function to define samesign().
9194

9295
* src/mouse.c: No longer need a local definition of sgn().
9396

‎src/qtterminal/QtGnuplotScene.cpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ void QtGnuplotScene::processEvent(QtGnuplotEventType type, QDataStream& in)
300300
{
301301
QPointF point; in >> point;
302302
int style ; in >> style;
303+
304+
// Make sure point symbols are always drawn with a solid line
305+
m_currentPen.setStyle(Qt::SolidLine);
306+
303307
// Append the point to a points item to speed-up drawing
304308
if (!m_inKeySample)
305309
m_currentPointsItem->addPoint(clipPoint(point), style, m_currentPointSize, m_currentPen);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL