mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-03 12:30:26 +01:00
The previous approach using foreground colors in user fonts does not work for gradients since the foreground color is not available at the time of recording. Add a new function cairo_user_scaled_font_get_foreground_source() that can be called by the color render function to retrieve the foreground pattern. Calling this function signals to cairo that the foreground color is used. In this case cairo will call the render function whenever the foreground color has changed. |
||
|---|---|---|
| .. | ||
| public | ||
| tutorial | ||
| .gitignore | ||