mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:47:36 +00:00
![]() Consider draw_scaled_bitmap({0, 0, 10, 10}, source, {0, 0, 5, 5}). Imagine wanting to split that up into two calls, like e.g. the compositor when redrawing the background with damage rects. You really want to be able to say draw_scaled_bitmap({0, 0, 5, 10}, source, {0, 0, 2.5, 5}) but up to now you couldn't. Now you can. This makes painting very low-res images (such as tile.png) in mode "stretch" work much better. |
||
---|---|---|
.. | ||
CatDog | ||
Cube | ||
Eyes | ||
Fire | ||
LibGfxDemo | ||
LibGfxScaleDemo | ||
Mouse | ||
Screensaver | ||
WidgetGallery | ||
CMakeLists.txt |