Changeset 4317 in ntrip
- Timestamp:
- Jun 23, 2012, 3:41:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/polarplot.cpp
r4316 r4317 33 33 } 34 34 35 // drawSymbols (virtual)35 // Draw Symbols (virtual) - change symbol's color 36 36 //////////////////////////////////////////////////////////////////////////// 37 37 void t_polarCurve::drawSymbols(QPainter* painter, const QwtSymbol& symbol, … … 40 40 const QPointF& pole, int from, int to) const { 41 41 for (int ii = from; ii <= to; ii++) { 42 QwtPolarCurve::drawSymbols(painter, symbol, azimuthMap, 43 radialMap, pole, ii, ii); 42 QwtSymbol ss(symbol); 43 if (ii % 2 == 0) { 44 ss.setPen(QPen(Qt::red)); 45 } 46 else { 47 ss.setPen(QPen(Qt::blue)); 48 } 49 QwtPolarCurve::drawSymbols(painter, ss, azimuthMap, radialMap, pole, ii,ii); 44 50 } 45 51 }
Note:
See TracChangeset
for help on using the changeset viewer.