Bug 50257

Summary: Please add a new operator to add min/max HSL Luminosity
Product: cairo Reporter: Bug Fly <mozbugbox>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: enhancement    
Priority: medium    
Version: 1.12.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bug Fly 2012-05-22 21:04:06 UTC
I'd like to see operators in HSL space that force a minimal or maximal luminosity similar to the CAIRO_OPERATOR_DARKEN and CAIRO_OPERATOR_LIGHTEN:

f(cA,cB) = set_lum(cB, max(lum(cA), lum(cA) )
f(cA,cB) = set_lum(cB, min(lum(cA), lum(cA) )


This can be used to provide a more accurate dark background to a rendering than what CAIRO_OPERATOR_DARKEN can provide.
Comment 1 GitLab Migration User 2018-08-25 13:55:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/271.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.