Changeset 1905 in Sophya for trunk/SophyaPI/PIGcont/pigncont.cc
- Timestamp:
- Feb 18, 2002, 11:41:28 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIGcont/pigncont.cc
r1857 r1905 546 546 bool Invx, Invy, Exy; 547 547 PIColorMap * cmap = NULL; 548 if(mCmapid !=CMAP_OTHER ){ 549 cmap = new PIColorMap(mCmapid); 548 CMapId mcmapid = GetGraphicAtt().GetColMapId(); 549 if(mcmapid !=CMAP_OTHER ){ 550 cmap = new PIColorMap(mcmapid); 550 551 } 551 552 int numdr = 0; … … 568 569 // choix de la couleur 569 570 570 g->SelForeground( mFCol);571 if(m Cmapid !=CMAP_OTHER ){571 g->SelForeground(GetGraphicAtt().GetFgColor()); 572 if(mcmapid !=CMAP_OTHER ){ 572 573 if(_zmax-_zmin!=0){ 573 574 int kc = ((lev - _zmin)/(_zmax-_zmin))*cmap->NCol(); … … 579 580 if(IsMarkOn()==true){ 580 581 581 g->SelMarker( mMSz,mMrk);582 g->SelMarker(GetGraphicAtt().GetMarkerSz(), GetGraphicAtt().GetMarker()); 582 583 g->DrawMarkers(xx,yy,npts); 583 584 } … … 585 586 if(mLineOn==true){ 586 587 587 g->SelLine( mLAtt);588 g->SelLine(GetGraphicAtt().GetLineAtt()); 588 589 g->DrawPolygon(xx,yy,npts,false); 589 590 } … … 595 596 char strg[10]; 596 597 sprintf(strg,"%g",lev); 597 PIFont myfont(mFName); 598 myfont.SetFontAtt(mFAtt); 599 myfont.SetFontSz(mFSz); 598 PIFont myfont(GetGraphicAtt().GetFont()); 600 599 601 600 g->SelFont(myfont);
Note:
See TracChangeset
for help on using the changeset viewer.