Changeset 8837


Ignore:
Timestamp:
08/04/12 19:28:27 (10 months ago)
Author:
cristy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/MagickCore/gem.c

    r8836 r8837  
    437437% 
    438438*/ 
     439 
     440static inline double MagickMax(const double x,const double y) 
     441{ 
     442  if (x > y) 
     443    return(x); 
     444  return(y); 
     445} 
     446 
     447static inline double MagickMin(const double x,const double y) 
     448{ 
     449  if (x < y) 
     450    return(x); 
     451  return(y); 
     452} 
     453 
    439454MagickPrivate void ConvertRGBToHCL(const double red,const double green, 
    440455  const double blue,double *hue,double *chroma,double *luma) 
     
    580595% 
    581596*/ 
    582  
    583 static inline double MagickMax(const double x,const double y) 
    584 { 
    585   if (x > y) 
    586     return(x); 
    587   return(y); 
    588 } 
    589  
    590 static inline double MagickMin(const double x,const double y) 
    591 { 
    592   if (x < y) 
    593     return(x); 
    594   return(y); 
    595 } 
    596  
    597597MagickExport void ConvertRGBToHSL(const double red,const double green, 
    598598  const double blue,double *hue,double *saturation,double *lightness) 
Note: See TracChangeset for help on using the changeset viewer.