# paintOverChildren() and setBufferedToImage()

**URL:** <https://forum.juce.com/t/paintoverchildren-and-setbufferedtoimage/10510>\
**Category:** General JUCE discussion\
**Created:** [May 29, 2013, 10:42pm UTC](https://forum.juce.com/t/paintoverchildren-and-setbufferedtoimage/10510 "2013-05-29T22:42:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![widdershins](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/widdershins/32/20_2.png) [@widdershins](https://forum.juce.com/u/widdershins)\
**Post date:** [May 29, 2013, 10:42pm UTC](https://forum.juce.com/t/paintoverchildren-and-setbufferedtoimage/10510/1 "2013-05-29T22:42:52Z")

</div>

Rather silly question, but I can’t quite figure out the code in Component :oops: . I have a component which is mostly transparent, but which paints some stuff over a child at 60fps. The child is an AudioThumbnail, which has setBufferedToImage() set to true. But will calling paintOverChildren() on the parent call repaint() on the thumbnail, obviating the performance benefit of setBufferedToImage()?
