What's the Image& parameter in drawCallOutBoxBackground()?

I have to write a LookAndFeel to customize the painting of a CallOutBox, and I couldn’t find any documentation that explains what’s the puropose of the “Image& cachedImage” parameter in drawCallOutBoxBackground().

Looking at how it is used in the code still leaves me puzzled, because it seems somehow connected with the shadow but I couldn’t really figure how.

Can anyone shed some light?

It seems to me that it’s just a cache for the drop shadow, to avoid creating it on every repaint.