Changeset 2394 in Sophya


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

Ameliorations diverses dans le decodage des options graphiques - Ajout nouvelles couleurs et HighLight en bleu - Reza 30/05/03

Location:
trunk/SophyaPI/PI
Files:
9 edited

Legend:

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

    r1899 r2394  
    1717                 PI_Violet = 16, PI_VioletRed = 17,
    1818                 PI_BlueViolet = 18, PI_DarkViolet = 19,
    19                  PI_HighlightBlue = 20,
    20                  PI_ColorAllBits0 = 21, PI_ColorAllBits1 = 22 };
     19                 PI_SkyBlue = 20, PI_RoyalBlue = 21,
     20                 PI_ForestGreen = 22,
     21                 PI_OrangeRed = 23, PI_Brown = 24,
     22                 PI_HighlightBlue = 25,
     23                 PI_ColorAllBits0 = 26, PI_ColorAllBits1 = 25 };
    2124
    2225#endif
  • trunk/SophyaPI/PI/pidrawer.cc

    r2387 r2394  
    391391{
    392392  info += " ------- PIDrawer options help info ---------- \n";
    393   info += ">> Colors: defcol black white grey red blue green yellow \n";
    394   info += "           magenta cyan turquoise navyblue orange siennared purple \n";
    395   info += "           limegreen gold violet violetred blueviolet darkviolet \n";
     393  info += ">>> color=ColorName - fgcolor=ColorName - bgcolor=ColorName \n";
     394  info += "   ColorName: black white grey red blue green yellow \n";
     395  info += "              magenta cyan turquoise navyblue orange \n";
     396  info += "              siennared purple  limegreen gold violet \n";
     397  info += "              violetred blueviolet darkviolet skyblue \n";
     398  info += "              royalblue forestgreen orangered brown \n";
     399  info += ">>> line=DashType,LineWidth  \n";
     400  info += "   DashType: solid, dash, dotted, dashdotted   Width: 1,2,...\n";
     401  info += ">>> font=FontName,FontAtt,FontSize  \n";
     402  info += "   FontName: courier, helvetica, times, symbol   \n";
     403  info += "   FontAtt: roman, bold, italic, bolditalic  \n";
     404  info += "   FontSize: 6,8,10,12... (pts) - integer \n";
     405  info += ">>> marker=MarkerType,MarkerSize (MarkerSize: integer 3,5,7... \n";
     406  info += "   MarkerType: dot, plus, cross, circle, fcircle, box, fbox \n";
     407  info += "               triangle, ftriangle, star, fstar \n";
     408  info += ">>> arrow=ArrowType,ArrowSize (ArrowSize: integer 3,5,7... \n";
     409  info += "   ArrowType: basic, triangle, ftriangle, \n";
     410  info += "              arrowshaped, farrowshaped\n";
     411  info += ">>> ColorTables: defcmap  grey32  invgrey32  colrj32  colbr32 \n";
     412  info += "                grey128  invgrey128  colrj128  colbr128 \n";
     413  info += "                red32cm  green32cm  blue32cm  yellow32cm \n";
     414  info += "                orange32cm cyan32cm violet32cm \n";
     415  info += "                midas_pastel midas_heat midas_rainbow3 midas_bluered\n";
     416  info += "                midas_bluewhite midas_redwhite \n";
     417  info += "                multicol16 multicol64\n";
     418  info += ">   revcmap : This flag reverses ColorMap indexing \n";
     419  info += "------- Obsolete- graphic att ---------- \n"; 
    396420  info += ">> Lines:  defline normalline thinline thickline dashedline thindashedline \n";
    397421  info += "           thickdashedline dottedline thindottedline thickdottedline \n";
     
    405429  info += "           ftrianglemarker<S>  starmarker<S>  fstarmarker<S> \n";
    406430  info += "   with <S> = 1 3 5 7 9 , Example fboxmarker5 , plusmarker9 ... \n";
    407   info += ">> ColorTables: defcmap  grey32  invgrey32  colrj32  colbr32 \n";
    408   info += "                grey128  invgrey128  colrj128  colbr128 \n";
    409   info += "                midas_pastel midas_heat midas_rainbow3 midas_bluered\n";
    410   info += "                midas_bluewhite midas_redwhite \n";
    411   info += "                rainbow16 \n";
    412   info += "   revcmap : This flag reverses ColorMap indexing \n";
    413431  return;
    414432}
     
    424442  mGrUC->SetUCS(xMin, xMax, yMin, yMax, aXFlg, aYFlg);
    425443  if (aXlog || aYlog) mGrUC->SetLogScale(aXlog, aYlog);
    426   if (mFgHighLight) mGrUC->SelGOMode(PI_GOInvert); // $CHECK$ A changer , Reza 07/2001
     444  if (mFgHighLight) {
     445    // mGrUC->SelGOMode(PI_GOInvert); // $CHECK$ A changer , Reza 07/2001
     446    mGrUC->SelForeground(PI_HighlightBlue);
     447    mGrUC->LockForegroundColor();
     448  }
     449 
    427450  return(mGrUC);
    428451}
  • trunk/SophyaPI/PI/pidrwtools.cc

    r2391 r2394  
    157157mOpt[0]->AppendItem("BlueViolet", 119);
    158158mOpt[0]->AppendItem("DarkViolet", 120);
     159mOpt[0]->AppendItem("SkyBlue", 121);
     160mOpt[0]->AppendItem("RoyalBlue", 122);
     161mOpt[0]->AppendItem("ForestGreen", 123);
     162mOpt[0]->AppendItem("OrangeRed", 124);
     163mOpt[0]->AppendItem("Brown", 125);
    159164mOpt[0]->SetValue(100);
    160165mOpt[0]->SetBinding(PIBK_elastic, PIBK_elastic, PIBK_elastic, PIBK_elastic);
     
    380385
    381386//  Declaration des differents attributs graphiques
    382 #define MYNMXCOLORS 21
     387#define MYNMXCOLORS 26
    383388static PIColors cols[MYNMXCOLORS] = { PI_NotDefColor,
    384389                     PI_Black, PI_White, PI_Grey,
     
    388393                     PI_Orange, PI_SiennaRed, PI_Purple,
    389394                     PI_LimeGreen, PI_Gold, PI_Violet, PI_VioletRed,
    390                      PI_BlueViolet, PI_DarkViolet };
     395                     PI_BlueViolet, PI_DarkViolet,
     396                     PI_SkyBlue, PI_RoyalBlue,
     397                     PI_ForestGreen,
     398                     PI_OrangeRed, PI_Brown };
    391399
    392400static PIMarker mrk[12] = { PI_NotDefMarker, PI_DotMarker,
     
    757765  mTxt[1] = new PIText(this, "drwosset", bsx*6.0, bsy, cpx, cpy); 
    758766  mTxt[1]->SetTextEditable(true);
     767  mTxt[1]->SetMsg(5555);
    759768  mTxt[1]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic);
    760769  mTxt[1]->SetText("");
     
    810819    break;
    811820  case 555:
     821  case 5555:
    812822    if (mDrw) {
    813823      vector<string> vops;
  • trunk/SophyaPI/PI/pieldrw.cc

    r2387 r2394  
    622622  if (axesFlags == kAxesNone) return;
    623623  //  g->NoClip();
    624   g->SaveGraphicAtt();
    625624  axeDr.DrawXYAxes(g, mGrAtt, XMin(), XMax(), YMin(), YMax(),
    626625                   axesFlags, axesAFSz);
    627   g->RestoreGraphicAtt();
    628626  if (showAxesLabels) {
    629627    axeDr.DrawXCaption(g, labelAtt, axesFlags, xLabel);
     
    631629  }
    632630  //  g->Clip();
    633   g->RestoreGraphicAtt();
    634631}
    635632
     
    641638DrawAxes(g);   // Trace des axes
    642639// g->SelFont(PI_NormalSizeFont);
    643 
    644640
    645641// Trace des titres
     
    673669  SetGraphicAtt(grs);
    674670}
    675  g->RestoreGraphicAtt();
    676671 SelGraAtt(g);
    677672 // Trace des elements
  • trunk/SophyaPI/PI/pigraphgen.cc

    r2349 r2394  
    779779void PIGraphicGen::SaveGraphicAtt()
    780780{
     781  // Doit-on sauver et utiliser l'etat de lock ? Reza - Mai 2003
    781782  sFCol = GetForeground();
    782783  sBCol = GetBackground();
     
    794795void PIGraphicGen::RestoreGraphicAtt()
    795796{
     797  UnLockForegroundColor(); // Doit-on sauver et utiliser l'etat de lock ?
    796798  SelForeground(sFCol);
    797799  SelBackground(sBCol);
  • trunk/SophyaPI/PI/pigraphuc.cc

    r2322 r2394  
    745745{
    746746  if (!mGrC) return;
     747  if (myLockFCol)  return; 
    747748  mGrC->SelForeground(col);
    748749  return; 
  • trunk/SophyaPI/PI/pigraphx.cc

    r2258 r2394  
    863863if ( XAllocNamedColor (mdsp, cmap, "DarkViolet", &mycol, &exact) )
    864864  colpix[PI_DarkViolet] = mycol.pixel;
    865 
    866 mycol.red = 0;
    867 mycol.blue = 65000;
    868 mycol.green = 45000;
     865if ( XAllocNamedColor (mdsp, cmap, "SkyBlue", &mycol, &exact) )
     866  colpix[PI_SkyBlue] = mycol.pixel;
     867if ( XAllocNamedColor (mdsp, cmap, "RoyalBlue", &mycol, &exact) )
     868  colpix[PI_RoyalBlue] = mycol.pixel;
     869if ( XAllocNamedColor (mdsp, cmap, "ForestGreen", &mycol, &exact) )
     870  colpix[PI_ForestGreen] = mycol.pixel;
     871if ( XAllocNamedColor (mdsp, cmap, "OrangeRed", &mycol, &exact) )
     872  colpix[PI_OrangeRed] = mycol.pixel;
     873if ( XAllocNamedColor (mdsp, cmap, "brown", &mycol, &exact) )
     874  colpix[PI_Brown] = mycol.pixel;
     875
     876mycol.red = 39000;
     877mycol.blue = 65535;
     878mycol.green = 49000;
    869879if ( XAllocColor (mdsp, cmap, &mycol) )  colpix[PI_HighlightBlue] = mycol.pixel;
    870880
  • trunk/SophyaPI/PI/pigratt.cc

    r2322 r2394  
    55#include "pigratt.h"
    66#include <ctype.h>
     7#include "strutilxx.h"
    78
    89#include <stdio.h>
     
    266267  gic = PI_DarkViolet;
    267268  GrAcol["darkviolet"] = gic;
     269  gic = PI_SkyBlue;
     270  GrAcol["skyblue"] = gic;
     271  gic = PI_RoyalBlue;
     272  GrAcol["royalblue"] = gic;
     273  gic = PI_ForestGreen;
     274  GrAcol["forestgreen"] = gic;
     275  gic = PI_OrangeRed;
     276  GrAcol["orangered"] = gic;
     277  gic = PI_Brown;
     278  GrAcol["brown"] = gic;
    268279
    269280// Les attributs de lignes
     
    446457  int ndec = att.size();
    447458  for( k=0; k<att.size(); k++ ) {
     459    bool fgdec = false;
    448460    string gratt = att[k];
    449461    // Valeurs par defaut
    450462    if (gratt == "default") {
    451463      SetDefaultAtt(); 
    452       continue;
    453     }
     464      fgdec = true;
     465    }
     466    // Decodage couleur avant-plan/arriere-plan avec fgcolor=colname ou bgcolor=colname
     467    else if ( (gratt.substr(0, 8) == "fgcolor=") || (gratt.substr(0, 8) == "bgcolor=") || 
     468         (gratt.substr(0, 6) == "color=") ) {
     469      string scol;
     470      bool sfgc = true;
     471      if (gratt[0] != 'c')  {
     472        if (gratt[0] == 'b') sfgc = false;
     473        scol = gratt.substr(8);
     474      }
     475      else scol = gratt.substr(6);
     476
     477      GrAttColors& GrAcol = *GrAcolors;
     478      GrAttColors::const_iterator itc = GrAcol.find(scol);
     479      PIColors cdcol = PI_NotDefColor;
     480      fgdec = false;
     481      if (itc != GrAcol.end())  {
     482        cdcol = (*itc).second;  fgdec = true; 
     483      }
     484      if (sfgc) mFCol = cdcol;
     485      else mBCol = cdcol;
     486      fgdec = true;
     487    }
     488    // Decodage de fonte sous forme de font=FontName,FontAtt,FontSizePt
     489    else if (gratt.substr(0, 5) == "font=") {
     490      PIFontName dfn = PI_DefaultFont;
     491      int dfsz = 10;
     492      PIFontAtt dfa = PI_RomanFont;
     493      vector<string> fna;
     494      FillVStringFrString(gratt.substr(5), fna, ',');
     495      if (fna.size() > 0) {
     496        if (fna[0] == "courier") dfn = PI_CourierFont;
     497        else if (fna[0] == "helvetica") dfn = PI_HelveticaFont;
     498        else if (fna[0] == "times") dfn = PI_TimesFont;
     499        else if (fna[0] == "symbol") dfn = PI_SymbolFont;
     500      }
     501      if (fna.size() > 1) {
     502        if (fna[1] == "roman") dfa = PI_RomanFont;
     503        else if (fna[1] == "bold") dfa = PI_BoldFont;
     504        else if (fna[1] == "italic") dfa = PI_ItalicFont;
     505        else if (fna[1] == "bolditalic") dfa = PI_BoldItalicFont;
     506      }
     507      if (fna.size() > 2) dfsz = atoi(fna[2].c_str());
     508      cout << "DBG-GRATT: " << fna[0] << " " << fna[1] << " " << dfsz << endl;
     509      mFnt.SetFont(dfn);
     510      mFnt.SetFontAtt(dfa);
     511      mFnt.SetFontSzPt(dfsz);
     512      if (fna.size() > 0) mNotDefFnt = true;
     513      else  mNotDefFnt = false;
     514      fgdec = true;
     515    }
     516    // Decodage d'attribut de ligne sous forme de line=dashtype,width
     517    else if (gratt.substr(0, 5) == "line=") {
     518      PILineDash dld = PI_LineSolid;
     519      int dlw = 1;
     520      vector<string> lna;
     521      FillVStringFrString(gratt.substr(5), lna, ',');
     522      if (lna.size() > 0) {
     523        if (lna[0] == "solid") dld = PI_LineSolid;
     524        else if (lna[0] == "dashed") dld = PI_LineDashed;
     525        else if (lna[0] == "dotted") dld = PI_LineDotted;
     526        else if (lna[0] == "dashdotted") dld = PI_LineDashDotted;
     527      }
     528      if (lna.size() > 1) dlw = atoi(lna[1].c_str());
     529      mLAtt.SetLineWidth(dlw);
     530      mLAtt.SetLineDash(dld);
     531      fgdec = true;
     532    }
     533    // decodage de marker sous forme de marker=type,size
     534    else if (gratt.substr(0, 7) == "marker=") {
     535      PIMarker dmrk = PI_NotDefMarker;
     536      int dmsz = 1;
     537      vector<string> mka;
     538      FillVStringFrString(gratt.substr(7), mka, ',');
     539      if (mka.size() > 0) {
     540        if (mka[0] == "dot") dmrk = PI_DotMarker;
     541        else if (mka[0] == "plus") dmrk = PI_PlusMarker;
     542        else if (mka[0] == "cross") dmrk = PI_CrossMarker;
     543        else if (mka[0] == "circle") dmrk = PI_CircleMarker;
     544        else if (mka[0] == "fcircle") dmrk = PI_FCircleMarker;
     545        else if (mka[0] == "box") dmrk = PI_BoxMarker;
     546        else if (mka[0] == "fbox") dmrk = PI_FBoxMarker;
     547        else if (mka[0] == "triangle") dmrk = PI_TriangleMarker;
     548        else if (mka[0] == "ftriangle") dmrk = PI_TriangleMarker;
     549        else if (mka[0] == "star") dmrk = PI_StarMarker;
     550        else if (mka[0] == "fstar") dmrk = PI_StarMarker;
     551      }
     552      if (mka.size() > 1) dmsz = atoi(mka[1].c_str());
     553      mMrk = dmrk; 
     554      mMSz = dmsz;
     555      fgdec = true;
     556    }
     557    // decodage de arrowmarker sour forme de arrow=type,size
     558    else if (gratt.substr(0, 7) == "arrow=") {
     559      PIArrowMarker darr = PI_NotDefArrowMarker;
     560      int dasz = 1;
     561      vector<string> mka;
     562      FillVStringFrString(gratt.substr(6), mka, ',');
     563      if (mka.size() > 0) {
     564        if (mka[0] == "basic") darr = PI_BasicArrowMarker;
     565        else if (mka[0] == "triangle") darr = PI_TriangleArrowMarker;
     566        else if (mka[0] == "ftriangle") darr = PI_FTriangleArrowMarker;
     567        else if (mka[0] == "arrowshaped") darr = PI_ArrowShapedArrowMarker;
     568        else if (mka[0] == "farrowshaped") darr = PI_FArrowShapedArrowMarker;
     569      }
     570      if (mka.size() > 1) dasz = atoi(mka[1].c_str());
     571      mArrowMrk = darr;
     572      mArrowMrkSz = dasz;
     573      fgdec = true;
     574    }
     575   
    454576    // Inversion d'indexage de ColorMap
    455     if (gratt == "revcmap")  {
    456       mRevCmap = true;  continue;
    457     }
     577    else if (gratt == "revcmap")  {
     578      mRevCmap = true;  fgdec = true;
     579    }
     580    if (fgdec) continue;
     581
     582    // Si c'est un colormap
     583    fgdec = false;
     584    GrAttColMaps& GrAcmp = *GrAcmaps;
     585    GrAttColMaps::const_iterator itcm = GrAcmp.find(gratt);
     586    if (itcm != GrAcmp.end())  {
     587      mCmapid = (*itcm).second; 
     588      fgdec = true;  continue;
     589    }
     590    if (fgdec) continue;
     591
     592    // Le decodage ancienne maniere (avant Mai 2003)
    458593    // Si c'est une couleur
    459594    GrAttColors& GrAcol = *GrAcolors;
    460595    GrAttColors::const_iterator itc = GrAcol.find(gratt);
     596    fgdec = false;
    461597    if (itc != GrAcol.end())  {
    462       mFCol = (*itc).second;  continue;
    463     }
     598      mFCol = (*itc).second;  fgdec = true;  continue;
     599    }
     600    if (fgdec) continue;
    464601    // Si c'est un attribut de lignes
     602    fgdec = false;
    465603    GrAttLines& GrAlin = *GrAlines;
    466604    GrAttLines::const_iterator itl = GrAlin.find(gratt);
    467605    if (itl != GrAlin.end())  {
    468       mLAtt = (*itl).second;  continue;
    469     }
     606      mLAtt = (*itl).second;  fgdec = true;  continue;
     607    }
     608    if (fgdec) continue;
    470609    // Si c'est un nom de fontes
     610    fgdec = false;
    471611    GrAttFontNames& GrAfontnm = *GrAfontNames;
    472612    GrAttFontNames::const_iterator itfn = GrAfontnm.find(gratt);
    473613    if (itfn != GrAfontnm.end()) {
    474614      mFnt.SetFont((*itfn).second); 
    475       mNotDefFnt = true;  continue;
    476     }
     615      mNotDefFnt = true;  fgdec = true;  continue;
     616    }
     617    if (fgdec) continue;
    477618    // Si c'est un attribut de fontes
     619    fgdec = false;
    478620    GrAttFonts& GrAfnt = *GrAfonts;
    479621    GrAttFonts::const_iterator itfa = GrAfnt.find(gratt);
     
    481623      mFnt.SetFontAtt((*itfa).second.fatt); 
    482624      mFnt.SetFontSz((*itfa).second.fsz);
    483       mNotDefFnt = true;  continue;
    484     }
     625      mNotDefFnt = true;  fgdec = true;  continue;
     626    }
     627    if (fgdec) continue;
    485628    // Si c'est un attribut de markers
     629    fgdec = false;
    486630    GrAttMarkers& GrAmrk = *GrAmarkers;
    487631    GrAttMarkers::const_iterator itm = GrAmrk.find(gratt);
     
    489633      mMrk = (*itm).second.mrk; 
    490634      mMSz = (*itm).second.msz; 
    491       continue;
    492     }
     635      fgdec = true;  continue;
     636    }
     637    if (fgdec) continue;
    493638    // Si c'est un attribut de ArrowMarker (fleche)
     639    fgdec = false;
    494640    GrAttArrowMarkers& GrAarrmrk = *GrAarrowMarkers;
    495641    GrAttArrowMarkers::const_iterator itam = GrAarrmrk.find(gratt);
     
    497643      mArrowMrk = (*itam).second.amrk; 
    498644      mArrowMrkSz = (*itam).second.amsz; 
    499       continue;
    500     }
    501     // Si c'est un colormap
    502     GrAttColMaps& GrAcmp = *GrAcmaps;
    503     GrAttColMaps::const_iterator itcm = GrAcmp.find(gratt);
    504     if (itcm != GrAcmp.end())  {
    505       mCmapid = (*itcm).second; 
    506       continue;
    507     }
     645      fgdec = true;  continue;
     646    }
     647    if (fgdec) continue;
     648   
    508649    ndec--;
    509650    if (rmdecatt)  udatt.push_back(gratt);
  • trunk/SophyaPI/PI/psfile.cc

    r2258 r2394  
    5454  PI_Cyan, PI_Turquoise, PI_NavyBlue,\
    5555  PI_Orange, PI_SiennaRed, PI_Purple,\
    56   PI_LimeGreen, PI_Gold, PI_Violet, PI_VioletRed, PI_BlueViolet, PI_DarkViolet, \
     56  PI_LimeGreen, PI_Gold, \
     57  PI_Violet, PI_VioletRed, PI_BlueViolet, PI_DarkViolet, \
     58  PI_SkyBlue, PI_RoyalBlue, PI_ForestGreen, \
     59  PI_OrangeRed, PI_Brown, PI_HighlightBlue, \
    5760  \
    5861  PI_RomanFont, PI_BoldFont, PI_ItalicFont, PI_NotDefFontAtt,\
     
    6770/C%-2d  {ur    ug    ub    setrgbcolor} bind def %% PI_ColorFromMap\n\
    6871/C%-2d  {0.0   0.0   0.0   setrgbcolor} bind def %% PI_Black\n\
    69 /C%-2d  {0.996 0.996 0.996 setrgbcolor} bind def %% PI_White\n\
     72/C%-2d  {1.000 1.000 1.000 setrgbcolor} bind def %% PI_White\n\
    7073/C%-2d  {0.824 0.824 0.824 setrgbcolor} bind def %% PI_Grey\n\
    71 /C%-2d  {0.996 0.0   0.0   setrgbcolor} bind def %% PI_Red\n\
    72 /C%-2d  {0.0   0.0   0.996 setrgbcolor} bind def %% PI_Blue\n\
    73 /C%-2d  {0.0   0.996 0.0   setrgbcolor} bind def %% PI_Green\n\
    74 /C%-2d  {0.996 0.996 0.0   setrgbcolor} bind def %% PI_Yellow\n\
    75 /C%-2d  {0.996 0.0   0.996 setrgbcolor} bind def %% PI_Magenta\n\
     74/C%-2d  {1.000 0.0   0.0   setrgbcolor} bind def %% PI_Red\n\
     75/C%-2d  {0.0   0.0   1.000 setrgbcolor} bind def %% PI_Blue\n\
     76/C%-2d  {0.0   1.000 0.0   setrgbcolor} bind def %% PI_Green\n\
     77/C%-2d  {1.000 1.000 0.0   setrgbcolor} bind def %% PI_Yellow\n\
     78/C%-2d  {1.000 0.0   1.000 setrgbcolor} bind def %% PI_Magenta\n\
    7679/C%-2d  {}                              bind def %% PI_NotDefColor\n\
    77 /C%-2d  {0.0   0.996 0.996 setrgbcolor} bind def %% PI_Cyan\n\
     80/C%-2d  {0.0   1.000 1.000 setrgbcolor} bind def %% PI_Cyan\n\
    7881/C%-2d  {0.250 0.875 0.813 setrgbcolor} bind def %% PI_Turquoise\n\
    7982/C%-2d  {0.0   0.0   0.500 setrgbcolor} bind def %% PI_NavyBlue\n\
    80 /C%-2d  {0.996 0.644 0.0   setrgbcolor} bind def %% PI_Orange\n\
     83/C%-2d  {1.000 0.644 0.0   setrgbcolor} bind def %% PI_Orange\n\
    8184/C%-2d  {0.625 0.320 0.176 setrgbcolor} bind def %% PI_SiennaRed\n\
    8285/C%-2d  {0.625 0.125 0.937 setrgbcolor} bind def %% PI_Purple\n\
    8386/C%-2d  {0.195 0.800 0.195 setrgbcolor} bind def %% PI_LimeGreen\n\
    84 /C%-2d  {0.996 0.840 0.0   setrgbcolor} bind def %% PI_Gold\n\
     87/C%-2d  {1.000 0.840 0.0   setrgbcolor} bind def %% PI_Gold\n\
    8588/C%-2d  {0.933 0.510 0.933 setrgbcolor} bind def %% PI_Violet\n\
    8689/C%-2d  {0.816 0.125 0.565 setrgbcolor} bind def %% PI_VioletRed\n\
    8790/C%-2d  {0.541 0.167 0.886 setrgbcolor} bind def %% PI_BlueViolet\n\
    8891/C%-2d  {0.580 0.000 0.827 setrgbcolor} bind def %% PI_DarkViolet\n\
     92/C%-2d  {0.530 0.805 0.920 setrgbcolor} bind def %% PI_SkyBlue\n\
     93/C%-2d  {0.255 0.410 0.880 setrgbcolor} bind def %% PI_RoyalBlue\n\
     94/C%-2d  {0.135 0.545 0.135 setrgbcolor} bind def %% PI_ForestGreen\n\
     95/C%-2d  {1.000 0.270 0.000 setrgbcolor} bind def %% PI_OrangeRed\n\
     96/C%-2d  {0.647 0.165 0.165 setrgbcolor} bind def %% PI_Brown\n\
     97/C%-2d  {0.600 0.750 1.000 setrgbcolor} bind def %% PI_HighlightBlue\n\
    8998/F%-2d  {/Courier   findfont} bind def           %% PI_RomanFont\n\
    9099/F%-2d  {/Courier-Bold    findfont} bind def     %% PI_BoldFont\n\
Note: See TracChangeset for help on using the changeset viewer.