Changeset 56

Show
Ignore:
Timestamp:
06/19/08 13:55:10 (7 months ago)
Author:
jpv
Message:

Correction des couleurs pour les 2 parties d'un solide séparé

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pst-solides3d.sty

    r2 r56  
    55\ProvidesFile{pst-solides3d.tex} 
    66  [\filedate\space v\fileversion\space `PST-solides3D'] 
     7\IfFileExists{solides.pro}{% 
     8   \ProvidesFile{solides.pro} 
     9     [2008/06/19 v. 3.33,  PostScript prologue file] 
     10     \@addtofilelist{solides.pro}}{}% 
    711\endinput 
  • trunk/solides.pro

    r55 r56  
    11%! 
    22% PostScript prologue for pst-solides3d.tex. 
    3 % Version 3.32, 2008/06/19 
     3% Version 3.33, 2008/06/19 
    44% 
    55%% COPYRIGHT 2008 by Jean-Paul Vignault, Manuel Luque 
     
    87498749         solidname (1) append cvlit exch def 
    87508750         dup solidname (0) append cvlit exch def 
     8751         %% 
     8752         solidname (1) append cvx exec 
     8753         solidhollow { 
     8754            dup videsolid 
     8755         } if 
     8756         activationgestioncouleurs { 
     8757            dup solidwithinfaces { 
     8758               gere_pstricks_color_inout  
     8759            } { 
     8760               gere_pstricks_color_out 
     8761            } ifelse 
     8762         } if 
     8763         solidinouthue length 0 gt {  
     8764            dup solidinouthue solidputinouthuecolors  
     8765         } { 
     8766            solidhue length 0 gt { 
     8767               dup solidhue solidputhuecolors 
     8768            } if 
     8769            solidinhue length 0 gt { 
     8770               dup solidinhue solidputinhuecolors 
     8771            } if 
     8772         } ifelse 
     8773         pop 
    87518774         tx@Dict /solidname undef 
    87528775      } { 
     
    87648787         gere_pstricks_color_out 
    87658788      } ifelse 
     8789      solidinouthue length 0 gt {  
     8790         dup solidinouthue solidputinouthuecolors  
     8791      } { 
     8792         solidhue length 0 gt { 
     8793            dup solidhue solidputhuecolors 
     8794         } if 
     8795         solidinhue length 0 gt { 
     8796            dup solidinhue solidputinhuecolors 
     8797         } if 
     8798      } ifelse 
    87668799   } if 
    87678800 
     
    87708803      dup fcol 2 i mul get fcol 2 i mul 1 add get solidputfcolor 
    87718804   } for 
    8772    solidinouthue length 0 gt {  
    8773       dup solidinouthue solidputinouthuecolors  
    8774    } { 
    8775       solidhue length 0 gt { 
    8776          dup solidhue solidputhuecolors 
    8777       } if 
    8778       solidinhue length 0 gt { 
    8779          dup solidinhue solidputinhuecolors 
    8780       } if 
    8781    } ifelse 
    87828805   vecteur_en_c@urs not { 
    87838806      /lightsrc where {pop solidlightOn} if