5bd093b3cb
- Add a limiter to let it return early when the result is predictable. The first caller checks only whether the returned value is above a threshold. Once the value goes above that threshold, its precise value will not matter, so stop counting and return early. - Add comments explaining some of the logic. |
||
---|---|---|
.. | ||
2dsline.cpp | ||
bitblt.cpp | ||
bitmap.cpp | ||
bitmap.h | ||
box.cpp | ||
canvas.cpp | ||
circle.cpp | ||
clip.h | ||
disc.cpp | ||
gpixel.cpp | ||
line.cpp | ||
pixel.cpp | ||
rect.cpp | ||
rle.cpp | ||
scalec.cpp |