Changeset 2350 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Mar 18, 2003, 3:23:53 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r2229 r2350 46 46 mAdDO = ad; 47 47 SetStats(true); 48 ConnectPoints(false); 48 49 SelectXY(NULL, NULL); 49 50 SelectWt(NULL, 1); … … 177 178 nok++; 178 179 if ( (xp < xmin) || (xp > xmax) || (yp < ymin) || (yp > ymax) ) continue; 179 if ( (i > 0) && (GetGraphicAtt().GetLineAtt() != PI_NotDefLineAtt))180 if ( (i > 0) && connectPts ) 180 181 g->DrawLine(xl, yl, xp, yp); // On relie les points ... 181 182 if ( xebK >= 0 ) { … … 286 287 else if( opts=="nsta" || opts=="nstat" 287 288 || opts=="nostat" || opts=="nostats") SetStats(false); 289 else if (opts == "connectpoints") ConnectPoints(true); 290 else if (opts == "noconnectpoints") ConnectPoints(false); 288 291 else { 289 292 // Si option non decode … … 311 314 PIDrawer::GetOptionsHelpInfo(info); 312 315 info += " ---- PINTuple options help info : \n" ; 313 info += " -sta,stat,stats: activate statistic display\n";316 info += " sta,stat,stats: activate statistic display\n"; 314 317 info += " nsta,nstat,nostat,nostats: deactivate statistic display\n"; 318 info += " connectpoints: The points are connected by a line \n"; 319 info += " noconnectpoints (this is the default) \n"; 320 info += " and usual color/line/marker/... attribute decoding \n"; 315 321 return; 316 322 }
Note:
See TracChangeset
for help on using the changeset viewer.