Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

void Quantity_Color::ValuesOf ( const Quantity_NameOfColor  AName,
const Quantity_TypeOfColor  AType,
Standard_ShortReal &  R1,
Standard_ShortReal &  R2,
Standard_ShortReal &  R3 
) [static, private]

Returns the values of a predefined colour according to
the mode specified by TypeOfColor
TOC_RGB : <R1> the value of red between 0. and 1.
<R2> the value of green between 0. and 1.
<R3> the value of blue between 0. and 1.

Definition at line 427 of file Quantity_Color.cxx.

References rgbhls().

Referenced by Quantity_Color(), and SetValues().

                                                                                                                                                                         {

Standard_ShortReal RR = 0 ;
Standard_ShortReal RG = 0 ;
Standard_ShortReal RB = 0 ;

switch (AName) {

      case Quantity_NOC_BLACK :
            R1 = R2 = R3 = 0.0;
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_MATRAGRAY :
            RR = R1 = (float ) 0.600000; RG = R2 = (float ) 0.600000; RB = R3 = (float ) 0.600000;
      break;
      case Quantity_NOC_MATRABLUE :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = 0.750000;
      break;
      case Quantity_NOC_ALICEBLUE :
            RR = R1 = (float ) 0.941176; RG = R2 = (float ) 0.972549; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_ANTIQUEWHITE :
            RR = R1 = (float ) 0.980392; RG = R2 = (float ) 0.921569; RB = R3 = (float ) 0.843137;
      break;
      case Quantity_NOC_ANTIQUEWHITE1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.937255; RB = R3 = (float ) 0.858824;
      break;
      case Quantity_NOC_ANTIQUEWHITE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.874510; RB = R3 = (float ) 0.800000;
      break;
      case Quantity_NOC_ANTIQUEWHITE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.752941; RB = R3 = (float ) 0.690196;
      break;
      case Quantity_NOC_ANTIQUEWHITE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.513725; RB = R3 = (float ) 0.470588;
      break;
      case Quantity_NOC_AQUAMARINE1 :
            RR = R1 = (float ) 0.498039; RG = R2 = 1.000000; RB = R3 = (float ) 0.831373;
      break;
      case Quantity_NOC_AQUAMARINE2 :
            RR = R1 = (float ) 0.462745; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.776471;
      break;
      case Quantity_NOC_AQUAMARINE4 :
            RR = R1 = (float ) 0.270588; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.454902;
      break;
      case Quantity_NOC_AZURE :
            RR = R1 = (float ) 0.941176; RG = R2 = 1.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_AZURE2 :
            RR = R1 = (float ) 0.878431; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_AZURE3 :
            RR = R1 = (float ) 0.756863; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_AZURE4 :
            RR = R1 = (float ) 0.513725; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_BEIGE :
            RR = R1 = (float ) 0.960784; RG = R2 = (float ) 0.960784; RB = R3 = (float ) 0.862745;
      break;
      case Quantity_NOC_BISQUE :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.894118; RB = R3 = (float ) 0.768627;
      break;
      case Quantity_NOC_BISQUE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.835294; RB = R3 = (float ) 0.717647;
      break;
      case Quantity_NOC_BISQUE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.717647; RB = R3 = (float ) 0.619608;
      break;
      case Quantity_NOC_BISQUE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.490196; RB = R3 = (float ) 0.419608;
      break;
      case Quantity_NOC_BLANCHEDALMOND :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.921569; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_BLUE1 :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_BLUE2 :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_BLUE3 :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_BLUE4 :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_BLUEVIOLET :
            RR = R1 = (float ) 0.541176; RG = R2 = (float ) 0.168627; RB = R3 = (float ) 0.886275;
      break;
      case Quantity_NOC_BROWN :
            RR = R1 = (float ) 0.647059; RG = R2 = (float ) 0.164706; RB = R3 = (float ) 0.164706;
      break;
      case Quantity_NOC_BROWN1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.250980; RB = R3 = (float ) 0.250980;
      break;
      case Quantity_NOC_BROWN2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.231373; RB = R3 = (float ) 0.231373;
      break;
      case Quantity_NOC_BROWN3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.200000; RB = R3 = (float ) 0.200000;
      break;
      case Quantity_NOC_BROWN4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.137255; RB = R3 = (float ) 0.137255;
      break;
      case Quantity_NOC_BURLYWOOD :
            RR = R1 = (float ) 0.870588; RG = R2 = (float ) 0.721569; RB = R3 = (float ) 0.529412;
      break;
      case Quantity_NOC_BURLYWOOD1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.827451; RB = R3 = (float ) 0.607843;
      break;
      case Quantity_NOC_BURLYWOOD2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.772549; RB = R3 = (float ) 0.568627;
      break;
      case Quantity_NOC_BURLYWOOD3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.666667; RB = R3 = (float ) 0.490196;
      break;
      case Quantity_NOC_BURLYWOOD4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.450980; RB = R3 = (float ) 0.333333;
      break;
      case Quantity_NOC_CADETBLUE :
            RR = R1 = (float ) 0.372549; RG = R2 = (float ) 0.619608; RB = R3 = (float ) 0.627451;
      break;
      case Quantity_NOC_CADETBLUE1 :
            RR = R1 = (float ) 0.596078; RG = R2 = (float ) 0.960784; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_CADETBLUE2 :
            RR = R1 = (float ) 0.556863; RG = R2 = (float ) 0.898039; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_CADETBLUE3 :
            RR = R1 = (float ) 0.478431; RG = R2 = (float ) 0.772549; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_CADETBLUE4 :
            RR = R1 = (float ) 0.325490; RG = R2 = (float ) 0.525490; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_CHARTREUSE :
            RR = R1 = (float ) 0.498039; RG = R2 = 1.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_CHARTREUSE1 :
            RR = R1 = (float ) 0.498039; RG = R2 = 1.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_CHARTREUSE2 :
            RR = R1 = (float ) 0.462745; RG = R2 = (float ) 0.933333; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_CHARTREUSE3 :
            RR = R1 = (float ) 0.400000; RG = R2 = (float ) 0.803922; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_CHARTREUSE4 :
            RR = R1 = (float ) 0.270588; RG = R2 = (float ) 0.545098; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_CHOCOLATE :
            RR = R1 = (float ) 0.823529; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.117647;
      break;
      case Quantity_NOC_CHOCOLATE1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.498039; RB = R3 = (float ) 0.141176;
      break;
      case Quantity_NOC_CHOCOLATE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.462745; RB = R3 = (float ) 0.129412;
      break;
      case Quantity_NOC_CHOCOLATE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.400000; RB = R3 = (float ) 0.113725;
      break;
      case Quantity_NOC_CHOCOLATE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.270588; RB = R3 = (float ) 0.074510;
      break;
      case Quantity_NOC_CORAL :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.498039; RB = R3 = (float ) 0.313725;
      break;
      case Quantity_NOC_CORAL1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.447059; RB = R3 = (float ) 0.337255;
      break;
      case Quantity_NOC_CORAL2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.415686; RB = R3 = (float ) 0.313725;
      break;
      case Quantity_NOC_CORAL3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.356863; RB = R3 = (float ) 0.270588;
      break;
      case Quantity_NOC_CORAL4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.243137; RB = R3 = (float ) 0.184314;
      break;
      case Quantity_NOC_CORNFLOWERBLUE :
            RR = R1 = (float ) 0.392157; RG = R2 = (float ) 0.584314; RB = R3 = (float ) 0.929412;
      break;
      case Quantity_NOC_CORNSILK1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.972549; RB = R3 = (float ) 0.862745;
      break;
      case Quantity_NOC_CORNSILK2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.909804; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_CORNSILK3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.784314; RB = R3 = (float ) 0.694118;
      break;
      case Quantity_NOC_CORNSILK4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.533333; RB = R3 = (float ) 0.470588;
      break;
      case Quantity_NOC_CYAN1 :
            RR = R1 = 0.000000; RG = R2 = 1.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_CYAN2 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_CYAN3 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_CYAN4 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_DARKGOLDENROD :
            RR = R1 = (float ) 0.721569; RG = R2 = (float ) 0.525490; RB = R3 = (float ) 0.043137;
      break;
      case Quantity_NOC_DARKGOLDENROD1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.725490; RB = R3 = (float ) 0.058824;
      break;
      case Quantity_NOC_DARKGOLDENROD2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.678431; RB = R3 = (float ) 0.054902;
      break;
      case Quantity_NOC_DARKGOLDENROD3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.584314; RB = R3 = (float ) 0.047059;
      break;
      case Quantity_NOC_DARKGOLDENROD4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.396078; RB = R3 = (float ) 0.031373;
      break;
      case Quantity_NOC_DARKGREEN :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.392157; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_DARKKHAKI :
            RR = R1 = (float ) 0.741176; RG = R2 = (float ) 0.717647; RB = R3 = (float ) 0.419608;
      break;
      case Quantity_NOC_DARKOLIVEGREEN :
            RR = R1 = (float ) 0.333333; RG = R2 = (float ) 0.419608; RB = R3 = (float ) 0.184314;
      break;
      case Quantity_NOC_DARKOLIVEGREEN1 :
            RR = R1 = (float ) 0.792157; RG = R2 = 1.000000; RB = R3 = (float ) 0.439216;
      break;
      case Quantity_NOC_DARKOLIVEGREEN2 :
            RR = R1 = (float ) 0.737255; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.407843;
      break;
      case Quantity_NOC_DARKOLIVEGREEN3 :
            RR = R1 = (float ) 0.635294; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.352941;
      break;
      case Quantity_NOC_DARKOLIVEGREEN4 :
            RR = R1 = (float ) 0.431373; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.239216;
      break;
      case Quantity_NOC_DARKORANGE :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.549020; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_DARKORANGE1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.498039; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_DARKORANGE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.462745; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_DARKORANGE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.400000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_DARKORANGE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.270588; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_DARKORCHID :
            RR = R1 = (float ) 0.600000; RG = R2 = (float ) 0.196078; RB = R3 = (float ) 0.800000;
      break;
      case Quantity_NOC_DARKORCHID1 :
            RR = R1 = (float ) 0.749020; RG = R2 = (float ) 0.243137; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_DARKORCHID2 :
            RR = R1 = (float ) 0.698039; RG = R2 = (float ) 0.227451; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_DARKORCHID3 :
            RR = R1 = (float ) 0.603922; RG = R2 = (float ) 0.196078; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_DARKORCHID4 :
            RR = R1 = (float ) 0.407843; RG = R2 = (float ) 0.133333; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_DARKSALMON :
            RR = R1 = (float ) 0.913725; RG = R2 = (float ) 0.588235; RB = R3 = (float ) 0.478431;
      break;
      case Quantity_NOC_DARKSEAGREEN :
            RR = R1 = (float ) 0.560784; RG = R2 = (float ) 0.737255; RB = R3 = (float ) 0.560784;
      break;
      case Quantity_NOC_DARKSEAGREEN1 :
            RR = R1 = (float ) 0.756863; RG = R2 = 1.000000; RB = R3 = (float ) 0.756863;
      break;
      case Quantity_NOC_DARKSEAGREEN2 :
            RR = R1 = (float ) 0.705882; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.705882;
      break;
      case Quantity_NOC_DARKSEAGREEN3 :
            RR = R1 = (float ) 0.607843; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.607843;
      break;
      case Quantity_NOC_DARKSEAGREEN4 :
            RR = R1 = (float ) 0.411765; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.411765;
      break;
      case Quantity_NOC_DARKSLATEBLUE :
            RR = R1 = (float ) 0.282353; RG = R2 = (float ) 0.239216; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_DARKSLATEGRAY1 :
            RR = R1 = (float ) 0.592157; RG = R2 = 1.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_DARKSLATEGRAY2 :
            RR = R1 = (float ) 0.552941; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_DARKSLATEGRAY3 :
            RR = R1 = (float ) 0.474510; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_DARKSLATEGRAY4 :
            RR = R1 = (float ) 0.321569; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_DARKSLATEGRAY :
            RR = R1 = (float ) 0.184314; RG = R2 = (float ) 0.309804; RB = R3 = (float ) 0.309804;
      break;
      case Quantity_NOC_DARKTURQUOISE :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.807843; RB = R3 = (float ) 0.819608;
      break;
      case Quantity_NOC_DARKVIOLET :
            RR = R1 = (float ) 0.580392; RG = R2 = 0.000000; RB = R3 = (float ) 0.827451;
      break;
      case Quantity_NOC_DEEPPINK :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.078431; RB = R3 = (float ) 0.576471;
      break;
      case Quantity_NOC_DEEPPINK2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.070588; RB = R3 = (float ) 0.537255;
      break;
      case Quantity_NOC_DEEPPINK3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.062745; RB = R3 = (float ) 0.462745;
      break;
      case Quantity_NOC_DEEPPINK4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.039216; RB = R3 = (float ) 0.313725;
      break;
      case Quantity_NOC_DEEPSKYBLUE1 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.749020; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_DEEPSKYBLUE2 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.698039; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_DEEPSKYBLUE3 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.603922; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_DEEPSKYBLUE4 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.407843; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_DODGERBLUE1 :
            RR = R1 = (float ) 0.117647; RG = R2 = (float ) 0.564706; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_DODGERBLUE2 :
            RR = R1 = (float ) 0.109804; RG = R2 = (float ) 0.525490; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_DODGERBLUE3 :
            RR = R1 = (float ) 0.094118; RG = R2 = (float ) 0.454902; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_DODGERBLUE4 :
            RR = R1 = (float ) 0.062745; RG = R2 = (float ) 0.305882; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_FIREBRICK :
            RR = R1 = (float ) 0.698039; RG = R2 = (float ) 0.133333; RB = R3 = (float ) 0.133333;
      break;
      case Quantity_NOC_FIREBRICK1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.188235; RB = R3 = (float ) 0.188235;
      break;
      case Quantity_NOC_FIREBRICK2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.172549; RB = R3 = (float ) 0.172549;
      break;
      case Quantity_NOC_FIREBRICK3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.149020; RB = R3 = (float ) 0.149020;
      break;
      case Quantity_NOC_FIREBRICK4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.101961; RB = R3 = (float ) 0.101961;
      break;
      case Quantity_NOC_FLORALWHITE :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.980392; RB = R3 = (float ) 0.941176;
      break;
      case Quantity_NOC_FORESTGREEN :
            RR = R1 = (float ) 0.133333; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.133333;
      break;
      case Quantity_NOC_GAINSBORO :
            RR = R1 = (float ) 0.862745; RG = R2 = (float ) 0.862745; RB = R3 = (float ) 0.862745;
      break;
      case Quantity_NOC_GHOSTWHITE :
            RR = R1 = (float ) 0.972549; RG = R2 = (float ) 0.972549; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_GOLD :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.843137; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GOLD1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.843137; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GOLD2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.788235; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GOLD3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.678431; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GOLD4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.458824; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GOLDENROD :
            RR = R1 = (float ) 0.854902; RG = R2 = (float ) 0.647059; RB = R3 = (float ) 0.125490;
      break;
      case Quantity_NOC_GOLDENROD1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.756863; RB = R3 = (float ) 0.145098;
      break;
      case Quantity_NOC_GOLDENROD2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.705882; RB = R3 = (float ) 0.133333;
      break;
      case Quantity_NOC_GOLDENROD3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.607843; RB = R3 = (float ) 0.113725;
      break;
      case Quantity_NOC_GOLDENROD4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.078431;
      break;
      case Quantity_NOC_GRAY :
            RR = R1 = (float ) 0.752941; RG = R2 = (float ) 0.752941; RB = R3 = (float ) 0.752941;
      break;
      case Quantity_NOC_GRAY0 :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GRAY1 :
            RR = R1 = (float ) 0.011765; RG = R2 = (float ) 0.011765; RB = R3 = (float ) 0.011765;
      break;
      case Quantity_NOC_GRAY10 :
            RR = R1 = (float ) 0.101961; RG = R2 = (float ) 0.101961; RB = R3 = (float ) 0.101961;
      break;
      case Quantity_NOC_GRAY11 :
            RR = R1 = (float ) 0.109804; RG = R2 = (float ) 0.109804; RB = R3 = (float ) 0.109804;
      break;
      case Quantity_NOC_GRAY12 :
            RR = R1 = (float ) 0.121569; RG = R2 = (float ) 0.121569; RB = R3 = (float ) 0.121569;
      break;
      case Quantity_NOC_GRAY13 :
            RR = R1 = (float ) 0.129412; RG = R2 = (float ) 0.129412; RB = R3 = (float ) 0.129412;
      break;
      case Quantity_NOC_GRAY14 :
            RR = R1 = (float ) 0.141176; RG = R2 = (float ) 0.141176; RB = R3 = (float ) 0.141176;
      break;
      case Quantity_NOC_GRAY15 :
            RR = R1 = (float ) 0.149020; RG = R2 = (float ) 0.149020; RB = R3 = (float ) 0.149020;
      break;
      case Quantity_NOC_GRAY16 :
            RR = R1 = (float ) 0.160784; RG = R2 = (float ) 0.160784; RB = R3 = (float ) 0.160784;
      break;
      case Quantity_NOC_GRAY17 :
            RR = R1 = (float ) 0.168627; RG = R2 = (float ) 0.168627; RB = R3 = (float ) 0.168627;
      break;
      case Quantity_NOC_GRAY18 :
            RR = R1 = (float ) 0.180392; RG = R2 = (float ) 0.180392; RB = R3 = (float ) 0.180392;
      break;
      case Quantity_NOC_GRAY19 :
            RR = R1 = (float ) 0.188235; RG = R2 = (float ) 0.188235; RB = R3 = (float ) 0.188235;
      break;
      case Quantity_NOC_GRAY2 :
            RR = R1 = (float ) 0.019608; RG = R2 = (float ) 0.019608; RB = R3 = (float ) 0.019608;
      break;
      case Quantity_NOC_GRAY20 :
            RR = R1 = (float ) 0.200000; RG = R2 = (float ) 0.200000; RB = R3 = (float ) 0.200000;
      break;
      case Quantity_NOC_GRAY21 :
            RR = R1 = (float ) 0.211765; RG = R2 = (float ) 0.211765; RB = R3 = (float ) 0.211765;
      break;
      case Quantity_NOC_GRAY22 :
            RR = R1 = (float ) 0.219608; RG = R2 = (float ) 0.219608; RB = R3 = (float ) 0.219608;
      break;
      case Quantity_NOC_GRAY23 :
            RR = R1 = (float ) 0.231373; RG = R2 = (float ) 0.231373; RB = R3 = (float ) 0.231373;
      break;
      case Quantity_NOC_GRAY24 :
            RR = R1 = (float ) 0.239216; RG = R2 = (float ) 0.239216; RB = R3 = (float ) 0.239216;
      break;
      case Quantity_NOC_GRAY25 :
            RR = R1 = (float ) 0.250980; RG = R2 = (float ) 0.250980; RB = R3 = (float ) 0.250980;
      break;
      case Quantity_NOC_GRAY26 :
            RR = R1 = (float ) 0.258824; RG = R2 = (float ) 0.258824; RB = R3 = (float ) 0.258824;
      break;
      case Quantity_NOC_GRAY27 :
            RR = R1 = (float ) 0.270588; RG = R2 = (float ) 0.270588; RB = R3 = (float ) 0.270588;
      break;
      case Quantity_NOC_GRAY28 :
            RR = R1 = (float ) 0.278431; RG = R2 = (float ) 0.278431; RB = R3 = (float ) 0.278431;
      break;
      case Quantity_NOC_GRAY29 :
            RR = R1 = (float ) 0.290196; RG = R2 = (float ) 0.290196; RB = R3 = (float ) 0.290196;
      break;
      case Quantity_NOC_GRAY3 :
            RR = R1 = (float ) 0.031373; RG = R2 = (float ) 0.031373; RB = R3 = (float ) 0.031373;
      break;
      case Quantity_NOC_GRAY30 :
            RR = R1 = (float ) 0.301961; RG = R2 = (float ) 0.301961; RB = R3 = (float ) 0.301961;
      break;
      case Quantity_NOC_GRAY31 :
            RR = R1 = (float ) 0.309804; RG = R2 = (float ) 0.309804; RB = R3 = (float ) 0.309804;
      break;
      case Quantity_NOC_GRAY32 :
            RR = R1 = (float ) 0.321569; RG = R2 = (float ) 0.321569; RB = R3 = (float ) 0.321569;
      break;
      case Quantity_NOC_GRAY33 :
            RR = R1 = (float ) 0.329412; RG = R2 = (float ) 0.329412; RB = R3 = (float ) 0.329412;
      break;
      case Quantity_NOC_GRAY34 :
            RR = R1 = (float ) 0.341176; RG = R2 = (float ) 0.341176; RB = R3 = (float ) 0.341176;
      break;
      case Quantity_NOC_GRAY35 :
            RR = R1 = (float ) 0.349020; RG = R2 = (float ) 0.349020; RB = R3 = (float ) 0.349020;
      break;
      case Quantity_NOC_GRAY36 :
            RR = R1 = (float ) 0.360784; RG = R2 = (float ) 0.360784; RB = R3 = (float ) 0.360784;
      break;
      case Quantity_NOC_GRAY37 :
            RR = R1 = (float ) 0.368627; RG = R2 = (float ) 0.368627; RB = R3 = (float ) 0.368627;
      break;
      case Quantity_NOC_GRAY38 :
            RR = R1 = (float ) 0.380392; RG = R2 = (float ) 0.380392; RB = R3 = (float ) 0.380392;
      break;
      case Quantity_NOC_GRAY39 :
            RR = R1 = (float ) 0.388235; RG = R2 = (float ) 0.388235; RB = R3 = (float ) 0.388235;
      break;
      case Quantity_NOC_GRAY4 :
            RR = R1 = (float ) 0.039216; RG = R2 = (float ) 0.039216; RB = R3 = (float ) 0.039216;
      break;
      case Quantity_NOC_GRAY40 :
            RR = R1 = (float ) 0.400000; RG = R2 = (float ) 0.400000; RB = R3 = (float ) 0.400000;
      break;
      case Quantity_NOC_GRAY41 :
            RR = R1 = (float ) 0.411765; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.411765;
      break;
      case Quantity_NOC_GRAY42 :
            RR = R1 = (float ) 0.419608; RG = R2 = (float ) 0.419608; RB = R3 = (float ) 0.419608;
      break;
      case Quantity_NOC_GRAY43 :
            RR = R1 = (float ) 0.431373; RG = R2 = (float ) 0.431373; RB = R3 = (float ) 0.431373;
      break;
      case Quantity_NOC_GRAY44 :
            RR = R1 = (float ) 0.439216; RG = R2 = (float ) 0.439216; RB = R3 = (float ) 0.439216;
      break;
      case Quantity_NOC_GRAY45 :
            RR = R1 = (float ) 0.450980; RG = R2 = (float ) 0.450980; RB = R3 = (float ) 0.450980;
      break;
      case Quantity_NOC_GRAY46 :
            RR = R1 = (float ) 0.458824; RG = R2 = (float ) 0.458824; RB = R3 = (float ) 0.458824;
      break;
      case Quantity_NOC_GRAY47 :
            RR = R1 = (float ) 0.470588; RG = R2 = (float ) 0.470588; RB = R3 = (float ) 0.470588;
      break;
      case Quantity_NOC_GRAY48 :
            RR = R1 = (float ) 0.478431; RG = R2 = (float ) 0.478431; RB = R3 = (float ) 0.478431;
      break;
      case Quantity_NOC_GRAY49 :
            RR = R1 = (float ) 0.490196; RG = R2 = (float ) 0.490196; RB = R3 = (float ) 0.490196;
      break;
      case Quantity_NOC_GRAY5 :
            RR = R1 = (float ) 0.050980; RG = R2 = (float ) 0.050980; RB = R3 = (float ) 0.050980;
      break;
      case Quantity_NOC_GRAY50 :
            RR = R1 = (float ) 0.498039; RG = R2 = (float ) 0.498039; RB = R3 = (float ) 0.498039;
      break;
      case Quantity_NOC_GRAY51 :
            RR = R1 = (float ) 0.509804; RG = R2 = (float ) 0.509804; RB = R3 = (float ) 0.509804;
      break;
      case Quantity_NOC_GRAY52 :
            RR = R1 = (float ) 0.521569; RG = R2 = (float ) 0.521569; RB = R3 = (float ) 0.521569;
      break;
      case Quantity_NOC_GRAY53 :
            RR = R1 = (float ) 0.529412; RG = R2 = (float ) 0.529412; RB = R3 = (float ) 0.529412;
      break;
      case Quantity_NOC_GRAY54 :
            RR = R1 = (float ) 0.541176; RG = R2 = (float ) 0.541176; RB = R3 = (float ) 0.541176;
      break;
      case Quantity_NOC_GRAY55 :
            RR = R1 = (float ) 0.549020; RG = R2 = (float ) 0.549020; RB = R3 = (float ) 0.549020;
      break;
      case Quantity_NOC_GRAY56 :
            RR = R1 = (float ) 0.560784; RG = R2 = (float ) 0.560784; RB = R3 = (float ) 0.560784;
      break;
      case Quantity_NOC_GRAY57 :
            RR = R1 = (float ) 0.568627; RG = R2 = (float ) 0.568627; RB = R3 = (float ) 0.568627;
      break;
      case Quantity_NOC_GRAY58 :
            RR = R1 = (float ) 0.580392; RG = R2 = (float ) 0.580392; RB = R3 = (float ) 0.580392;
      break;
      case Quantity_NOC_GRAY59 :
            RR = R1 = (float ) 0.588235; RG = R2 = (float ) 0.588235; RB = R3 = (float ) 0.588235;
      break;
      case Quantity_NOC_GRAY6 :
            RR = R1 = (float ) 0.058824; RG = R2 = (float ) 0.058824; RB = R3 = (float ) 0.058824;
      break;
      case Quantity_NOC_GRAY60 :
            RR = R1 = (float ) 0.600000; RG = R2 = (float ) 0.600000; RB = R3 = (float ) 0.600000;
      break;
      case Quantity_NOC_GRAY61 :
            RR = R1 = (float ) 0.611765; RG = R2 = (float ) 0.611765; RB = R3 = (float ) 0.611765;
      break;
      case Quantity_NOC_GRAY62 :
            RR = R1 = (float ) 0.619608; RG = R2 = (float ) 0.619608; RB = R3 = (float ) 0.619608;
      break;
      case Quantity_NOC_GRAY63 :
            RR = R1 = (float ) 0.631373; RG = R2 = (float ) 0.631373; RB = R3 = (float ) 0.631373;
      break;
      case Quantity_NOC_GRAY64 :
            RR = R1 = (float ) 0.639216; RG = R2 = (float ) 0.639216; RB = R3 = (float ) 0.639216;
      break;
      case Quantity_NOC_GRAY65 :
            RR = R1 = (float ) 0.650980; RG = R2 = (float ) 0.650980; RB = R3 = (float ) 0.650980;
      break;
      case Quantity_NOC_GRAY66 :
            RR = R1 = (float ) 0.658824; RG = R2 = (float ) 0.658824; RB = R3 = (float ) 0.658824;
      break;
      case Quantity_NOC_GRAY67 :
            RR = R1 = (float ) 0.670588; RG = R2 = (float ) 0.670588; RB = R3 = (float ) 0.670588;
      break;
      case Quantity_NOC_GRAY68 :
            RR = R1 = (float ) 0.678431; RG = R2 = (float ) 0.678431; RB = R3 = (float ) 0.678431;
      break;
      case Quantity_NOC_GRAY69 :
            RR = R1 = (float ) 0.690196; RG = R2 = (float ) 0.690196; RB = R3 = (float ) 0.690196;
      break;
      case Quantity_NOC_GRAY7 :
            RR = R1 = (float ) 0.070588; RG = R2 = (float ) 0.070588; RB = R3 = (float ) 0.070588;
      break;
      case Quantity_NOC_GRAY70 :
            RR = R1 = (float ) 0.701961; RG = R2 = (float ) 0.701961; RB = R3 = (float ) 0.701961;
      break;
      case Quantity_NOC_GRAY71 :
            RR = R1 = (float ) 0.709804; RG = R2 = (float ) 0.709804; RB = R3 = (float ) 0.709804;
      break;
      case Quantity_NOC_GRAY72 :
            RR = R1 = (float ) 0.721569; RG = R2 = (float ) 0.721569; RB = R3 = (float ) 0.721569;
      break;
      case Quantity_NOC_GRAY73 :
            RR = R1 = (float ) 0.729412; RG = R2 = (float ) 0.729412; RB = R3 = (float ) 0.729412;
      break;
      case Quantity_NOC_GRAY74 :
            RR = R1 = (float ) 0.741176; RG = R2 = (float ) 0.741176; RB = R3 = (float ) 0.741176;
      break;
      case Quantity_NOC_GRAY75 :
            RR = R1 = (float ) 0.749020; RG = R2 = (float ) 0.749020; RB = R3 = (float ) 0.749020;
      break;
      case Quantity_NOC_GRAY76 :
            RR = R1 = (float ) 0.760784; RG = R2 = (float ) 0.760784; RB = R3 = (float ) 0.760784;
      break;
      case Quantity_NOC_GRAY77 :
            RR = R1 = (float ) 0.768627; RG = R2 = (float ) 0.768627; RB = R3 = (float ) 0.768627;
      break;
      case Quantity_NOC_GRAY78 :
            RR = R1 = (float ) 0.780392; RG = R2 = (float ) 0.780392; RB = R3 = (float ) 0.780392;
      break;
      case Quantity_NOC_GRAY79 :
            RR = R1 = (float ) 0.788235; RG = R2 = (float ) 0.788235; RB = R3 = (float ) 0.788235;
      break;
      case Quantity_NOC_GRAY8 :
            RR = R1 = (float ) 0.078431; RG = R2 = (float ) 0.078431; RB = R3 = (float ) 0.078431;
      break;
      case Quantity_NOC_GRAY80 :
            RR = R1 = (float ) 0.800000; RG = R2 = (float ) 0.800000; RB = R3 = (float ) 0.800000;
      break;
      case Quantity_NOC_GRAY81 :
            RR = R1 = (float ) 0.811765; RG = R2 = (float ) 0.811765; RB = R3 = (float ) 0.811765;
      break;
      case Quantity_NOC_GRAY82 :
            RR = R1 = (float ) 0.819608; RG = R2 = (float ) 0.819608; RB = R3 = (float ) 0.819608;
      break;
      case Quantity_NOC_GRAY83 :
            RR = R1 = (float ) 0.831373; RG = R2 = (float ) 0.831373; RB = R3 = (float ) 0.831373;
      break;
      case Quantity_NOC_GRAY85 :
            RR = R1 = (float ) 0.850980; RG = R2 = (float ) 0.850980; RB = R3 = (float ) 0.850980;
      break;
      case Quantity_NOC_GRAY86 :
            RR = R1 = (float ) 0.858824; RG = R2 = (float ) 0.858824; RB = R3 = (float ) 0.858824;
      break;
      case Quantity_NOC_GRAY87 :
            RR = R1 = (float ) 0.870588; RG = R2 = (float ) 0.870588; RB = R3 = (float ) 0.870588;
      break;
      case Quantity_NOC_GRAY88 :
            RR = R1 = (float ) 0.878431; RG = R2 = (float ) 0.878431; RB = R3 = (float ) 0.878431;
      break;
      case Quantity_NOC_GRAY89 :
            RR = R1 = (float ) 0.890196; RG = R2 = (float ) 0.890196; RB = R3 = (float ) 0.890196;
      break;
      case Quantity_NOC_GRAY9 :
            RR = R1 = (float ) 0.090196; RG = R2 = (float ) 0.090196; RB = R3 = (float ) 0.090196;
      break;
      case Quantity_NOC_GRAY90 :
            RR = R1 = (float ) 0.898039; RG = R2 = (float ) 0.898039; RB = R3 = (float ) 0.898039;
      break;
      case Quantity_NOC_GRAY91 :
            RR = R1 = (float ) 0.909804; RG = R2 = (float ) 0.909804; RB = R3 = (float ) 0.909804;
      break;
      case Quantity_NOC_GRAY92 :
            RR = R1 = (float ) 0.921569; RG = R2 = (float ) 0.921569; RB = R3 = (float ) 0.921569;
      break;
      case Quantity_NOC_GRAY93 :
            RR = R1 = (float ) 0.929412; RG = R2 = (float ) 0.929412; RB = R3 = (float ) 0.929412;
      break;
      case Quantity_NOC_GRAY94 :
            RR = R1 = (float ) 0.941176; RG = R2 = (float ) 0.941176; RB = R3 = (float ) 0.941176;
      break;
      case Quantity_NOC_GRAY95 :
            RR = R1 = (float ) 0.949020; RG = R2 = (float ) 0.949020; RB = R3 = (float ) 0.949020;
      break;
      case Quantity_NOC_GREEN :
            RR = R1 = 0.000000; RG = R2 = 1.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GREEN1 :
            RR = R1 = 0.000000; RG = R2 = 1.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GREEN2 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.933333; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GREEN3 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.803922; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GREEN4 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.545098; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_GREENYELLOW :
            RR = R1 = (float ) 0.678431; RG = R2 = 1.000000; RB = R3 = (float ) 0.184314;
      break;
      case Quantity_NOC_GRAY97 :
            RR = R1 = (float ) 0.968627; RG = R2 = (float ) 0.968627; RB = R3 = (float ) 0.968627;
      break;
      case Quantity_NOC_GRAY98 :
            RR = R1 = (float ) 0.980392; RG = R2 = (float ) 0.980392; RB = R3 = (float ) 0.980392;
      break;
      case Quantity_NOC_GRAY99 :
            RR = R1 = (float ) 0.988235; RG = R2 = (float ) 0.988235; RB = R3 = (float ) 0.988235;
      break;
      case Quantity_NOC_HONEYDEW :
            RR = R1 = (float ) 0.941176; RG = R2 = 1.000000; RB = R3 = (float ) 0.941176;
      break;
      case Quantity_NOC_HONEYDEW2 :
            RR = R1 = (float ) 0.878431; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.878431;
      break;
      case Quantity_NOC_HONEYDEW3 :
            RR = R1 = (float ) 0.756863; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.756863;
      break;
      case Quantity_NOC_HONEYDEW4 :
            RR = R1 = (float ) 0.513725; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.513725;
      break;
      case Quantity_NOC_HOTPINK :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.705882;
      break;
      case Quantity_NOC_HOTPINK1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.431373; RB = R3 = (float ) 0.705882;
      break;
      case Quantity_NOC_HOTPINK2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.415686; RB = R3 = (float ) 0.654902;
      break;
      case Quantity_NOC_HOTPINK3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.376471; RB = R3 = (float ) 0.564706;
      break;
      case Quantity_NOC_HOTPINK4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.227451; RB = R3 = (float ) 0.384314;
      break;
      case Quantity_NOC_INDIANRED :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.360784; RB = R3 = (float ) 0.360784;
      break;
      case Quantity_NOC_INDIANRED1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.415686; RB = R3 = (float ) 0.415686;
      break;
      case Quantity_NOC_INDIANRED2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.388235; RB = R3 = (float ) 0.388235;
      break;
      case Quantity_NOC_INDIANRED3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.333333; RB = R3 = (float ) 0.333333;
      break;
      case Quantity_NOC_INDIANRED4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.227451; RB = R3 = (float ) 0.227451;
      break;
      case Quantity_NOC_IVORY :
            RR = R1 = 1.000000; RG = R2 = 1.000000; RB = R3 = (float ) 0.941176;
      break;
      case Quantity_NOC_IVORY2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.878431;
      break;
      case Quantity_NOC_IVORY3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.756863;
      break;
      case Quantity_NOC_IVORY4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.513725;
      break;
      case Quantity_NOC_KHAKI :
            RR = R1 = (float ) 0.941176; RG = R2 = (float ) 0.901961; RB = R3 = (float ) 0.549020;
      break;
      case Quantity_NOC_KHAKI1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.964706; RB = R3 = (float ) 0.560784;
      break;
      case Quantity_NOC_KHAKI2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.901961; RB = R3 = (float ) 0.521569;
      break;
      case Quantity_NOC_KHAKI3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.776471; RB = R3 = (float ) 0.450980;
      break;
      case Quantity_NOC_KHAKI4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.525490; RB = R3 = (float ) 0.305882;
      break;
      case Quantity_NOC_LAVENDER :
            RR = R1 = (float ) 0.901961; RG = R2 = (float ) 0.901961; RB = R3 = (float ) 0.980392;
      break;
      case Quantity_NOC_LAVENDERBLUSH1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.941176; RB = R3 = (float ) 0.960784;
      break;
      case Quantity_NOC_LAVENDERBLUSH2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.878431; RB = R3 = (float ) 0.898039;
      break;
      case Quantity_NOC_LAVENDERBLUSH3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.756863; RB = R3 = (float ) 0.772549;
      break;
      case Quantity_NOC_LAVENDERBLUSH4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.513725; RB = R3 = (float ) 0.525490;
      break;
      case Quantity_NOC_LAWNGREEN :
            RR = R1 = (float ) 0.486275; RG = R2 = (float ) 0.988235; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_LEMONCHIFFON1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.980392; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_LEMONCHIFFON2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.913725; RB = R3 = (float ) 0.749020;
      break;
      case Quantity_NOC_LEMONCHIFFON3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.788235; RB = R3 = (float ) 0.647059;
      break;
      case Quantity_NOC_LEMONCHIFFON4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.537255; RB = R3 = (float ) 0.439216;
      break;
      case Quantity_NOC_LIGHTBLUE :
            RR = R1 = (float ) 0.678431; RG = R2 = (float ) 0.847059; RB = R3 = (float ) 0.901961;
      break;
      case Quantity_NOC_LIGHTBLUE1 :
            RR = R1 = (float ) 0.749020; RG = R2 = (float ) 0.937255; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_LIGHTBLUE2 :
            RR = R1 = (float ) 0.698039; RG = R2 = (float ) 0.874510; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_LIGHTBLUE3 :
            RR = R1 = (float ) 0.603922; RG = R2 = (float ) 0.752941; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_LIGHTBLUE4 :
            RR = R1 = (float ) 0.407843; RG = R2 = (float ) 0.513725; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_LIGHTCORAL :
            RR = R1 = (float ) 0.941176; RG = R2 = (float ) 0.501961; RB = R3 = (float ) 0.501961;
      break;
      case Quantity_NOC_LIGHTCYAN1 :
            RR = R1 = (float ) 0.878431; RG = R2 = 1.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_LIGHTCYAN2 :
            RR = R1 = (float ) 0.819608; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_LIGHTCYAN3 :
            RR = R1 = (float ) 0.705882; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_LIGHTCYAN4 :
            RR = R1 = (float ) 0.478431; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_LIGHTGOLDENROD :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.866667; RB = R3 = (float ) 0.509804;
      break;
      case Quantity_NOC_LIGHTGOLDENROD1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.925490; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_LIGHTGOLDENROD2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.862745; RB = R3 = (float ) 0.509804;
      break;
      case Quantity_NOC_LIGHTGOLDENROD3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.745098; RB = R3 = (float ) 0.439216;
      break;
      case Quantity_NOC_LIGHTGOLDENROD4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.505882; RB = R3 = (float ) 0.298039;
      break;
      case Quantity_NOC_LIGHTGOLDENRODYELLOW :
            RR = R1 = (float ) 0.980392; RG = R2 = (float ) 0.980392; RB = R3 = (float ) 0.823529;
      break;
      case Quantity_NOC_LIGHTGRAY :
            RR = R1 = (float ) 0.827451; RG = R2 = (float ) 0.827451; RB = R3 = (float ) 0.827451;
      break;
      case Quantity_NOC_LIGHTPINK :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.713725; RB = R3 = (float ) 0.756863;
      break;
      case Quantity_NOC_LIGHTPINK1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.682353; RB = R3 = (float ) 0.725490;
      break;
      case Quantity_NOC_LIGHTPINK2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.635294; RB = R3 = (float ) 0.678431;
      break;
      case Quantity_NOC_LIGHTPINK3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.549020; RB = R3 = (float ) 0.584314;
      break;
      case Quantity_NOC_LIGHTPINK4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.372549; RB = R3 = (float ) 0.396078;
      break;
      case Quantity_NOC_LIGHTSALMON1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.627451; RB = R3 = (float ) 0.478431;
      break;
      case Quantity_NOC_LIGHTSALMON2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.584314; RB = R3 = (float ) 0.447059;
      break;
      case Quantity_NOC_LIGHTSALMON3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.505882; RB = R3 = (float ) 0.384314;
      break;
      case Quantity_NOC_LIGHTSALMON4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.341176; RB = R3 = (float ) 0.258824;
      break;
      case Quantity_NOC_LIGHTSEAGREEN :
            RR = R1 = (float ) 0.125490; RG = R2 = (float ) 0.698039; RB = R3 = (float ) 0.666667;
      break;
      case Quantity_NOC_LIGHTSKYBLUE :
            RR = R1 = (float ) 0.529412; RG = R2 = (float ) 0.807843; RB = R3 = (float ) 0.980392;
      break;
      case Quantity_NOC_LIGHTSKYBLUE1 :
            RR = R1 = (float ) 0.690196; RG = R2 = (float ) 0.886275; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_LIGHTSKYBLUE2 :
            RR = R1 = (float ) 0.643137; RG = R2 = (float ) 0.827451; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_LIGHTSKYBLUE3 :
            RR = R1 = (float ) 0.552941; RG = R2 = (float ) 0.713725; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_LIGHTSKYBLUE4 :
            RR = R1 = (float ) 0.376471; RG = R2 = (float ) 0.482353; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_LIGHTSLATEBLUE :
            RR = R1 = (float ) 0.517647; RG = R2 = (float ) 0.439216; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_LIGHTSLATEGRAY :
            RR = R1 = (float ) 0.466667; RG = R2 = (float ) 0.533333; RB = R3 = (float ) 0.600000;
      break;
      case Quantity_NOC_LIGHTSTEELBLUE :
            RR = R1 = (float ) 0.690196; RG = R2 = (float ) 0.768627; RB = R3 = (float ) 0.870588;
      break;
      case Quantity_NOC_LIGHTSTEELBLUE1 :
            RR = R1 = (float ) 0.792157; RG = R2 = (float ) 0.882353; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_LIGHTSTEELBLUE2 :
            RR = R1 = (float ) 0.737255; RG = R2 = (float ) 0.823529; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_LIGHTSTEELBLUE3 :
            RR = R1 = (float ) 0.635294; RG = R2 = (float ) 0.709804; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_LIGHTSTEELBLUE4 :
            RR = R1 = (float ) 0.431373; RG = R2 = (float ) 0.482353; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_LIGHTYELLOW :
            RR = R1 = 1.000000; RG = R2 = 1.000000; RB = R3 = (float ) 0.878431;
      break;
      case Quantity_NOC_LIGHTYELLOW2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.819608;
      break;
      case Quantity_NOC_LIGHTYELLOW3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.705882;
      break;
      case Quantity_NOC_LIGHTYELLOW4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.478431;
      break;
      case Quantity_NOC_LIMEGREEN :
            RR = R1 = (float ) 0.196078; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.196078;
      break;
      case Quantity_NOC_LINEN :
            RR = R1 = (float ) 0.980392; RG = R2 = (float ) 0.941176; RB = R3 = (float ) 0.901961;
      break;
      case Quantity_NOC_MAGENTA1 :
            RR = R1 = 1.000000; RG = R2 = 0.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_MAGENTA2 :
            RR = R1 = (float ) 0.933333; RG = R2 = 0.000000; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_MAGENTA3 :
            RR = R1 = (float ) 0.803922; RG = R2 = 0.000000; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_MAGENTA4 :
            RR = R1 = (float ) 0.545098; RG = R2 = 0.000000; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_MAROON :
            RR = R1 = (float ) 0.690196; RG = R2 = (float ) 0.188235; RB = R3 = (float ) 0.376471;
      break;
      case Quantity_NOC_MAROON1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.203922; RB = R3 = (float ) 0.701961;
      break;
      case Quantity_NOC_MAROON2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.188235; RB = R3 = (float ) 0.654902;
      break;
      case Quantity_NOC_MAROON3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.160784; RB = R3 = (float ) 0.564706;
      break;
      case Quantity_NOC_MAROON4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.109804; RB = R3 = (float ) 0.384314;
      break;
      case Quantity_NOC_MEDIUMAQUAMARINE :
            RR = R1 = (float ) 0.400000; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.666667;
      break;
      case Quantity_NOC_MEDIUMORCHID :
            RR = R1 = (float ) 0.729412; RG = R2 = (float ) 0.333333; RB = R3 = (float ) 0.827451;
      break;
      case Quantity_NOC_MEDIUMORCHID1 :
            RR = R1 = (float ) 0.878431; RG = R2 = (float ) 0.400000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_MEDIUMORCHID2 :
            RR = R1 = (float ) 0.819608; RG = R2 = (float ) 0.372549; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_MEDIUMORCHID3 :
            RR = R1 = (float ) 0.705882; RG = R2 = (float ) 0.321569; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_MEDIUMORCHID4 :
            RR = R1 = (float ) 0.478431; RG = R2 = (float ) 0.215686; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_MEDIUMPURPLE :
            RR = R1 = (float ) 0.576471; RG = R2 = (float ) 0.439216; RB = R3 = (float ) 0.858824;
      break;
      case Quantity_NOC_MEDIUMPURPLE1 :
            RR = R1 = (float ) 0.670588; RG = R2 = (float ) 0.509804; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_MEDIUMPURPLE2 :
            RR = R1 = (float ) 0.623529; RG = R2 = (float ) 0.474510; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_MEDIUMPURPLE3 :
            RR = R1 = (float ) 0.537255; RG = R2 = (float ) 0.407843; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_MEDIUMPURPLE4 :
            RR = R1 = (float ) 0.364706; RG = R2 = (float ) 0.278431; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_MEDIUMSEAGREEN :
            RR = R1 = (float ) 0.235294; RG = R2 = (float ) 0.701961; RB = R3 = (float ) 0.443137;
      break;
      case Quantity_NOC_MEDIUMSLATEBLUE :
            RR = R1 = (float ) 0.482353; RG = R2 = (float ) 0.407843; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_MEDIUMSPRINGGREEN :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.980392; RB = R3 = (float ) 0.603922;
      break;
      case Quantity_NOC_MEDIUMTURQUOISE :
            RR = R1 = (float ) 0.282353; RG = R2 = (float ) 0.819608; RB = R3 = (float ) 0.800000;
      break;
      case Quantity_NOC_MEDIUMVIOLETRED :
            RR = R1 = (float ) 0.780392; RG = R2 = (float ) 0.082353; RB = R3 = (float ) 0.521569;
      break;
      case Quantity_NOC_MIDNIGHTBLUE :
            RR = R1 = (float ) 0.098039; RG = R2 = (float ) 0.098039; RB = R3 = (float ) 0.439216;
      break;
      case Quantity_NOC_MINTCREAM :
            RR = R1 = (float ) 0.960784; RG = R2 = 1.000000; RB = R3 = (float ) 0.980392;
      break;
      case Quantity_NOC_MISTYROSE :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.894118; RB = R3 = (float ) 0.882353;
      break;
      case Quantity_NOC_MISTYROSE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.835294; RB = R3 = (float ) 0.823529;
      break;
      case Quantity_NOC_MISTYROSE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.717647; RB = R3 = (float ) 0.709804;
      break;
      case Quantity_NOC_MISTYROSE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.490196; RB = R3 = (float ) 0.482353;
      break;
      case Quantity_NOC_MOCCASIN :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.894118; RB = R3 = (float ) 0.709804;
      break;
      case Quantity_NOC_NAVAJOWHITE1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.870588; RB = R3 = (float ) 0.678431;
      break;
      case Quantity_NOC_NAVAJOWHITE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.811765; RB = R3 = (float ) 0.631373;
      break;
      case Quantity_NOC_NAVAJOWHITE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.701961; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_NAVAJOWHITE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.474510; RB = R3 = (float ) 0.368627;
      break;
      case Quantity_NOC_NAVYBLUE :
            RR = R1 = 0.000000; RG = R2 = 0.000000; RB = R3 = (float ) 0.501961;
      break;
      case Quantity_NOC_OLDLACE :
            RR = R1 = (float ) 0.992157; RG = R2 = (float ) 0.960784; RB = R3 = (float ) 0.901961;
      break;
      case Quantity_NOC_OLIVEDRAB :
            RR = R1 = (float ) 0.419608; RG = R2 = (float ) 0.556863; RB = R3 = (float ) 0.137255;
      break;
      case Quantity_NOC_OLIVEDRAB1 :
            RR = R1 = (float ) 0.752941; RG = R2 = 1.000000; RB = R3 = (float ) 0.243137;
      break;
      case Quantity_NOC_OLIVEDRAB2 :
            RR = R1 = (float ) 0.701961; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.227451;
      break;
      case Quantity_NOC_OLIVEDRAB3 :
            RR = R1 = (float ) 0.603922; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.196078;
      break;
      case Quantity_NOC_OLIVEDRAB4 :
            RR = R1 = (float ) 0.411765; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.133333;
      break;
      case Quantity_NOC_ORANGE :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.647059; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGE1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.647059; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.603922; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.521569; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.352941; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGERED :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.270588; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGERED1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.270588; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGERED2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.250980; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGERED3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.215686; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORANGERED4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.145098; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ORCHID :
            RR = R1 = (float ) 0.854902; RG = R2 = (float ) 0.439216; RB = R3 = (float ) 0.839216;
      break;
      case Quantity_NOC_ORCHID1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.513725; RB = R3 = (float ) 0.980392;
      break;
      case Quantity_NOC_ORCHID2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.478431; RB = R3 = (float ) 0.913725;
      break;
      case Quantity_NOC_ORCHID3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.788235;
      break;
      case Quantity_NOC_ORCHID4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.278431; RB = R3 = (float ) 0.537255;
      break;
      case Quantity_NOC_PALEGOLDENROD :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.909804; RB = R3 = (float ) 0.666667;
      break;
      case Quantity_NOC_PALEGREEN :
            RR = R1 = (float ) 0.596078; RG = R2 = (float ) 0.984314; RB = R3 = (float ) 0.596078;
      break;
      case Quantity_NOC_PALEGREEN1 :
            RR = R1 = (float ) 0.603922; RG = R2 = 1.000000; RB = R3 = (float ) 0.603922;
      break;
      case Quantity_NOC_PALEGREEN2 :
            RR = R1 = (float ) 0.564706; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.564706;
      break;
      case Quantity_NOC_PALEGREEN3 :
            RR = R1 = (float ) 0.486275; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.486275;
      break;
      case Quantity_NOC_PALEGREEN4 :
            RR = R1 = (float ) 0.329412; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.329412;
      break;
      case Quantity_NOC_PALETURQUOISE :
            RR = R1 = (float ) 0.686275; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_PALETURQUOISE1 :
            RR = R1 = (float ) 0.733333; RG = R2 = 1.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_PALETURQUOISE2 :
            RR = R1 = (float ) 0.682353; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_PALETURQUOISE3 :
            RR = R1 = (float ) 0.588235; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_PALETURQUOISE4 :
            RR = R1 = (float ) 0.400000; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_PALEVIOLETRED :
            RR = R1 = (float ) 0.858824; RG = R2 = (float ) 0.439216; RB = R3 = (float ) 0.576471;
      break;
      case Quantity_NOC_PALEVIOLETRED1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.509804; RB = R3 = (float ) 0.670588;
      break;
      case Quantity_NOC_PALEVIOLETRED2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.474510; RB = R3 = (float ) 0.623529;
      break;
      case Quantity_NOC_PALEVIOLETRED3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.407843; RB = R3 = (float ) 0.537255;
      break;
      case Quantity_NOC_PALEVIOLETRED4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.278431; RB = R3 = (float ) 0.364706;
      break;
      case Quantity_NOC_PAPAYAWHIP :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.937255; RB = R3 = (float ) 0.835294;
      break;
      case Quantity_NOC_PEACHPUFF :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.854902; RB = R3 = (float ) 0.725490;
      break;
      case Quantity_NOC_PEACHPUFF2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.796078; RB = R3 = (float ) 0.678431;
      break;
      case Quantity_NOC_PEACHPUFF3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.686275; RB = R3 = (float ) 0.584314;
      break;
      case Quantity_NOC_PEACHPUFF4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.466667; RB = R3 = (float ) 0.396078;
      break;
      case Quantity_NOC_PERU :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.521569; RB = R3 = (float ) 0.247059;
      break;
      case Quantity_NOC_PINK :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.752941; RB = R3 = (float ) 0.796078;
      break;
      case Quantity_NOC_PINK1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.709804; RB = R3 = (float ) 0.772549;
      break;
      case Quantity_NOC_PINK2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.662745; RB = R3 = (float ) 0.721569;
      break;
      case Quantity_NOC_PINK3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.568627; RB = R3 = (float ) 0.619608;
      break;
      case Quantity_NOC_PINK4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.388235; RB = R3 = (float ) 0.423529;
      break;
      case Quantity_NOC_PLUM :
            RR = R1 = (float ) 0.866667; RG = R2 = (float ) 0.627451; RB = R3 = (float ) 0.866667;
      break;
      case Quantity_NOC_PLUM1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.733333; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_PLUM2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.682353; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_PLUM3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.588235; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_PLUM4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.400000; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_POWDERBLUE :
            RR = R1 = (float ) 0.690196; RG = R2 = (float ) 0.878431; RB = R3 = (float ) 0.901961;
      break;
      case Quantity_NOC_PURPLE :
            RR = R1 = (float ) 0.627451; RG = R2 = (float ) 0.125490; RB = R3 = (float ) 0.941176;
      break;
      case Quantity_NOC_PURPLE1 :
            RR = R1 = (float ) 0.607843; RG = R2 = (float ) 0.188235; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_PURPLE2 :
            RR = R1 = (float ) 0.568627; RG = R2 = (float ) 0.172549; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_PURPLE3 :
            RR = R1 = (float ) 0.490196; RG = R2 = (float ) 0.149020; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_PURPLE4 :
            RR = R1 = (float ) 0.333333; RG = R2 = (float ) 0.101961; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_RED :
            RR = R1 = 1.000000; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_RED1 :
            RR = R1 = 1.000000; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_RED2 :
            RR = R1 = (float ) 0.933333; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_RED3 :
            RR = R1 = (float ) 0.803922; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_RED4 :
            RR = R1 = (float ) 0.545098; RG = R2 = 0.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_ROSYBROWN :
            RR = R1 = (float ) 0.737255; RG = R2 = (float ) 0.560784; RB = R3 = (float ) 0.560784;
      break;
      case Quantity_NOC_ROSYBROWN1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.756863; RB = R3 = (float ) 0.756863;
      break;
      case Quantity_NOC_ROSYBROWN2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.705882; RB = R3 = (float ) 0.705882;
      break;
      case Quantity_NOC_ROSYBROWN3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.607843; RB = R3 = (float ) 0.607843;
      break;
      case Quantity_NOC_ROSYBROWN4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.411765;
      break;
      case Quantity_NOC_ROYALBLUE :
            RR = R1 = (float ) 0.254902; RG = R2 = (float ) 0.411765; RB = R3 = (float ) 0.882353;
      break;
      case Quantity_NOC_ROYALBLUE1 :
            RR = R1 = (float ) 0.282353; RG = R2 = (float ) 0.462745; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_ROYALBLUE2 :
            RR = R1 = (float ) 0.262745; RG = R2 = (float ) 0.431373; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_ROYALBLUE3 :
            RR = R1 = (float ) 0.227451; RG = R2 = (float ) 0.372549; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_ROYALBLUE4 :
            RR = R1 = (float ) 0.152941; RG = R2 = (float ) 0.250980; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_SADDLEBROWN :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.270588; RB = R3 = (float ) 0.074510;
      break;
      case Quantity_NOC_SALMON :
            RR = R1 = (float ) 0.980392; RG = R2 = (float ) 0.501961; RB = R3 = (float ) 0.447059;
      break;
      case Quantity_NOC_SALMON1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.549020; RB = R3 = (float ) 0.411765;
      break;
      case Quantity_NOC_SALMON2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.509804; RB = R3 = (float ) 0.384314;
      break;
      case Quantity_NOC_SALMON3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.439216; RB = R3 = (float ) 0.329412;
      break;
      case Quantity_NOC_SALMON4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.298039; RB = R3 = (float ) 0.223529;
      break;
      case Quantity_NOC_SANDYBROWN :
            RR = R1 = (float ) 0.956863; RG = R2 = (float ) 0.643137; RB = R3 = (float ) 0.376471;
      break;
      case Quantity_NOC_SEAGREEN :
            RR = R1 = (float ) 0.180392; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.341176;
      break;
      case Quantity_NOC_SEAGREEN1 :
            RR = R1 = (float ) 0.329412; RG = R2 = 1.000000; RB = R3 = (float ) 0.623529;
      break;
      case Quantity_NOC_SEAGREEN2 :
            RR = R1 = (float ) 0.305882; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.580392;
      break;
      case Quantity_NOC_SEAGREEN3 :
            RR = R1 = (float ) 0.262745; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.501961;
      break;
      case Quantity_NOC_SEAGREEN4 :
            RR = R1 = (float ) 0.180392; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.341176;
      break;
      case Quantity_NOC_SEASHELL :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.960784; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_SEASHELL2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.898039; RB = R3 = (float ) 0.870588;
      break;
      case Quantity_NOC_SEASHELL3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.772549; RB = R3 = (float ) 0.749020;
      break;
      case Quantity_NOC_SEASHELL4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.525490; RB = R3 = (float ) 0.509804;
      break;
      case Quantity_NOC_BEET :
            RR = R1 = (float ) 0.556863; RG = R2 = (float ) 0.219608; RB = R3 = (float ) 0.556863;
      break;
      case Quantity_NOC_TEAL :
            RR = R1 = (float ) 0.219608; RG = R2 = (float ) 0.556863; RB = R3 = (float ) 0.556863;
      break;
      case Quantity_NOC_SIENNA :
            RR = R1 = (float ) 0.627451; RG = R2 = (float ) 0.321569; RB = R3 = (float ) 0.176471;
      break;
      case Quantity_NOC_SIENNA1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.509804; RB = R3 = (float ) 0.278431;
      break;
      case Quantity_NOC_SIENNA2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.474510; RB = R3 = (float ) 0.258824;
      break;
      case Quantity_NOC_SIENNA3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.407843; RB = R3 = (float ) 0.223529;
      break;
      case Quantity_NOC_SIENNA4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.278431; RB = R3 = (float ) 0.149020;
      break;
      case Quantity_NOC_SKYBLUE :
            RR = R1 = (float ) 0.529412; RG = R2 = (float ) 0.807843; RB = R3 = (float ) 0.921569;
      break;
      case Quantity_NOC_SKYBLUE1 :
            RR = R1 = (float ) 0.529412; RG = R2 = (float ) 0.807843; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_SKYBLUE2 :
            RR = R1 = (float ) 0.494118; RG = R2 = (float ) 0.752941; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_SKYBLUE3 :
            RR = R1 = (float ) 0.423529; RG = R2 = (float ) 0.650980; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_SKYBLUE4 :
            RR = R1 = (float ) 0.290196; RG = R2 = (float ) 0.439216; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_SLATEBLUE :
            RR = R1 = (float ) 0.415686; RG = R2 = (float ) 0.352941; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_SLATEBLUE1 :
            RR = R1 = (float ) 0.513725; RG = R2 = (float ) 0.435294; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_SLATEBLUE2 :
            RR = R1 = (float ) 0.478431; RG = R2 = (float ) 0.403922; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_SLATEBLUE3 :
            RR = R1 = (float ) 0.411765; RG = R2 = (float ) 0.349020; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_SLATEBLUE4 :
            RR = R1 = (float ) 0.278431; RG = R2 = (float ) 0.235294; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_SLATEGRAY1 :
            RR = R1 = (float ) 0.776471; RG = R2 = (float ) 0.886275; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_SLATEGRAY2 :
            RR = R1 = (float ) 0.725490; RG = R2 = (float ) 0.827451; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_SLATEGRAY3 :
            RR = R1 = (float ) 0.623529; RG = R2 = (float ) 0.713725; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_SLATEGRAY4 :
            RR = R1 = (float ) 0.423529; RG = R2 = (float ) 0.482353; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_SLATEGRAY :
            RR = R1 = (float ) 0.439216; RG = R2 = (float ) 0.501961; RB = R3 = (float ) 0.564706;
      break;
      case Quantity_NOC_SNOW :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.980392; RB = R3 = (float ) 0.980392;
      break;
      case Quantity_NOC_SNOW2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.913725; RB = R3 = (float ) 0.913725;
      break;
      case Quantity_NOC_SNOW3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.788235; RB = R3 = (float ) 0.788235;
      break;
      case Quantity_NOC_SNOW4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.537255; RB = R3 = (float ) 0.537255;
      break;
      case Quantity_NOC_SPRINGGREEN :
            RR = R1 = 0.000000; RG = R2 = 1.000000; RB = R3 = (float ) 0.498039;
      break;
      case Quantity_NOC_SPRINGGREEN2 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.933333; RB = R3 = (float ) 0.462745;
      break;
      case Quantity_NOC_SPRINGGREEN3 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.400000;
      break;
      case Quantity_NOC_SPRINGGREEN4 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.545098; RB = R3 = (float ) 0.270588;
      break;
      case Quantity_NOC_STEELBLUE :
            RR = R1 = (float ) 0.274510; RG = R2 = (float ) 0.509804; RB = R3 = (float ) 0.705882;
      break;
      case Quantity_NOC_STEELBLUE1 :
            RR = R1 = (float ) 0.388235; RG = R2 = (float ) 0.721569; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_STEELBLUE2 :
            RR = R1 = (float ) 0.360784; RG = R2 = (float ) 0.674510; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_STEELBLUE3 :
            RR = R1 = (float ) 0.309804; RG = R2 = (float ) 0.580392; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_STEELBLUE4 :
            RR = R1 = (float ) 0.211765; RG = R2 = (float ) 0.392157; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_TAN :
            RR = R1 = (float ) 0.823529; RG = R2 = (float ) 0.705882; RB = R3 = (float ) 0.549020;
      break;
      case Quantity_NOC_TAN1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.647059; RB = R3 = (float ) 0.309804;
      break;
      case Quantity_NOC_TAN2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.603922; RB = R3 = (float ) 0.286275;
      break;
      case Quantity_NOC_TAN3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.521569; RB = R3 = (float ) 0.247059;
      break;
      case Quantity_NOC_TAN4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.352941; RB = R3 = (float ) 0.168627;
      break;
      case Quantity_NOC_THISTLE :
            RR = R1 = (float ) 0.847059; RG = R2 = (float ) 0.749020; RB = R3 = (float ) 0.847059;
      break;
      case Quantity_NOC_THISTLE1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.882353; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_THISTLE2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.823529; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_THISTLE3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.709804; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_THISTLE4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.482353; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_TOMATO :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.388235; RB = R3 = (float ) 0.278431;
      break;
      case Quantity_NOC_TOMATO1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.388235; RB = R3 = (float ) 0.278431;
      break;
      case Quantity_NOC_TOMATO2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.360784; RB = R3 = (float ) 0.258824;
      break;
      case Quantity_NOC_TOMATO3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.309804; RB = R3 = (float ) 0.223529;
      break;
      case Quantity_NOC_TOMATO4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.211765; RB = R3 = (float ) 0.149020;
      break;
      case Quantity_NOC_TURQUOISE :
            RR = R1 = (float ) 0.250980; RG = R2 = (float ) 0.878431; RB = R3 = (float ) 0.815686;
      break;
      case Quantity_NOC_TURQUOISE1 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.960784; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_TURQUOISE2 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.898039; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_TURQUOISE3 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.772549; RB = R3 = (float ) 0.803922;
      break;
      case Quantity_NOC_TURQUOISE4 :
            RR = R1 = 0.000000; RG = R2 = (float ) 0.525490; RB = R3 = (float ) 0.545098;
      break;
      case Quantity_NOC_VIOLET :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.509804; RB = R3 = (float ) 0.933333;
      break;
      case Quantity_NOC_VIOLETRED :
            RR = R1 = (float ) 0.815686; RG = R2 = (float ) 0.125490; RB = R3 = (float ) 0.564706;
      break;
      case Quantity_NOC_VIOLETRED1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.243137; RB = R3 = (float ) 0.588235;
      break;
      case Quantity_NOC_VIOLETRED2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.227451; RB = R3 = (float ) 0.549020;
      break;
      case Quantity_NOC_VIOLETRED3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.196078; RB = R3 = (float ) 0.470588;
      break;
      case Quantity_NOC_VIOLETRED4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.133333; RB = R3 = (float ) 0.321569;
      break;
      case Quantity_NOC_WHEAT :
            RR = R1 = (float ) 0.960784; RG = R2 = (float ) 0.870588; RB = R3 = (float ) 0.701961;
      break;
      case Quantity_NOC_WHEAT1 :
            RR = R1 = 1.000000; RG = R2 = (float ) 0.905882; RB = R3 = (float ) 0.729412;
      break;
      case Quantity_NOC_WHEAT2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.847059; RB = R3 = (float ) 0.682353;
      break;
      case Quantity_NOC_WHEAT3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.729412; RB = R3 = (float ) 0.588235;
      break;
      case Quantity_NOC_WHEAT4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.494118; RB = R3 = (float ) 0.400000;
      break;
      case Quantity_NOC_WHITE :
            RR = R1 = 1.000000; RG = R2 = 1.000000; RB = R3 = 1.000000;
      break;
      case Quantity_NOC_WHITESMOKE :
            RR = R1 = (float ) 0.960784; RG = R2 = (float ) 0.960784; RB = R3 = (float ) 0.960784;
      break;
      case Quantity_NOC_YELLOW :
            RR = R1 = 1.000000; RG = R2 = 1.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_YELLOW1 :
            RR = R1 = 1.000000; RG = R2 = 1.000000; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_YELLOW2 :
            RR = R1 = (float ) 0.933333; RG = R2 = (float ) 0.933333; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_YELLOW3 :
            RR = R1 = (float ) 0.803922; RG = R2 = (float ) 0.803922; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_YELLOW4 :
            RR = R1 = (float ) 0.545098; RG = R2 = (float ) 0.545098; RB = R3 = 0.000000;
      break;
      case Quantity_NOC_YELLOWGREEN :
            RR = R1 = (float ) 0.603922; RG = R2 = (float ) 0.803922; RB = R3 = (float ) 0.196078;
      break;
      default :
            Standard_OutOfRange::Raise ("Bad name");
      break;
}
      if (AType == Quantity_TOC_HLS)
          Quantity_Color::rgbhls (RR, RG, RB, R1, R2, R3);
}


Generated by  Doxygen 1.6.0   Back to index