diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-12-17 11:03:03 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-01-02 18:32:13 +0100 |
commit | 38dce5d14473e1106c8ea7a67b9be0f400d442a2 (patch) | |
tree | 064e478430315ba36b42f3a103bb051cb18187c1 /BUGS | |
parent | 7b188f852ef502306c8bd0a72ee3857b5f29e724 (diff) |
pattern: Factor out pattern rescaling
The same code was duplicated (incorrectly and with some minor
differences) in pattern, image, xlib and xcb.
_cairo_gradient_pattern_max_val() abstracts that code in a function
that can be used whenever a gradients extremes need to be rescaled to
fit within a given range.
Fixes huge-linear, huge-radial.
Fixes part of https://bugs.freedesktop.org/show_bug.cgi?id=32215
Diffstat (limited to 'BUGS')
0 files changed, 0 insertions, 0 deletions