- Timestamp:
- Nov 4, 1999, 5:19:58 PM (26 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pi3ddrw.cc
r440 r547 413 413 int id = AddDrawer(dr3, false, false, ad); 414 414 if (m3DrIl.size() == 0) dr3->SetAxesFlags(kStdAxes); 415 else dr3->SetAxesFlags(kAxesNone); 415 416 m3DrIl.push_back(id); 416 417 return(id); -
trunk/SophyaPI/PI/pibwdggen.cc
r535 r547 338 338 mDrXmin = xmin; mDrXmax = xmax; 339 339 mDrYmin = ymin; mDrYmax = ymax; 340 if ( (axrl != kAxeDirSame) && (axrl != kAxeDirAuto) )mDXdir = axrl;341 if ( (ayud != kAxeDirSame) && (ayud != kAxeDirAuto) )mDYdir = ayud;340 if (axrl != kAxeDirSame) mDXdir = axrl; 341 if (ayud != kAxeDirSame) mDYdir = ayud; 342 342 } 343 343 … … 515 515 516 516 vector<BWDrwId>::iterator it; 517 bool fgc=false;518 517 for(it = mDrwList.begin(); it != mDrwList.end(); it++) { 519 518 g->SaveGraphicAtt(); … … 538 537 } 539 538 guc = (*it).drw->SetDrwWdg(this, drx0, dry0, drdx, drdy, g); 540 if ((*it).clip) { g->SetClipRectangle(drx0, dry0, drdx , drdy); fgc = true; }539 if ((*it).clip) g->SetClipRectangle(drx0, dry0, drdx , drdy); 541 540 (*it).drw->SelGraAtt(guc); 542 541 if (sxy) { … … 552 551 (*it).drw->Draw(guc, xmin, ymin, xmax, ymax); 553 552 g->RestoreGraphicAtt(); 554 }555 if (fgc) g->ClearClipRectangle(); 553 if ((*it).clip) g->ClearClipRectangle(); 554 } 556 555 557 556 return; -
trunk/SophyaPI/PI/pidrawer.cc
r543 r547 46 46 SetLimits(-1, 1, -1, 1, kAxeDirLtoR, kAxeDirDownUp); 47 47 limitsFixed = 0; 48 SetAxesFlags( ); // Pas de trace d'axes par defaut48 SetAxesFlags(kAxesNone); // Pas de trace d'axes par defaut 49 49 mDndfg = false; // Pour controle de l'appel de Detach() si delete 50 50 -
trunk/SophyaPI/PI/pigraphps.cc
r382 r547 113 113 // mPSOut->DrawString((double)x,(double)y,s,mFCol,mFAtt,mFSize); /* $CHECK$ PIFontSize ?? */ 114 114 mPSOut->DrawString((double)x,(double)y,s,mFCol, myFont.GetFontName(), 115 myFont.GetFontAtt(), myFont.GetFontSize() );115 myFont.GetFontAtt(), myFont.GetFontSize()*0.9); /* $CHECK$ x 0.9 - Reza 4/11/99 */ 116 116 // Calculez la taille de la boite occupe par la fonte 117 117 // myFont.GetFontHeight(int& asc, int& desc) Tres proche de myFont.GetFontSize() en principe … … 126 126 // mPSOut->DrawString((double)x,(double)y,s,mFCol,mFAtt,mFSize); /* $CHECK$ PIFontSize ?? */ 127 127 mPSOut->DrawString((double)x,(double)y,s,mFCol, myFont.GetFontName(), 128 myFont.GetFontAtt(), myFont.GetFontSize() );128 myFont.GetFontAtt(), myFont.GetFontSize()*0.9); /* $CHECK$ x 0.9 - Reza 4/11/99 */ 129 129 // Idem taille ici 130 130 return; -
trunk/SophyaPI/PI/psfile.cc
r382 r547 719 719 /* Choix des fontes */ 720 720 if ( (FontAtt != PI_NotDefFontAtt) && (FontAtt != mFontAtt) ) { 721 printf("PSFile::DrawString(%s) : FontAtt a change : %d %d \n", s, mFontAtt, FontAtt) ;721 //DBG printf("PSFile::DrawString(%s) : FontAtt a change : %d %d \n", s, mFontAtt, FontAtt) ; 722 722 mFontAtt = FontAtt; 723 723 change = 1; 724 724 } 725 725 if ( (FontSize != PI_NotDefFontSize) && (FontSize != mFontSize) ) { 726 printf("PSFile::DrawString(%s) : FontSize a change : %d %d \n", s, mFontSize, FontSize) ;726 //DBG printf("PSFile::DrawString(%s) : FontSize a change : %d %d \n", s, mFontSize, FontSize) ; 727 727 mFontSize = (PIFontSize) FontSize; // $CHECK$ EA ajoute le cast un peu au pif 728 728 change = 1; 729 729 } 730 730 if( (FontName != mFontName) ) { 731 printf("PSFile::DrawString(%s) : FontName a change : %d %d \n", s, mFontName, FontName) ;731 //DBG printf("PSFile::DrawString(%s) : FontName a change : %d %d \n", s, mFontName, FontName) ; 732 732 mFontName = (PIFontName) FontName ; 733 733 change = 1 ;
Note:
See TracChangeset
for help on using the changeset viewer.