Changeset 2394 in Sophya
- Timestamp:
- May 30, 2003, 5:55:03 PM (22 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/picolist.h
r1899 r2394 17 17 PI_Violet = 16, PI_VioletRed = 17, 18 18 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 }; 21 24 22 25 #endif -
trunk/SophyaPI/PI/pidrawer.cc
r2387 r2394 391 391 { 392 392 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"; 396 420 info += ">> Lines: defline normalline thinline thickline dashedline thindashedline \n"; 397 421 info += " thickdashedline dottedline thindottedline thickdottedline \n"; … … 405 429 info += " ftrianglemarker<S> starmarker<S> fstarmarker<S> \n"; 406 430 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";413 431 return; 414 432 } … … 424 442 mGrUC->SetUCS(xMin, xMax, yMin, yMax, aXFlg, aYFlg); 425 443 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 427 450 return(mGrUC); 428 451 } -
trunk/SophyaPI/PI/pidrwtools.cc
r2391 r2394 157 157 mOpt[0]->AppendItem("BlueViolet", 119); 158 158 mOpt[0]->AppendItem("DarkViolet", 120); 159 mOpt[0]->AppendItem("SkyBlue", 121); 160 mOpt[0]->AppendItem("RoyalBlue", 122); 161 mOpt[0]->AppendItem("ForestGreen", 123); 162 mOpt[0]->AppendItem("OrangeRed", 124); 163 mOpt[0]->AppendItem("Brown", 125); 159 164 mOpt[0]->SetValue(100); 160 165 mOpt[0]->SetBinding(PIBK_elastic, PIBK_elastic, PIBK_elastic, PIBK_elastic); … … 380 385 381 386 // Declaration des differents attributs graphiques 382 #define MYNMXCOLORS 2 1387 #define MYNMXCOLORS 26 383 388 static PIColors cols[MYNMXCOLORS] = { PI_NotDefColor, 384 389 PI_Black, PI_White, PI_Grey, … … 388 393 PI_Orange, PI_SiennaRed, PI_Purple, 389 394 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 }; 391 399 392 400 static PIMarker mrk[12] = { PI_NotDefMarker, PI_DotMarker, … … 757 765 mTxt[1] = new PIText(this, "drwosset", bsx*6.0, bsy, cpx, cpy); 758 766 mTxt[1]->SetTextEditable(true); 767 mTxt[1]->SetMsg(5555); 759 768 mTxt[1]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic); 760 769 mTxt[1]->SetText(""); … … 810 819 break; 811 820 case 555: 821 case 5555: 812 822 if (mDrw) { 813 823 vector<string> vops; -
trunk/SophyaPI/PI/pieldrw.cc
r2387 r2394 622 622 if (axesFlags == kAxesNone) return; 623 623 // g->NoClip(); 624 g->SaveGraphicAtt();625 624 axeDr.DrawXYAxes(g, mGrAtt, XMin(), XMax(), YMin(), YMax(), 626 625 axesFlags, axesAFSz); 627 g->RestoreGraphicAtt();628 626 if (showAxesLabels) { 629 627 axeDr.DrawXCaption(g, labelAtt, axesFlags, xLabel); … … 631 629 } 632 630 // g->Clip(); 633 g->RestoreGraphicAtt();634 631 } 635 632 … … 641 638 DrawAxes(g); // Trace des axes 642 639 // g->SelFont(PI_NormalSizeFont); 643 644 640 645 641 // Trace des titres … … 673 669 SetGraphicAtt(grs); 674 670 } 675 g->RestoreGraphicAtt();676 671 SelGraAtt(g); 677 672 // Trace des elements -
trunk/SophyaPI/PI/pigraphgen.cc
r2349 r2394 779 779 void PIGraphicGen::SaveGraphicAtt() 780 780 { 781 // Doit-on sauver et utiliser l'etat de lock ? Reza - Mai 2003 781 782 sFCol = GetForeground(); 782 783 sBCol = GetBackground(); … … 794 795 void PIGraphicGen::RestoreGraphicAtt() 795 796 { 797 UnLockForegroundColor(); // Doit-on sauver et utiliser l'etat de lock ? 796 798 SelForeground(sFCol); 797 799 SelBackground(sBCol); -
trunk/SophyaPI/PI/pigraphuc.cc
r2322 r2394 745 745 { 746 746 if (!mGrC) return; 747 if (myLockFCol) return; 747 748 mGrC->SelForeground(col); 748 749 return; -
trunk/SophyaPI/PI/pigraphx.cc
r2258 r2394 863 863 if ( XAllocNamedColor (mdsp, cmap, "DarkViolet", &mycol, &exact) ) 864 864 colpix[PI_DarkViolet] = mycol.pixel; 865 866 mycol.red = 0; 867 mycol.blue = 65000; 868 mycol.green = 45000; 865 if ( XAllocNamedColor (mdsp, cmap, "SkyBlue", &mycol, &exact) ) 866 colpix[PI_SkyBlue] = mycol.pixel; 867 if ( XAllocNamedColor (mdsp, cmap, "RoyalBlue", &mycol, &exact) ) 868 colpix[PI_RoyalBlue] = mycol.pixel; 869 if ( XAllocNamedColor (mdsp, cmap, "ForestGreen", &mycol, &exact) ) 870 colpix[PI_ForestGreen] = mycol.pixel; 871 if ( XAllocNamedColor (mdsp, cmap, "OrangeRed", &mycol, &exact) ) 872 colpix[PI_OrangeRed] = mycol.pixel; 873 if ( XAllocNamedColor (mdsp, cmap, "brown", &mycol, &exact) ) 874 colpix[PI_Brown] = mycol.pixel; 875 876 mycol.red = 39000; 877 mycol.blue = 65535; 878 mycol.green = 49000; 869 879 if ( XAllocColor (mdsp, cmap, &mycol) ) colpix[PI_HighlightBlue] = mycol.pixel; 870 880 -
trunk/SophyaPI/PI/pigratt.cc
r2322 r2394 5 5 #include "pigratt.h" 6 6 #include <ctype.h> 7 #include "strutilxx.h" 7 8 8 9 #include <stdio.h> … … 266 267 gic = PI_DarkViolet; 267 268 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; 268 279 269 280 // Les attributs de lignes … … 446 457 int ndec = att.size(); 447 458 for( k=0; k<att.size(); k++ ) { 459 bool fgdec = false; 448 460 string gratt = att[k]; 449 461 // Valeurs par defaut 450 462 if (gratt == "default") { 451 463 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 454 576 // 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) 458 593 // Si c'est une couleur 459 594 GrAttColors& GrAcol = *GrAcolors; 460 595 GrAttColors::const_iterator itc = GrAcol.find(gratt); 596 fgdec = false; 461 597 if (itc != GrAcol.end()) { 462 mFCol = (*itc).second; continue; 463 } 598 mFCol = (*itc).second; fgdec = true; continue; 599 } 600 if (fgdec) continue; 464 601 // Si c'est un attribut de lignes 602 fgdec = false; 465 603 GrAttLines& GrAlin = *GrAlines; 466 604 GrAttLines::const_iterator itl = GrAlin.find(gratt); 467 605 if (itl != GrAlin.end()) { 468 mLAtt = (*itl).second; continue; 469 } 606 mLAtt = (*itl).second; fgdec = true; continue; 607 } 608 if (fgdec) continue; 470 609 // Si c'est un nom de fontes 610 fgdec = false; 471 611 GrAttFontNames& GrAfontnm = *GrAfontNames; 472 612 GrAttFontNames::const_iterator itfn = GrAfontnm.find(gratt); 473 613 if (itfn != GrAfontnm.end()) { 474 614 mFnt.SetFont((*itfn).second); 475 mNotDefFnt = true; continue; 476 } 615 mNotDefFnt = true; fgdec = true; continue; 616 } 617 if (fgdec) continue; 477 618 // Si c'est un attribut de fontes 619 fgdec = false; 478 620 GrAttFonts& GrAfnt = *GrAfonts; 479 621 GrAttFonts::const_iterator itfa = GrAfnt.find(gratt); … … 481 623 mFnt.SetFontAtt((*itfa).second.fatt); 482 624 mFnt.SetFontSz((*itfa).second.fsz); 483 mNotDefFnt = true; continue; 484 } 625 mNotDefFnt = true; fgdec = true; continue; 626 } 627 if (fgdec) continue; 485 628 // Si c'est un attribut de markers 629 fgdec = false; 486 630 GrAttMarkers& GrAmrk = *GrAmarkers; 487 631 GrAttMarkers::const_iterator itm = GrAmrk.find(gratt); … … 489 633 mMrk = (*itm).second.mrk; 490 634 mMSz = (*itm).second.msz; 491 continue; 492 } 635 fgdec = true; continue; 636 } 637 if (fgdec) continue; 493 638 // Si c'est un attribut de ArrowMarker (fleche) 639 fgdec = false; 494 640 GrAttArrowMarkers& GrAarrmrk = *GrAarrowMarkers; 495 641 GrAttArrowMarkers::const_iterator itam = GrAarrmrk.find(gratt); … … 497 643 mArrowMrk = (*itam).second.amrk; 498 644 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 508 649 ndec--; 509 650 if (rmdecatt) udatt.push_back(gratt); -
trunk/SophyaPI/PI/psfile.cc
r2258 r2394 54 54 PI_Cyan, PI_Turquoise, PI_NavyBlue,\ 55 55 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, \ 57 60 \ 58 61 PI_RomanFont, PI_BoldFont, PI_ItalicFont, PI_NotDefFontAtt,\ … … 67 70 /C%-2d {ur ug ub setrgbcolor} bind def %% PI_ColorFromMap\n\ 68 71 /C%-2d {0.0 0.0 0.0 setrgbcolor} bind def %% PI_Black\n\ 69 /C%-2d { 0.996 0.996 0.996setrgbcolor} bind def %% PI_White\n\72 /C%-2d {1.000 1.000 1.000 setrgbcolor} bind def %% PI_White\n\ 70 73 /C%-2d {0.824 0.824 0.824 setrgbcolor} bind def %% PI_Grey\n\ 71 /C%-2d { 0.9960.0 0.0 setrgbcolor} bind def %% PI_Red\n\72 /C%-2d {0.0 0.0 0.996setrgbcolor} bind def %% PI_Blue\n\73 /C%-2d {0.0 0.9960.0 setrgbcolor} bind def %% PI_Green\n\74 /C%-2d { 0.996 0.9960.0 setrgbcolor} bind def %% PI_Yellow\n\75 /C%-2d { 0.996 0.0 0.996setrgbcolor} 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\ 76 79 /C%-2d {} bind def %% PI_NotDefColor\n\ 77 /C%-2d {0.0 0.996 0.996setrgbcolor} bind def %% PI_Cyan\n\80 /C%-2d {0.0 1.000 1.000 setrgbcolor} bind def %% PI_Cyan\n\ 78 81 /C%-2d {0.250 0.875 0.813 setrgbcolor} bind def %% PI_Turquoise\n\ 79 82 /C%-2d {0.0 0.0 0.500 setrgbcolor} bind def %% PI_NavyBlue\n\ 80 /C%-2d { 0.9960.644 0.0 setrgbcolor} bind def %% PI_Orange\n\83 /C%-2d {1.000 0.644 0.0 setrgbcolor} bind def %% PI_Orange\n\ 81 84 /C%-2d {0.625 0.320 0.176 setrgbcolor} bind def %% PI_SiennaRed\n\ 82 85 /C%-2d {0.625 0.125 0.937 setrgbcolor} bind def %% PI_Purple\n\ 83 86 /C%-2d {0.195 0.800 0.195 setrgbcolor} bind def %% PI_LimeGreen\n\ 84 /C%-2d { 0.9960.840 0.0 setrgbcolor} bind def %% PI_Gold\n\87 /C%-2d {1.000 0.840 0.0 setrgbcolor} bind def %% PI_Gold\n\ 85 88 /C%-2d {0.933 0.510 0.933 setrgbcolor} bind def %% PI_Violet\n\ 86 89 /C%-2d {0.816 0.125 0.565 setrgbcolor} bind def %% PI_VioletRed\n\ 87 90 /C%-2d {0.541 0.167 0.886 setrgbcolor} bind def %% PI_BlueViolet\n\ 88 91 /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\ 89 98 /F%-2d {/Courier findfont} bind def %% PI_RomanFont\n\ 90 99 /F%-2d {/Courier-Bold findfont} bind def %% PI_BoldFont\n\
Note:
See TracChangeset
for help on using the changeset viewer.