Changeset 1905 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Feb 18, 2002, 11:41:28 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r1856 r1905 149 149 if (axesFlags != kAxesNone) DrawAxes(g); 150 150 if ( (xK < 0) || (yK < 0) ) return; 151 if ( mLAtt== PI_NotDefLineAtt) g->SelLine(PI_ThinLine);151 if (GetGraphicAtt().GetLineAtt() == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 152 152 153 153 // Pour tracer des markers avec taille fonction de Wt (poids) … … 156 156 int msz,sz; 157 157 158 PIMarker mmrk = GetGraphicAtt().GetMarker(); 158 159 PIMarker mrk; 159 if (wK >= 0) mrk = (m Mrk != PI_NotDefMarker) ? mMrk : PI_CircleMarker;160 else mrk = (m Mrk != PI_NotDefMarker) ? mMrk : PI_DotMarker;161 msz = mMSz;160 if (wK >= 0) mrk = (mmrk != PI_NotDefMarker) ? mmrk : PI_CircleMarker; 161 else mrk = (mmrk != PI_NotDefMarker) ? mmrk : PI_DotMarker; 162 msz = GetGraphicAtt().GetMarkerSz();; 162 163 if (msz < 1) msz = 1; 163 164 g->SelMarker(msz, mrk); … … 179 180 nok++; 180 181 if ( (xp < xmin) || (xp > xmax) || (yp < ymin) || (yp > ymax) ) continue; 181 if ( (i > 0) && ( mLAtt != PI_NotDefLineAtt) ) // On relie les points ...182 g->DrawLine(xl, yl, xp, yp); 182 if ( (i > 0) && (GetGraphicAtt().GetLineAtt() != PI_NotDefLineAtt) ) 183 g->DrawLine(xl, yl, xp, yp); // On relie les points ... 183 184 if ( xebK >= 0 ) { 184 185 xer = mNT->GetCell(i, xebK); … … 199 200 } 200 201 // Trace du marker 201 if ((wK >= 0)||(lK < 0)||(m Mrk != PI_NotDefMarker)) g->DrawMarker(xp, yp);202 if ((wK >= 0)||(lK < 0)||(mmrk != PI_NotDefMarker)) g->DrawMarker(xp, yp); 202 203 // Trace eventuel du label 203 204 if (lK >= 0) g->DrawString(xp, yp, mNT->GetCelltoString(i, lK).c_str()); … … 206 207 207 208 if (stats) { // Trace de stats 208 g->SelFontSz((YMax() - YMin())/30 , mFAtt);209 g->SelFontSz((YMax() - YMin())/30); 209 210 // La hauteur de la cellule 210 211 PIGrCoord a,d;
Note:
See TracChangeset
for help on using the changeset viewer.