Changeset 2590 in Sophya


Ignore:
Timestamp:
Aug 2, 2004, 3:11:09 PM (21 years ago)
Author:
ansari
Message:

Ajout newpath apres clip ds psfile.cc - clip (postscript) ne reinitialise en

effet pas le path, contrairement a fill,stroke. Ceci avait donc pour effet de
produire des traces multiple du cadre du drawer - Reza 2 Aout 2004

File:
1 edited

Legend:

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

    r2426 r2590  
    821821    // On redefinit la zone de clip
    822822    fprintf(mPSFile, "%% Define clip region to the entire bloc area \n");
    823     fprintf(mPSFile, "initclip newpath 0 0 m %.2f Ux 0 rl 0 %.2f Uy rl %2f Ux 0 rl closepath clip \n",
     823    fprintf(mPSFile, "initclip newpath 0 0 m %.2f Ux 0 rl 0 %.2f Uy rl %2f Ux 0 rl closepath clip newpath\n",
    824824            currentBloc->Dx, currentBloc->Dy, -currentBloc->Dx);
    825825    // On redefint la fonte par defaut - $CHECK$ Reza 11/12/99
     
    864864  // On redefinit la zone de clip
    865865  fprintf(mPSFile, "%% SetClipRectangle: Define clip region \n ");
    866   fprintf(mPSFile, "newpath %.2f Ux %.2f Uy m %.2f Ux 0 rl 0 %.2f Uy rl %.2f Ux 0 rl closepath clip \n",
     866  fprintf(mPSFile, "newpath %.2f Ux %.2f Uy m %.2f Ux 0 rl 0 %.2f Uy rl %.2f Ux 0 rl closepath clip newpath\n",
    867867          x0, y0, dx, dy, -dx);
    868868}
Note: See TracChangeset for help on using the changeset viewer.