turbobadger
turbobadger copied to clipboard
Dawing custom shapes
trafficstars
Hi I am new to turbo badger. I am really impressed with the quality of the library so far. It might be a silly question but I can see only TBRect and PaintRect to draw rectangles is there a way of dawing a custom shape for example a circle?
Take a look at the shape-rasterizer-3 branch and the fonty skin, it might be of interest to you.
You can always render-to-texture for stuff like this. I'm doing this e.g. in OnProcess and just render the resulting image in OnPaint for my custom widgets