summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-24 14:18:53 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-25 15:35:31 +0100
commitca01017f32ceba5f734c3b3465afa3a59de8ae12 (patch)
treeb94c3acc73345ebeccc1dbbd729808dbdbb2246a /Userland/Libraries/LibWeb
parent7e701f6256432f11834413275d8d2dd78fa9320b (diff)
downloadserenity-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