diff options
author | MacDue <macdue@dueutil.tech> | 2022-12-24 14:18:53 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-25 15:35:31 +0100 |
commit | ca01017f32ceba5f734c3b3465afa3a59de8ae12 (patch) | |
tree | b94c3acc73345ebeccc1dbbd729808dbdbb2246a /Userland/Libraries/LibWeb | |
parent | 7e701f6256432f11834413275d8d2dd78fa9320b (diff) | |
download | serenity-ca01017f32ceba5f734c3b3465afa3a59de8ae12.zip |
LibGfx: Add Painter::fill_pixels()
This function fills a region of pixels with the result of a callback
function. This is an alternative to a for loop that repeatedly calls
Painter::set_pixel(), which can get very expensive due to the clipping
checks set_pixel() does each call.
Diffstat (limited to 'Userland/Libraries/LibWeb')
0 files changed, 0 insertions, 0 deletions