Changeset 3559 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Dec 24, 2008, 12:21:54 AM (17 years ago)
Author:
ansari
Message:

Amelioration gestion taille de fonte ds PIHisto, PINTuple ... en utilisant le flag AutoFontSize mis ds la classe PIDrawer (attributs autofontsize=, fixedfontsize), Reza 24/12/2008

File:
1 edited

Legend:

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

    r3505 r3559  
    308308if (stats) { // Trace de stats
    309309  g->SelForeground(defcol);
    310   g->SelFontSz((YMax() - YMin())/30); 
     310// Reza(12/2008): utilisation de flag et fraction pour selection automatique taille de fonte
     311  if (mAFSz) { 
     312    double fsz = (YMax() - YMin())*mFontSzF;
     313    g->SelFontSz(fsz);  // au lieu de 1/30*(ymax-ymin) 
     314  }
    311315  // La hauteur de la cellule
    312316  PIGrCoord a,d;
Note: See TracChangeset for help on using the changeset viewer.