Changeset 139 in Sophya for trunk/SophyaPI/PI/pigraphuc.cc


Ignore:
Timestamp:
Aug 24, 1998, 11:22:10 AM (27 years ago)
Author:
ercodmgr
Message:

Correction PIZoneWindow et protection PIGraphUC Depuis PC-Linux Reza 24/08/98

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pigraphuc.cc

    r113 r139  
    8080
    8181  xScale = xWd/(xMax-xMin);
     82  if (xScale < 1.e-19)  xScale = 1.e-19;  // Protection
    8283  if (aXdir)  {
    8384    xScale = -xScale;
     
    8889
    8990  yScale = yWd/(yMax-yMin);
     91  if (yScale < 1.e-19)  yScale = 1.e-19;  // Protection
    9092  if (!aYdir) {
    9193    yScale = -yScale;
Note: See TracChangeset for help on using the changeset viewer.