Changeset 2503 in Sophya for trunk/SophyaPI/PI/pieldrw.h


Ignore:
Timestamp:
Mar 9, 2004, 7:21:48 PM (22 years ago)
Author:
ansari
Message:

1) Ajout methodes PIDrawer::OptionToString(()
PIGraphicAtt::AttToStrings(() et PIWdgGen::OptionToString() pour
transformer les options graphiques en chaine (texte)
2) Prise en charge de OptionToString() ds PIDrwOptionStringWindow.
3) Ajout methodes PIDrawer::GetDistanceToPoint() et

PIBaseWdgGen::FindNearestDrawerId() afin de permettre la selection

des drawers avec la souris.

Reza 09 Mars 2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pieldrw.h

    r2387 r2503  
    224224  virtual void       Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
    225225
     226// Renvoie une distance au point x,y
     227// 0: au(x) point(s) le(s) plus proche(s) ... 1  au bord xmin/xmax , ymin/ymax
     228// La methode par defaut calcule la distance normalisee au point ((xmin+xmax)/2,(ymin+ymax)/2)
     229  virtual double     GetDistanceToPoint(double x, double y);
     230
    226231  inline void        ConfigureAxeTicks(int ntickx=0, int nticky=0,
    227232                                       double majtl=0., double mintl=0.)
Note: See TracChangeset for help on using the changeset viewer.