Ejemplo n.º 1
0
        public static ColorSpaceCalRGB Create(bool indirect, double[] whitePoint, double[] blackPoint)
        {
            ColorSpaceCalRGB lrgb1 = ColorSpaceCalRGB.Create(indirect, whitePoint);

            lrgb1.BlackPoint = DoubleArray.op_Implicit(blackPoint);
            return(lrgb1);
        }
Ejemplo n.º 2
0
 public static ColorSpaceCalRGB Create(bool indirect)
 {
     double[] numArray1 = new double[3] {
         1f, 1f, 1f
     };
     return(ColorSpaceCalRGB.Create(indirect, numArray1));
 }
Ejemplo n.º 3
0
        public static ColorSpaceCalRGB Create(bool indirect, double[] whitePoint)
        {
            PDFArray array1 = Library.CreateArray(2);

            array1[0] = PDF.N("CalRGB");
            PDFDict dict1 = Library.CreateDict();

            array1[1]           = dict1;
            dict1["WhitePoint"] = PDF.O(whitePoint);
            ColorSpaceCalRGB lrgb1 = (Resources.Get(array1, typeof(ColorSpaceCalRGB)) as ColorSpaceCalRGB);

            if (indirect)
            {
                Library.CreateIndirect(array1);
            }
            return(lrgb1);
        }
Ejemplo n.º 4
0
 public static ColorSpaceCalRGB Create()
 {
     return(ColorSpaceCalRGB.Create(false));
 }