Changeset 548 in Sophya for trunk/SophyaPI/PIext/pintuple.cc
- Timestamp:
- Nov 4, 1999, 5:20:32 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintuple.cc
r544 r548 134 134 135 135 SetLimits(xmin-dx, xmax+dx, ymin-dy, ymax+dy); 136 SetAxesFlags(kBoxAxes | kExtTicks | kLabels); 136 // SetAxesFlags(kBoxAxes | kExtTicks | kLabels); Ne pas faire - Reza 11/99 137 137 } 138 138 … … 146 146 147 147 if (!mNT) return; 148 if (axesFlags != kAxesNone) DrawAxes(g); 148 149 if ( (xK < 0) || (yK < 0) ) return; 149 150 if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); … … 201 202 PIGrCoord a,d; 202 203 double cH = (double)g->GetFontHeight(a,d); 203 double cellHeight = cH * 1. 4;204 double cellHeight = cH * 1.3; 204 205 double cellWidth = (double)g->CalcStringWidth(label) * 1.1; 205 g->DrawLine(XMax() - cellWidth, YMax(), 206 XMax() - cellWidth, YMax() - cellHeight); 207 g->DrawLine(XMax() - cellWidth, YMax() - cellHeight, 208 XMax() , YMax() - cellHeight); 209 g->DrawString(XMax() - cellWidth*0.95, YMax() - cH*1.2, label); 206 double xu, yu; 207 xu = g->DeltaUCX(XMax(), - cellWidth); 208 yu = g->DeltaUCY(YMax(), - cellHeight); 209 g->DrawLine(xu, YMax(), xu, yu); 210 g->DrawLine(xu, yu, XMax(), yu); 211 xu = g->DeltaUCX(XMax(), - cellWidth*0.95); 212 yu = g->DeltaUCY(YMax(), - cH*1.15); 213 g->DrawString(xu, yu, label); 210 214 } 211 215
Note:
See TracChangeset
for help on using the changeset viewer.