Changeset 205 in Sophya for trunk/SophyaPI/PIext/pistlist.cc


Ignore:
Timestamp:
Mar 1, 1999, 6:05:59 PM (27 years ago)
Author:
ercodmgr
Message:

1/ Adaptation pour passage en double de trace en coordonnees graphiques
User (UC) (float -> double)
2/ Adaptation pour passage en double pour les ArrayAdapter

Reza 1/03/99

File:
1 edited

Legend:

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

    r165 r205  
    4343
    4444  // Commencer par trouver nos limites
    45   float dx, dy;
     45  double dx, dy;
    4646  double x1, x2, y1, y2;
    4747  mStL->CalcXYLimits(x1, x2, y1, y2);
     
    5656
    5757/* --Methode-- */
    58 void PIStarList::Draw(PIGraphicUC* g, float xmin, float ymin, float xmax, float ymax)
     58void PIStarList::Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax)
    5959{
    6060BStar *sti;
    61 float xp,yp,flx;
     61double xp,yp;
     62float flx;
    6263int sz;
    6364char buff[128];
     
    8586  if (mDspFV) { 
    8687    sprintf(buff," F=%g", flx);
    87     float dx,dy;
     88    double dx,dy;
    8889    g->DGrC2UC(sz, 4, dx, dy);
    8990    g->DrawString(xp+dx, yp-dy, buff);
Note: See TracChangeset for help on using the changeset viewer.