Changeset 7990 in ntrip for trunk/BNC/qwtpolar
- Timestamp:
 - Jul 28, 2016, 10:29:27 AM (9 years ago)
 - Location:
 - trunk/BNC/qwtpolar
 - Files:
 - 
      
- 2 edited
 
- 
          
  qwt_polar_curve.cpp (modified) (1 diff)
 - 
          
  qwt_polar_layout.cpp (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/BNC/qwtpolar/qwt_polar_curve.cpp
r4272 r7990 434 434 if ( !clipRect.isEmpty() ) 435 435 { 436 double off = qCeil( qMax( 1.0, painter->pen().widthF() ) );436 double off = qCeil( qMax(qreal(1.0), painter->pen().widthF() ) ); 437 437 clipRect = clipRect.toRect().adjusted( -off, -off, off, off ); 438 438 polyline = QwtClipper::clipPolygonF( clipRect, polyline );  - 
      
trunk/BNC/qwtpolar/qwt_polar_layout.cpp
r4272 r7990 279 279 // half of the available space. 280 280 281 dim = qMin( hint.width(), rect.width() * d_data->legendRatio ); 281 dim = qMin( hint.width(), qreal(rect.width() * d_data->legendRatio) ); 282 282 283 283 if ( !( options & IgnoreScrollbars ) ) … … 294 294 else 295 295 { 296 dim = qMin( hint. height(), rect.height() * d_data->legendRatio );296 dim = qMin( hint.width(), qreal(rect.width() * d_data->legendRatio) ); 297 297 dim = qMax( dim, d_data->layoutData.legend.hScrollBarHeight ); 298 298 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  