diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-01-22 13:27:53 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-01-26 19:49:06 +1030 |
commit | e93d175aac6805692d660f1f6444e6b21492e2a7 (patch) | |
tree | bc6216ef593280b7b8c3b93af6027e727b8a9555 /test | |
parent | 0151a67e33f7c96645ae581b31861780b531a7e1 (diff) | |
download | cairo-e93d175aac6805692d660f1f6444e6b21492e2a7.tar.gz |
Add new cairo_user_scaled_font_get_foreground_source() function
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.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions