Changeset 1905 in Sophya for trunk/SophyaPI/PIext/pihisto.cc


Ignore:
Timestamp:
Feb 18, 2002, 11:41:28 PM (24 years ago)
Author:
ansari
Message:

Adaptation a l'introduction de la classe PIGraphicAtt - Reza 18/02/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pihisto.cc

    r1856 r1905  
    7777  if (!mHisto)  return; 
    7878
    79   if(mMrk != PI_NotDefMarker ||  (typeid(*mHisto) == typeid(HProf)) ) {
     79  if((GetGraphicAtt().GetMarker() != PI_NotDefMarker) || 
     80     (typeid(*mHisto) == typeid(HProf)) ) {
    8081    // Marqeurs definis OU HProf => marqueurs+Erreurs si il y en a
    8182    mHisto->UpdateHisto(); // pour le cas ou c'est un HProf
    82     if(mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine);
     83    if(GetGraphicAtt().GetLineAtt() == PI_NotDefLineAtt) g->SelLine(PI_ThinLine);
    8384    double x1,y1, x2,y2;
    8485    double bw = mHisto->BinWidth();
     
    102103    oktrace = true;
    103104  }
    104   if(mLAtt != PI_NotDefLineAtt) {
     105  if(GetGraphicAtt().GetLineAtt() != PI_NotDefLineAtt) {
    105106    double x1,y1, x2, y2;
    106107    x1 = mHisto->BinLowEdge(0);
     
    138139  //  if (mLAtt == PI_NotDefLineAtt)  g->SelLine(PI_ThinLine);
    139140  g->SelLine(PI_ThinLine);
    140   g->SelFontSz((YMax() - YMin())/30, mFAtt);
     141  g->SelFontSz((YMax() - YMin())/30);
    141142
    142143  // La hauteur de la cellule
Note: See TracChangeset for help on using the changeset viewer.