Changeset 505 in Sophya for trunk/SophyaPI/PI/pibwdggen.cc
- Timestamp:
- Oct 24, 1999, 5:57:21 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pibwdggen.cc
r329 r505 100 100 SetDefaultDrawRectangle(0., 0., 1., 1., true); 101 101 SetDefaultDrawerLimits(0., 1., 0., 1., kAxeDirLtoR, kAxeDirUpDown); 102 SetDefaultDrawerLogScale(false, false); 102 103 } 103 104 … … 316 317 // void SetDefaultDrawerLimits(double xmin, double xmax, double ymin, double ymax, - 317 318 // int axrl=kAxeDirSame, int ayud=kAxeDirSame) 318 // Définition du système de coordonnées par défaut d'un drawer attaché en "autolim=true" 319 // Définition du système de coordonnées par défaut d'un drawer attaché 320 // en "autolim=true" 321 // void SetDefaultDrawerLogScale(bool logx, bool logy) 322 // Définition d'échelle logarithmique pour le système de coordonnées par défaut 323 // d'un drawer attaché en "autolim=true". 319 324 // 320 325 //-- … … 336 341 } 337 342 343 /* --Methode-- */ 344 void PIBaseWdgGen::SetDefaultDrawerLogScale(bool logx, bool logy) 345 { 346 mDXlog = logx; 347 mDYlog = logy; 348 } 338 349 339 350 //++ … … 521 532 } 522 533 // L'ordre des operations ici est importante 523 if ( (*it).autolim ) 534 if ( (*it).autolim ) { 524 535 (*it).drw->SetLimits(mDrXmin, mDrXmax, mDrYmin, mDrYmax, mDXdir, mDYdir); 536 (*it).drw->SetLogScale(mDXlog, mDYlog); 537 } 525 538 guc = (*it).drw->SetDrwWdg(this, drx0, dry0, drdx, drdy, g); 526 539 if ((*it).clip) { g->SetClipRectangle(drx0, dry0, drdx , drdy); fgc = true; } … … 583 596 } 584 597 // L'ordre des operations ici est importante 585 if ( (*it).autolim ) 598 if ( (*it).autolim ) { 586 599 (*it).drw->SetLimits(mDrXmin, mDrXmax, mDrYmin, mDrYmax, mDXdir, mDYdir); 600 (*it).drw->SetLogScale(mDXlog, mDYlog); 601 } 587 602 guc = (*it).drw->SetDrwWdg(this, drx0, dry0, drdx, drdy, g); 588 603 if ((*it).clip) g->SetClipRectangle(drx0, dry0, drdx , drdy);
Note:
See TracChangeset
for help on using the changeset viewer.