Port of the RoundTransparentWindow example at ADC.