[cairo-bugs] [Bug 50257] New: Please add a new operator to add min/max HSL Luminosity

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 22 21:04:06 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=50257

             Bug #: 50257
           Summary: Please add a new operator to add min/max HSL
                    Luminosity
    Classification: Unclassified
           Product: cairo
           Version: 1.12.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: mozbugbox at yahoo.com.au
         QAContact: cairo-bugs at cairographics.org


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list