aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/button_array.cpp
diff options
context:
space:
mode:
authorBenjamin Dahse2017-06-14 15:56:58 +0200
committerBenjamin Dahse2017-06-14 15:56:58 +0200
commit075997c5634ff71bdb7d8640f3edea5f77482da0 (patch)
treeefedcdf89335b85a1648cd00423fb49ba045ec03 /scene/gui/button_array.cpp
parentffe61e63d145b6e12a9f259259bb097777e7f1ae (diff)
downloadgodot-075997c5634ff71bdb7d8640f3edea5f77482da0.tar.gz
godot-075997c5634ff71bdb7d8640f3edea5f77482da0.tar.zst
godot-075997c5634ff71bdb7d8640f3edea5f77482da0.zip
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 'scene/gui/button_array.cpp')
0 files changed, 0 insertions, 0 deletions