Exemple #1
0
        public ColorCIELab ToLab(ColorCIEXYZ wp)
        {
            ColorCIELab lab;
            NativeMethods.CmsXYZ2Lab (ref wp, out lab, ref this);

            return lab;
        }
		public ColorCIEXYZ ToXYZ (ColorCIEXYZ wp)
		{
			ColorCIEXYZ xyz;
			NativeMethods.CmsLab2XYZ (ref wp, out xyz, ref this);

			return xyz;
		}
        public ColorCIELab ToLab(ColorCIEXYZ wp)
        {
            ColorCIELab lab;

            cmsXYZ2Lab(ref wp, out lab, ref this);

            return(lab);
        }
        public ColorCIEXYZ ToXYZ(ColorCIEXYZ wp)
        {
            ColorCIEXYZ xyz;

            cmsLab2XYZ(ref wp, out xyz, ref this);

            return(xyz);
        }
Exemple #5
0
        public ColorCIELab ToLab(ColorCIEXYZ wp)
        {
            ColorCIELab lab;

            NativeMethods.CmsXYZ2Lab(ref wp, out lab, ref this);

            return(lab);
        }
Exemple #6
0
        public ColorCIEXYZ ToXYZ(ColorCIEXYZ wp)
        {
            ColorCIEXYZ xyz;

            NativeMethods.CmsLab2XYZ(ref wp, out xyz, ref this);

            return(xyz);
        }
Exemple #7
0
 public FullColorAdjustment(Pixbuf input, Cms.Profile input_profile,
                            double exposure, double brightness, double contrast,
                            double hue, double saturation,
                            Cms.ColorCIEXYZ src_wp, Cms.ColorCIEXYZ dest_wp)
     : base(input, input_profile)
 {
     this.exposure   = exposure;
     this.brightness = brightness;
     this.contrast   = contrast;
     this.hue        = hue;
     this.saturation = saturation;
     this.src_wp     = src_wp;
     this.dest_wp    = dest_wp;
 }
		public FullColorAdjustment (Pixbuf input, Cms.Profile input_profile, 
				double exposure, double brightness, double contrast, 
				double hue, double saturation, 
				Cms.ColorCIEXYZ src_wp, Cms.ColorCIEXYZ dest_wp) 
			: base (input, input_profile)
		{
			this.exposure = exposure;
			this.brightness = brightness;
			this.contrast = contrast;
			this.hue = hue;
			this.saturation = saturation;
			this.src_wp = src_wp;
			this.dest_wp = dest_wp;
		}
		extern static bool cmsTakeMediaWhitePoint (out ColorCIEXYZ wp, HandleRef handle);
		ColorCIEXYZTriple (ColorCIEXYZ red, ColorCIEXYZ green, ColorCIEXYZ blue)
		{
			Red = red;
			Blue = blue;
			Green = green;
		}
		public ColorCIEXYZ ToXYZ (ColorCIEXYZ wp)
		{
			ColorCIEXYZ xyz;
			cmsLab2XYZ (ref wp, out xyz, ref this);

			return xyz;
		}
 public static extern void CmsXYZ2Lab(ref ColorCIEXYZ wp, out ColorCIELab lab, ref ColorCIEXYZ xyz);
 public static extern void CmsxyY2XYZ(out ColorCIEXYZ dest, ref ColorCIExyY src);
Exemple #14
0
 public static extern bool CmsTakeMediaWhitePoint(out ColorCIEXYZ wp, HandleRef handle);
		static extern void cmsxyY2XYZ (out ColorCIEXYZ dest, ref ColorCIExyY src);
Exemple #16
0
 public ColorCIELab ToLab(ColorCIEXYZ wp)
 {
     return(this.ToXYZ().ToLab(wp));
 }
		extern static bool cmsTakeMediaBlackPoint (out ColorCIEXYZ black, HandleRef handle);
 public extern static bool CmsTakeMediaBlackPoint(out ColorCIEXYZ black, HandleRef handle);
		public ColorCIELab ToLab (ColorCIEXYZ wp)
		{
			return this.ToXYZ ().ToLab (wp);
		}
Exemple #20
0
 public static extern bool CmsTakeMediaBlackPoint(out ColorCIEXYZ black, HandleRef handle);
Exemple #21
0
 ColorCIEXYZTriple(ColorCIEXYZ red, ColorCIEXYZ green, ColorCIEXYZ blue)
 {
     Red   = red;
     Blue  = blue;
     Green = green;
 }
		static extern void cmsXYZ2xyY (out ColorCIExyY dest, ref ColorCIEXYZ source);
 public extern static bool CmsTakeMediaWhitePoint(out ColorCIEXYZ wp, HandleRef handle);
		static extern void cmsXYZ2Lab (ref ColorCIEXYZ wp, out ColorCIELab lab, ref ColorCIEXYZ xyz);
 public static extern void CmsXYZ2xyY(out ColorCIExyY dest, ref ColorCIEXYZ source);
		public ColorCIELab ToLab (ColorCIEXYZ wp)
		{
			ColorCIELab lab;
			cmsXYZ2Lab (ref wp, out lab, ref this);

			return lab;
		}
 public static extern void CmsLab2XYZ(ref ColorCIEXYZ wp, out ColorCIEXYZ xyz, ref ColorCIELab lab);
		static extern void cmsLab2XYZ (ref ColorCIEXYZ wp, out ColorCIEXYZ xyz, ref ColorCIELab lab);