diff options
author | Benjamin Dahse <ronoueb@gmail.com> | 2017-06-14 15:56:58 +0200 |
---|---|---|
committer | Benjamin Dahse <ronoueb@gmail.com> | 2017-06-14 15:56:58 +0200 |
commit | 075997c5634ff71bdb7d8640f3edea5f77482da0 (patch) | |
tree | efedcdf89335b85a1648cd00423fb49ba045ec03 /editor/icons/icon_scroll_container.png | |
parent | ffe61e63d145b6e12a9f259259bb097777e7f1ae (diff) |
Rewrite Image::blit_rect to use the following algorithm:
1. Let r1 be the source rectangle clipped against the entire source image rectangle.
2. Let r2 be r1 offset by p_dest, clipped against the entire destination image rectangle.
3. Copy pixels from r1 to r2.
Diffstat (limited to 'editor/icons/icon_scroll_container.png')
0 files changed, 0 insertions, 0 deletions