views:

22

answers:

0

Hello SO,

I have a video player written in wxpython and am overlaying the current FPS onto the video.

My text is black, so if the video is sufficiently dark the FPS counter is not visible.

I am looking for a way to draw text with an outline so it will stand out no matter what the video is displaying. E.g. I want black text with a white outline.

I am currently drawing text directly onto the DC, as so:

dc.DrawBitmap(self.img, 0, 0)

dc.DrawText(str(self.frames), 0, 0)

Thanks for any help!