Download MetaTrader 5
To add comments, please log in or register
Have you discovered something really important? Write an article and receive 200 USD!
Automated-Trading
Admin
98900
Automated-Trading 2012.05.14 16:07 

IncColors:

This class contains functions for working with colors. It has color conversion and other useful functions.

List of functions:

  • void RGBtoHSV(double aR,double aG,double aB,double & oH,double & oS,double & oV)
  • void RGBtoXYZ(double aR,double aG,double aB,double & oX,double & oY,double & oZ)
  • void XYZtoRGB(double aX,double aY,double aZ,double & oR,double & oG,double & oB)
  • void XYZtoYxy(double aX,double aY,double aZ,double & oY,double & ox,double & oy)
  • void XYZtoYxy(double aX,double aY,double aZ,double & oY,double & ox,double & oy)
  • void XYZtoHunterLab(double aX,double aY,double aZ,double & oL,double & oa,double & ob)
  • void HunterLabToXYZ(double aL,double aa,double ab,double & oX,double & oY,double & oZ)
  • void XYZtoCIELab(double aX,double aY,double aZ,double & oCIEL,double & oCIEa,double & oCIEb)
  • void CIELabToXYZ(double aCIEL,double aCIEa,double aCIEb,double & oX,double & oY,double & oZ)
  • void CIELabToCIELCH(double aCIEL,double aCIEa,double aCIEb,double & oCIEL,double & oCIEC,double & oCIEH)
  • void CIELCHtoCIELab(double aCIEL,double aCIEC,double aCIEH,double & oCIEL,double & oCIEa,double & oCIEb)
  • void XYZtoCIELuv(double aX,double aY,double aZ,double & oCIEL,double & oCIEu,double & oCIEv)
  • void CIELuvToXYZ(double aCIEL,double aCIEu,double aCIEv,double & oX,double & oY,double & oZ)
  • void RGBtoHSL(double aR,double aG,double aB,double & oH,double & oS,double & oL)
  • void HSLtoRGB(double aH,double aS,double aL,double & oR,double & oG,double & oB)
  • void RGBtoHSV(double aR,double aG,double aB,double & oH,double & oS,double & oV)
  • void HSVtoRGB(double aH,double aS,double aV,double & oR,double & oG,double & oB)
  • void RGBtoCMY(double aR,double aG,double aB,double & oC,double & oM,double & oY)
  • void CMYtoRGB(double aC,double aM,double aY,double & oR,double & oG,double & oB)
  • void CMYtoCMYK(double aC,double aM,double aY,double & oC,double & oM,double & oY,double & oK)
  • void CMYKtoCMY(double aC,double aM,double aY,double aK,double & oC,double & oM,double & oY)
  • void ColorToRGB(color aColor,double & aR,double & aG,double & aB)
  • double GetR(color aColor)
  • double GetG(color aColor)
  • double GetB(color aColor)
  • color RGBToColor(double aR,double aG,double aB)
  • color MixColors(color aCol1,color aCol2,double aK) // aK - от 0 до 1
  • void Gradient(color & aColors[],color & aOut[],int aOutCount,bool aCycle=false)
  • void RGBtoXYZsimple(double aR,double aG,double aB,double & oX,double & oY,double & oZ)
  • void XYZtoRGBsimple(double aX,double aY,double aZ,double & oR,double & oG,double & oB)
  • color Negative(color aColor)
  • color StandardColor(color aColor,int & aIndex)
  • double RGBtoGray(double aR,double aG,double aB)
  • double RGBtoGraySimple(double aR,double aG,double aB)

Author: Дмитрий

/
To add comments, please log in or register