Parameters
- thumbnailViewer
- The thumbnail viewer.
- thumbnail
- The thumbnail.
- fontFamily
- The font family.
- fontSize
- The font size.
- captionText
- The caption text.
- dc
- The drawing context, where thumbnail caption must be renders.
- rect
- The rectangle of thumbnail background.