Changeset 8837
- Timestamp:
- 08/04/12 19:28:27 (10 months ago)
- File:
-
- 1 edited
-
ImageMagick/trunk/MagickCore/gem.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/MagickCore/gem.c
r8836 r8837 437 437 % 438 438 */ 439 440 static inline double MagickMax(const double x,const double y) 441 { 442 if (x > y) 443 return(x); 444 return(y); 445 } 446 447 static inline double MagickMin(const double x,const double y) 448 { 449 if (x < y) 450 return(x); 451 return(y); 452 } 453 439 454 MagickPrivate void ConvertRGBToHCL(const double red,const double green, 440 455 const double blue,double *hue,double *chroma,double *luma) … … 580 595 % 581 596 */ 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 597 597 MagickExport void ConvertRGBToHSL(const double red,const double green, 598 598 const double blue,double *hue,double *saturation,double *lightness)
Note: See TracChangeset
for help on using the changeset viewer.
