Changeset 2383 in Sophya for trunk/SophyaPI/PIext/pintuple.h


Ignore:
Timestamp:
May 16, 2003, 5:15:55 PM (22 years ago)
Author:
ansari
Message:

Ajout methode GetInfoString() aux ObjAdapter + attributs de gestion de position de stat pour PINtuple/PIHisto + positionnement par defaut de stat (statposoff=) lors de disp same - Reza 16/5/2003

File:
1 edited

Legend:

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

    r2373 r2383  
    3535
    3636  inline  void       SetStats(bool fg=true) { stats = fg; }
     37  inline  void       SetStatPosOffset(float ofx=-0.01, float ofy=-0.01)
     38          {spoX=ofx; spoY=ofy; }
    3739
    3840  virtual void       AppendTextInfo(string& info, double xmin, double ymin, double xmax, double ymax);
     
    5658  bool stats;               // true -> indication du nb de points
    5759  bool connectPts;          // true -> les points sont relies par une ligne
     60  float spoX, spoY; // Stat pos offset par rapport a position defaut
    5861};
    5962
Note: See TracChangeset for help on using the changeset viewer.